diff options
author | koobs <koobs@FreeBSD.org> | 2014-03-22 15:19:47 +0800 |
---|---|---|
committer | koobs <koobs@FreeBSD.org> | 2014-03-22 15:19:47 +0800 |
commit | b2a8816b63502160c50823e9b053f512c821cccd (patch) | |
tree | 25a31b75e375097230139d9d8e690c30a63f6a99 /net/py-twitter-tools | |
parent | 85f52423782fecd9af3c3a200c650614653d1e4e (diff) | |
download | freebsd-ports-gnome-b2a8816b63502160c50823e9b053f512c821cccd.tar.gz freebsd-ports-gnome-b2a8816b63502160c50823e9b053f512c821cccd.tar.zst freebsd-ports-gnome-b2a8816b63502160c50823e9b053f512c821cccd.zip |
net/py-twitter-tools: Update to 1.14.1, Modernise.
- Update to 1.14.1
- Enable AUTOPLIST support, remove PYDISTUTILS_PKGNAME accordingly
- Deprecate easy_install target, remove zip_safe setup.py patch accordingly
- Use PKGNAMESUFFIX, so we dont need DISTNAME override (and pets portlint!)
Changes:
https://github.com/sixohsix/twitter/commits/twitter-1.14.1
Diffstat (limited to 'net/py-twitter-tools')
-rw-r--r-- | net/py-twitter-tools/Makefile | 14 | ||||
-rw-r--r-- | net/py-twitter-tools/distinfo | 4 | ||||
-rw-r--r-- | net/py-twitter-tools/files/patch-setup.py | 11 |
3 files changed, 8 insertions, 21 deletions
diff --git a/net/py-twitter-tools/Makefile b/net/py-twitter-tools/Makefile index 150e0043a0c0..7911c51e8c4d 100644 --- a/net/py-twitter-tools/Makefile +++ b/net/py-twitter-tools/Makefile @@ -1,11 +1,11 @@ # Created by: Kubilay Kocak <koobs@FreeBSD.org> # $FreeBSD$ -PORTNAME= twitter-tools -PORTVERSION= 1.10.2 +PORTNAME= twitter +PORTVERSION= 1.14.1 CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= twitter-${PORTVERSION} +PKGNAMESUFFIX= -tools MAINTAINER= koobs@FreeBSD.org COMMENT= Python API and command-line toolset for Twitter @@ -14,14 +14,12 @@ LICENSE= MIT USE_GITHUB= yes USE_PYTHON= yes -USE_PYDISTUTILS= easy_install +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes GH_ACCOUNT= sixohsix GH_PROJECT= twitter GH_TAGNAME= ${DISTNAME} -GH_COMMIT= cb68a5f - -PYDISTUTILS_PKGNAME= twitter -PYDISTUTILS_AUTOPLIST= yes +GH_COMMIT= 5712410 .include <bsd.port.mk> diff --git a/net/py-twitter-tools/distinfo b/net/py-twitter-tools/distinfo index f95264553773..735591ca8c20 100644 --- a/net/py-twitter-tools/distinfo +++ b/net/py-twitter-tools/distinfo @@ -1,2 +1,2 @@ -SHA256 (twitter-1.10.2.tar.gz) = b72f481cceedf381a3c1a27efaf61dd4e460892516cb7fe8a5b943e36fd9a250 -SIZE (twitter-1.10.2.tar.gz) = 37163 +SHA256 (twitter-1.14.1.tar.gz) = 8e20d4fe5c30d5f2d9a32b5a925a4426a8a43167b80e4e98404a05e8bb1210b6 +SIZE (twitter-1.14.1.tar.gz) = 39459 diff --git a/net/py-twitter-tools/files/patch-setup.py b/net/py-twitter-tools/files/patch-setup.py deleted file mode 100644 index 7417fc66a02c..000000000000 --- a/net/py-twitter-tools/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- ./setup.py.orig 2013-05-25 10:38:02.218078478 +1000 -+++ ./setup.py 2013-05-25 10:38:10.792279089 +1000 -@@ -33,7 +33,7 @@ - license='MIT License', - packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), - include_package_data=True, -- zip_safe=True, -+ zip_safe=False, - install_requires=install_requires, - entry_points=""" - # -*- Entry points: -*- |