aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorsbz <sbz@FreeBSD.org>2012-08-14 22:47:15 +0800
committersbz <sbz@FreeBSD.org>2012-08-14 22:47:15 +0800
commite3374a88cf402a9b563d309cee43e7df4111ff8d (patch)
treeb9ee0edf67751fb6324fd7de6b35fed3dcf1e330 /security
parentb1a9dad39e4866643ac7316309cc62c67406e740 (diff)
downloadfreebsd-ports-gnome-e3374a88cf402a9b563d309cee43e7df4111ff8d.tar.gz
freebsd-ports-gnome-e3374a88cf402a9b563d309cee43e7df4111ff8d.tar.zst
freebsd-ports-gnome-e3374a88cf402a9b563d309cee43e7df4111ff8d.zip
- Update to 0.3.0
PR: ports/170633 Submitted by: Kubilay Kocak <koobs.freebsd at gmail.com> (maintainer)
Diffstat (limited to 'security')
-rw-r--r--security/py-oauthlib/Makefile12
-rw-r--r--security/py-oauthlib/distinfo4
-rw-r--r--security/py-oauthlib/files/patch-setup.py8
-rw-r--r--security/py-oauthlib/pkg-plist45
4 files changed, 37 insertions, 32 deletions
diff --git a/security/py-oauthlib/Makefile b/security/py-oauthlib/Makefile
index fd805c389015..50ddfe4e97b5 100644
--- a/security/py-oauthlib/Makefile
+++ b/security/py-oauthlib/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= oauthlib
-PORTVERSION= 0.1.3
-PORTREVISION= 1
+PORTVERSION= 0.3.0
CATEGORIES= security net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,16 +16,11 @@ COMMENT= An RFC-compliant Python implementation of OAuth
LICENSE= BSD
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rsa>0:${PORTSDIR}/security/py-rsa
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
RUN_DEPENDS:= ${BUILD_DEPENDS}
# Python3 ready
USE_PYTHON= yes
-USE_PYDISTUTILS=easy_install
-
-PYDISTUTILS_INSTALLARGS= -Z -q -O 1 -N -S ${PYTHON_SITELIBDIR} \
- -d ${PYEASYINSTALL_SITELIBDIR} \
- -s ${PYEASYINSTALL_BINDIR} \
- ${WRKSRC}/dist/${PYEASYINSTALL_EGG}
+USE_PYDISTUTILS= easy_install
.include <bsd.port.mk>
diff --git a/security/py-oauthlib/distinfo b/security/py-oauthlib/distinfo
index 4d62a221ec0b..cb0151f7efb1 100644
--- a/security/py-oauthlib/distinfo
+++ b/security/py-oauthlib/distinfo
@@ -1,2 +1,2 @@
-SHA256 (oauthlib-0.1.3.tar.gz) = 6066c9c0ab07953f98870bc97d29f6defd066b6c215de74b9976666f3f6c3d40
-SIZE (oauthlib-0.1.3.tar.gz) = 24684
+SHA256 (oauthlib-0.3.0.tar.gz) = 8c62a18370b87fda3299bad4d4af2949e1bcb2d65519887ffcdcbcd00dfa9bf0
+SIZE (oauthlib-0.3.0.tar.gz) = 43581
diff --git a/security/py-oauthlib/files/patch-setup.py b/security/py-oauthlib/files/patch-setup.py
new file mode 100644
index 000000000000..f83a64610614
--- /dev/null
+++ b/security/py-oauthlib/files/patch-setup.py
@@ -0,0 +1,8 @@
+--- ./setup.py.orig 2012-08-14 19:04:25.000000000 +1000
++++ ./setup.py 2012-08-14 19:04:38.000000000 +1000
+@@ -32,4 +32,5 @@
+ tests_require=tests_require,
+ extras_require={'test': tests_require, 'rsa': rsa_require},
+ install_requires=requires,
++ zip_safe=False,
+ )
diff --git a/security/py-oauthlib/pkg-plist b/security/py-oauthlib/pkg-plist
index e44aa1884add..9c9a3885a289 100644
--- a/security/py-oauthlib/pkg-plist
+++ b/security/py-oauthlib/pkg-plist
@@ -1,43 +1,46 @@
@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/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/__init__.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/common.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/common.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/common.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/common.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/__init__.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/parameters.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/signature.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/utils.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/__init__.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/parameters.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/signature.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/utils.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/parameters.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/parameters.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/parameters.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/signature.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/signature.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/signature.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/utils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/utils.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849/utils.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/__init__.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/tokens.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/utils.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/__init__.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/tokens.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/utils.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/parameters.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/parameters.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/parameters.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/tokens.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/tokens.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/tokens.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/utils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/utils.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25/utils.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/__init__.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/__init__.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/common.pyo
-%%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/requires.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/zip-safe
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2/draft25
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth2
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/oauthlib/oauth1/rfc5849