Date: Fri, 26 Dec 2014 02:53:36 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375613 - in head/net/py-twitter-tools: . files Message-ID: <201412260253.sBQ2raSS011745@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Fri Dec 26 02:53:35 2014 New Revision: 375613 URL: https://svnweb.freebsd.org/changeset/ports/375613 QAT: https://qat.redports.org/buildarchive/r375613/ Log: net/py-twitter-tools: Update to 1.15.0 - Update to 1.15.0 - Add LICENSE_FILE - Add TEST_DEPENDS and regression-test: target - Remove GH_PROJECT (value is now the default) - Patch tests_require and test_suite into setup.py, send upstream [1] [1] https://github.com/sixohsix/twitter/pull/272 Added: head/net/py-twitter-tools/files/ head/net/py-twitter-tools/files/patch-setup.py (contents, props changed) Modified: head/net/py-twitter-tools/Makefile head/net/py-twitter-tools/distinfo Modified: head/net/py-twitter-tools/Makefile ============================================================================== --- head/net/py-twitter-tools/Makefile Fri Dec 26 01:21:37 2014 (r375612) +++ head/net/py-twitter-tools/Makefile Fri Dec 26 02:53:35 2014 (r375613) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= twitter -PORTVERSION= 1.14.1 +PORTVERSION= 1.15.0 CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= -tools @@ -10,14 +10,20 @@ PKGNAMESUFFIX= -tools MAINTAINER= koobs@FreeBSD.org COMMENT= Python API and command-line toolset for Twitter +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose + LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE USES= python USE_PYTHON= distutils autoplist USE_GITHUB= yes + GH_ACCOUNT= sixohsix -GH_PROJECT= twitter GH_TAGNAME= ${DISTNAME} -GH_COMMIT= 5712410 +GH_COMMIT= bb26b5d + +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include <bsd.port.mk> Modified: head/net/py-twitter-tools/distinfo ============================================================================== --- head/net/py-twitter-tools/distinfo Fri Dec 26 01:21:37 2014 (r375612) +++ head/net/py-twitter-tools/distinfo Fri Dec 26 02:53:35 2014 (r375613) @@ -1,2 +1,2 @@ -SHA256 (twitter-1.14.1.tar.gz) = 8e20d4fe5c30d5f2d9a32b5a925a4426a8a43167b80e4e98404a05e8bb1210b6 -SIZE (twitter-1.14.1.tar.gz) = 39459 +SHA256 (twitter-1.15.0.tar.gz) = f0cf4d8ec60a26bbec9fb9a2455f037c8e47746c12e9a1bc9ce3f373014a1774 +SIZE (twitter-1.15.0.tar.gz) = 41853 Added: head/net/py-twitter-tools/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-twitter-tools/files/patch-setup.py Fri Dec 26 02:53:35 2014 (r375613) @@ -0,0 +1,22 @@ +--- setup.py.orig 2014-12-26 02:42:01 UTC ++++ setup.py +@@ -9,6 +9,10 @@ install_requires = [ + if sys.version_info < (2,7): + install_requires.append('argparse') + ++tests_require = [ ++ 'nose', ++] ++ + setup(name='twitter', + version=version, + description="An API and command-line toolset for Twitter (twitter.com)", +@@ -39,6 +43,8 @@ setup(name='twitter', + include_package_data=True, + zip_safe=True, + install_requires=install_requires, ++ tests_require=tests_require, ++ test_suite = 'nose.collector', + entry_points=""" + # -*- Entry points: -*- + [console_scripts]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412260253.sBQ2raSS011745>