1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Update to 0.4.17.

Switch to github.
Add tests.

PR:		ports/173855
Submitted by:	Kubilay Kocak <koobs.freebsd@gmail.com> (maintainer)
Feature safe:	yes
This commit is contained in:
Wesley Shields 2012-11-24 19:17:23 +00:00
parent 1be6298def
commit 62b351d130
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307723
3 changed files with 27 additions and 7 deletions

View File

@ -6,9 +6,8 @@
#
PORTNAME= rauth
PORTVERSION= 0.4.15
PORTVERSION= 0.4.17
CATEGORIES= devel www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs.freebsd@gmail.com
@ -18,8 +17,29 @@ LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0.12.0:${PORTSDIR}/www/py-requests
USE_GITHUB= yes
GH_ACCOUNT= litl
GH_COMMIT= 219d35f
OPTIONS_DEFINE= TESTS
TESTS_DESC= Install tools for unit testing
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTESTS}
BUILD_DEPENDS:= ${TEST_DEPENDS}
.endif
# Python3 ready
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
TEST_DEPENDS:= ${RUN_DEPENDS} \
nosetests:${PORTSDIR}/devel/py-nose \
${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
regression-test: build
@cd ${WRKSRC} && nosetests
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (rauth-0.4.15.tar.gz) = cf33e9def3754a61cb7f0d97ba7c19f2194f581f2bf0ad91c84d37dd9e7aecdd
SIZE (rauth-0.4.15.tar.gz) = 13622
SHA256 (rauth-0.4.17.tar.gz) = c3fcfa6e9f0366074806dfc6346511ec664bde5a30a85108c037ecfe70bdded6
SIZE (rauth-0.4.17.tar.gz) = 214637

View File

@ -6,4 +6,4 @@ package is wrapped around the superb Python Requests.
- Service wrappers for convenient connection initialization
- Well tested (100% coverage)
WWW: https://github.com/litl/rauth
WWW: https://github.com/litl/rauth