1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

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
This commit is contained in:
Kubilay Kocak 2014-03-22 07:19:47 +00:00
parent 52b86a5941
commit 2bb729328a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348761
3 changed files with 8 additions and 21 deletions

View File

@ -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>

View File

@ -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

View File

@ -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: -*-