aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2013-11-30 23:46:48 +0800
committerkoobs <koobs@FreeBSD.org>2013-11-30 23:46:48 +0800
commit1d22c72863fe09a4ee3e847f7b715399d6727745 (patch)
tree47ed86c1620f8c37b8099910a09cc10804e02ba7 /devel
parent72cd79375dd4c84f410e1fd6ef8d84831856233a (diff)
downloadfreebsd-ports-gnome-1d22c72863fe09a4ee3e847f7b715399d6727745.tar.gz
freebsd-ports-gnome-1d22c72863fe09a4ee3e847f7b715399d6727745.tar.zst
freebsd-ports-gnome-1d22c72863fe09a4ee3e847f7b715399d6727745.zip
devel/py-rauth: Update to 0.6.2
- Update to 0.6.2 - Enable STAGE support, delete pkg-plist - Enable AUTOPLIST support - Update RUN_DEPENDS minimum version for requests - Re-order *_DEPENDS and USE_* sections - Add pycrypto to TEST_DEPENDS Changes: https://github.com/litl/rauth/blob/0.6.2/CHANGELOG
Diffstat (limited to 'devel')
-rw-r--r--devel/py-rauth/Makefile29
-rw-r--r--devel/py-rauth/distinfo4
-rw-r--r--devel/py-rauth/pkg-plist25
3 files changed, 16 insertions, 42 deletions
diff --git a/devel/py-rauth/Makefile b/devel/py-rauth/Makefile
index 749fd035ba2c..fe86579d430b 100644
--- a/devel/py-rauth/Makefile
+++ b/devel/py-rauth/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= rauth
-PORTVERSION= 0.5.4
+PORTVERSION= 0.6.2
CATEGORIES= devel www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,31 +11,30 @@ COMMENT= Python library for OAuth 1.0/a, 2.0, and Ofly consumers
LICENSE= MIT
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:${PORTSDIR}/www/py-requests
-
-USE_GITHUB= yes
-GH_ACCOUNT= litl
-GH_COMMIT= af344ef
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.2.3:${PORTSDIR}/www/py-requests
+TEST_DEPENDS:= ${RUN_DEPENDS} \
+ ${PYTHON_PKGNAMEPREFIX}nose>=1.2.1:${PORTSDIR}/devel/py-nose \
+ ${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:${PORTSDIR}/devel/py-mock \
+ ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:${PORTSDIR}/security/py-pycrypto
OPTIONS_DEFINE= TESTS
TESTS_DESC= Install tools for unit testing
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
-NO_STAGE= yes
+USE_GITHUB= yes
+GH_ACCOUNT= litl
+GH_COMMIT= b6d92ca
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= easy_install
+PYDISTUTILS_AUTOPLIST= yes
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTESTS}
BUILD_DEPENDS:= ${TEST_DEPENDS}
.endif
-# Python3 ready
-USE_PYTHON= yes
-USE_PYDISTUTILS= easy_install
-
-TEST_DEPENDS:= ${RUN_DEPENDS} \
- ${PYTHON_PKGNAMEPREFIX}nose>=1.2.1:${PORTSDIR}/devel/py-nose \
- ${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:${PORTSDIR}/devel/py-mock
-
regression-test: build
@cd ${WRKSRC} && nosetests
diff --git a/devel/py-rauth/distinfo b/devel/py-rauth/distinfo
index dd78a41aede7..8a400ffec6e2 100644
--- a/devel/py-rauth/distinfo
+++ b/devel/py-rauth/distinfo
@@ -1,2 +1,2 @@
-SHA256 (rauth-0.5.4.tar.gz) = 246e5f143fcb0d0a85ac2de259b3a3f327738144120e3294f97522012495c438
-SIZE (rauth-0.5.4.tar.gz) = 30093
+SHA256 (rauth-0.6.2.tar.gz) = 5132f5a8a5783233ff0054ba836312f9f29092f40407dd8f45492dafaafb4516
+SIZE (rauth-0.6.2.tar.gz) = 33258
diff --git a/devel/py-rauth/pkg-plist b/devel/py-rauth/pkg-plist
deleted file mode 100644
index aafd96bb6e15..000000000000
--- a/devel/py-rauth/pkg-plist
+++ /dev/null
@@ -1,25 +0,0 @@
-@comment $FreeBSD$
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/__init__.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/__init__.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/__init__.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/oauth.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/oauth.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/oauth.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/service.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/service.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/service.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/session.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/session.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/session.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/utils.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/utils.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/utils.pyo
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%