aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-requests-oauthlib
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2015-10-28 17:06:54 +0800
committerkoobs <koobs@FreeBSD.org>2015-10-28 17:06:54 +0800
commit68ac0fb06befdffdb5ad6c245f5b005d8edd62eb (patch)
tree75d90c703bcf01f102c9a4b3203fd8830739ba12 /www/py-requests-oauthlib
parent24b29d9dcc8b2a44b640f1a31022bd06a35b7ea4 (diff)
downloadfreebsd-ports-gnome-68ac0fb06befdffdb5ad6c245f5b005d8edd62eb.tar.gz
freebsd-ports-gnome-68ac0fb06befdffdb5ad6c245f5b005d8edd62eb.tar.zst
freebsd-ports-gnome-68ac0fb06befdffdb5ad6c245f5b005d8edd62eb.zip
www/py-requests-oauthlib: Update to 0.5.0
- Update PORTVERSION and distinfo checksum (0.5.0) - Update TEST_DEPENDS - Remove TESTS option since the framework now supports TEST_DEPENDS,etc - Rename test target and use canonical/wrapped PYDISTUTILS_SETUP variable. Changes: https://github.com/requests/requests-oauthlib/blob/v0.5.0/HISTORY.rst
Diffstat (limited to 'www/py-requests-oauthlib')
-rw-r--r--www/py-requests-oauthlib/Makefile17
-rw-r--r--www/py-requests-oauthlib/distinfo4
2 files changed, 7 insertions, 14 deletions
diff --git a/www/py-requests-oauthlib/Makefile b/www/py-requests-oauthlib/Makefile
index c2b828cabd0c..b0e458bb9ce1 100644
--- a/www/py-requests-oauthlib/Makefile
+++ b/www/py-requests-oauthlib/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= requests-oauthlib
-PORTVERSION= 0.4.2
-PORTREVISION= 1
+PORTVERSION= 0.5.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,18 +14,12 @@ LICENSE= ISCL
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oauthlib>=0.6.2:${PORTSDIR}/security/py-oauthlib \
${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:${PORTSDIR}/www/py-requests
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \
- ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
-
-OPTIONS_DEFINE= TESTS
-
-TESTS_DESC= Install test suite dependencies
-TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= autoplist distutils
-regression-test: build
- @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>
diff --git a/www/py-requests-oauthlib/distinfo b/www/py-requests-oauthlib/distinfo
index deced9b8bfec..4b175d4b7a9c 100644
--- a/www/py-requests-oauthlib/distinfo
+++ b/www/py-requests-oauthlib/distinfo
@@ -1,2 +1,2 @@
-SHA256 (requests-oauthlib-0.4.2.tar.gz) = 9e0223b89518edac61a97b56ff78f271056ce08c8a17c6b644aef244fac83f23
-SIZE (requests-oauthlib-0.4.2.tar.gz) = 53341
+SHA256 (requests-oauthlib-0.5.0.tar.gz) = 658d9aba85338be8c1d1532c9fb5807b381dc7166e469ff0f62fcaa4240d9eb8
+SIZE (requests-oauthlib-0.5.0.tar.gz) = 54024