aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2013-06-21 11:24:55 +0800
committerclsung <clsung@FreeBSD.org>2013-06-21 11:24:55 +0800
commit92a24f8bd3824aae1db031089289456a0e5eea6e (patch)
treed591b3b49b5bd2b5624b32b150734ca0c5d3cac9
parent6bf504144a652ac95d320c250550582d49a71566 (diff)
downloadfreebsd-ports-gnome-92a24f8bd3824aae1db031089289456a0e5eea6e.tar.gz
freebsd-ports-gnome-92a24f8bd3824aae1db031089289456a0e5eea6e.tar.zst
freebsd-ports-gnome-92a24f8bd3824aae1db031089289456a0e5eea6e.zip
net/tweepy: Update to 2.0, install unzipped
- Update to 2.0 - Patch setup.py to install zip_safe=False - Add pkg-plist - Remove PLIST_FILES accordingly - Whitespace alignment Changes: https://github.com/tweepy/tweepy/blob/2.0/CHANGELOG.md PR: ports/179574 Submitted by: koobs@
-rw-r--r--net/py-tweepy/Makefile6
-rw-r--r--net/py-tweepy/distinfo4
-rw-r--r--net/py-tweepy/files/patch-setup.py8
-rw-r--r--net/py-tweepy/pkg-plist44
4 files changed, 56 insertions, 6 deletions
diff --git a/net/py-tweepy/Makefile b/net/py-tweepy/Makefile
index dfc3f095b4cc..37cbb9463033 100644
--- a/net/py-tweepy/Makefile
+++ b/net/py-tweepy/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tweepy
-PORTVERSION= 1.13
+PORTVERSION= 2.0
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,9 +12,7 @@ COMMENT= A library for accessing the Twitter.com API
LICENSE= MIT
-USE_PYTHON= yes
+USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
-PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
-
.include <bsd.port.mk>
diff --git a/net/py-tweepy/distinfo b/net/py-tweepy/distinfo
index fc1e7c2f1b73..8237df3cf281 100644
--- a/net/py-tweepy/distinfo
+++ b/net/py-tweepy/distinfo
@@ -1,2 +1,2 @@
-SHA256 (tweepy-1.13.tar.gz) = c57b8efcb1edd2c973bc4f1a96aaed413f67180d45d35ea492e2c4bf318a53bd
-SIZE (tweepy-1.13.tar.gz) = 22382
+SHA256 (tweepy-2.0.tar.gz) = a0b3b6ab85e9bd56907a5883085cf208b3bd3a44272fd25e38a8ac1038eb25ad
+SIZE (tweepy-2.0.tar.gz) = 22091
diff --git a/net/py-tweepy/files/patch-setup.py b/net/py-tweepy/files/patch-setup.py
new file mode 100644
index 000000000000..ef1ba7b9ad8d
--- /dev/null
+++ b/net/py-tweepy/files/patch-setup.py
@@ -0,0 +1,8 @@
+--- ./setup.py.orig 2013-06-16 00:45:48.756665404 +1000
++++ ./setup.py 2013-06-16 00:45:58.696879511 +1000
+@@ -12,4 +12,4 @@
+ url="http://github.com/tweepy/tweepy",
+ packages = find_packages(),
+ keywords= "twitter library",
+- zip_safe = True)
++ zip_safe = False)
diff --git a/net/py-tweepy/pkg-plist b/net/py-tweepy/pkg-plist
new file mode 100644
index 000000000000..ab85805d8e26
--- /dev/null
+++ b/net/py-tweepy/pkg-plist
@@ -0,0 +1,44 @@
+%%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/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/api.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/api.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/api.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/auth.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/auth.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/auth.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/binder.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/binder.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/binder.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/cache.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/cache.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/cache.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/cursor.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/cursor.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/cursor.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/error.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/error.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/error.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/models.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/models.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/models.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/oauth.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/oauth.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/oauth.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/parsers.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/parsers.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/parsers.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/streaming.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/streaming.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/streaming.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/utils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/utils.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy/utils.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tweepy
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%