svn commit: r400375 - head/www/py-requests-oauthlib
Kubilay Kocak
koobs at FreeBSD.org
Wed Oct 28 09:06:56 UTC 2015
Author: koobs
Date: Wed Oct 28 09:06:54 2015
New Revision: 400375
URL: https://svnweb.freebsd.org/changeset/ports/400375
Log:
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
Modified:
head/www/py-requests-oauthlib/Makefile
head/www/py-requests-oauthlib/distinfo
Modified: head/www/py-requests-oauthlib/Makefile
==============================================================================
--- head/www/py-requests-oauthlib/Makefile Wed Oct 28 08:07:24 2015 (r400374)
+++ head/www/py-requests-oauthlib/Makefile Wed Oct 28 09:06:54 2015 (r400375)
@@ -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>
Modified: head/www/py-requests-oauthlib/distinfo
==============================================================================
--- head/www/py-requests-oauthlib/distinfo Wed Oct 28 08:07:24 2015 (r400374)
+++ head/www/py-requests-oauthlib/distinfo Wed Oct 28 09:06:54 2015 (r400375)
@@ -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
More information about the svn-ports-all
mailing list