aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-oauth2
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-12-24 21:04:00 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-12-24 21:04:00 +0800
commit82aa97f8a1ba6e56ca7c436a6407e01108e574ea (patch)
tree0660626d1677428c3293e0626f79fe43e468e2db /net/py-oauth2
parent9bb714313d79b2a8df38a07250db9686a2aef42c (diff)
downloadfreebsd-ports-gnome-82aa97f8a1ba6e56ca7c436a6407e01108e574ea.tar.gz
freebsd-ports-gnome-82aa97f8a1ba6e56ca7c436a6407e01108e574ea.tar.zst
freebsd-ports-gnome-82aa97f8a1ba6e56ca7c436a6407e01108e574ea.zip
- Update to 1.9.0.post1
- Add NO_ARCH - Relax USES=python Changes: https://github.com/joestump/python-oauth2/commits/release/1.9
Diffstat (limited to 'net/py-oauth2')
-rw-r--r--net/py-oauth2/Makefile6
-rw-r--r--net/py-oauth2/distinfo5
-rw-r--r--net/py-oauth2/files/patch-setup.py12
-rw-r--r--net/py-oauth2/pkg-descr2
4 files changed, 13 insertions, 12 deletions
diff --git a/net/py-oauth2/Makefile b/net/py-oauth2/Makefile
index 2e4d4a51daba..4a1f12499569 100644
--- a/net/py-oauth2/Makefile
+++ b/net/py-oauth2/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= oauth2
-PORTVERSION= 1.5.211
-PORTREVISION= 3
+DISTVERSION= 1.9.0.post1
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -22,7 +21,8 @@ OPTIONS_DEFINE= TESTS
TESTS_DESC= Install test suite requirements
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
-USES= python:-2.7
+NO_ARCH= yes
+USES= python
USE_PYTHON= autoplist distutils
regression-test: build
diff --git a/net/py-oauth2/distinfo b/net/py-oauth2/distinfo
index 66f21022a4e7..e38ee0abc7c0 100644
--- a/net/py-oauth2/distinfo
+++ b/net/py-oauth2/distinfo
@@ -1,2 +1,3 @@
-SHA256 (oauth2-1.5.211.tar.gz) = 82a38f674da1fa496c0fc4df714cbb058540bed72a30c50a2e344b0d984c4d21
-SIZE (oauth2-1.5.211.tar.gz) = 18608
+TIMESTAMP = 1482525505
+SHA256 (oauth2-1.9.0.post1.tar.gz) = c006a85e7c60107c7cc6da1b184b5c719f6dd7202098196dfa6e55df669b59bf
+SIZE (oauth2-1.9.0.post1.tar.gz) = 21306
diff --git a/net/py-oauth2/files/patch-setup.py b/net/py-oauth2/files/patch-setup.py
index cde53c64734c..735ce4c948b1 100644
--- a/net/py-oauth2/files/patch-setup.py
+++ b/net/py-oauth2/files/patch-setup.py
@@ -1,12 +1,12 @@
# This package installs its 'test' module in site-packages/. Patch it out
# so tests/ is excluded from installation
---- ./setup.py.orig 2014-03-15 23:48:44.604925965 +1100
-+++ ./setup.py 2014-03-15 23:49:01.462781884 +1100
-@@ -31,7 +31,7 @@
- author="Joe Stump",
- author_email="joe@simplegeo.com",
- url="http://github.com/simplegeo/python-oauth2",
+--- setup.py.orig 2015-09-12 12:43:42 UTC
++++ setup.py
+@@ -45,7 +45,7 @@ setup(name=PKG,
+ "Natural Language :: English",
+ "License :: OSI Approved :: MIT License"
+ ],
- packages = find_packages(),
+ packages = find_packages(exclude=['tests']),
install_requires = ['httplib2'],
diff --git a/net/py-oauth2/pkg-descr b/net/py-oauth2/pkg-descr
index 09ba5b888823..55f7cec9fa7f 100644
--- a/net/py-oauth2/pkg-descr
+++ b/net/py-oauth2/pkg-descr
@@ -11,4 +11,4 @@ forefathers:
* The library is likely no longer compatible with Python 2.3.
* The Client class works and extends from httplib2.
-WWW: https://github.com/simplegeo/python-oauth2
+WWW: https://github.com/joestump/python-oauth2