Index: head/net/py-twitter-tools/Makefile =================================================================== --- head/net/py-twitter-tools/Makefile (revision 409229) +++ head/net/py-twitter-tools/Makefile (revision 409230) @@ -1,28 +1,30 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= twitter -PORTVERSION= 1.15.0 +PORTVERSION= 1.17.1 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} 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_PYTHON= distutils concurrent autoplist USE_GITHUB= yes GH_ACCOUNT= sixohsix -regression-test: build +NO_ARCH= yes + +do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include Index: head/net/py-twitter-tools/distinfo =================================================================== --- head/net/py-twitter-tools/distinfo (revision 409229) +++ head/net/py-twitter-tools/distinfo (revision 409230) @@ -1,2 +1,2 @@ -SHA256 (sixohsix-twitter-twitter-1.15.0_GH0.tar.gz) = 36d78af34fc01d695f4c45b23e9183852a57a950c79ddb12f9291f4a83285fce -SIZE (sixohsix-twitter-twitter-1.15.0_GH0.tar.gz) = 41843 +SHA256 (sixohsix-twitter-twitter-1.17.1_GH0.tar.gz) = 7a1e0cc35f137b95f235ea89b2949db8985fb47fef47223acae74176d39335e7 +SIZE (sixohsix-twitter-twitter-1.17.1_GH0.tar.gz) = 45992 Index: head/net/py-twitter-tools/files/patch-setup.py =================================================================== --- head/net/py-twitter-tools/files/patch-setup.py (revision 409229) +++ head/net/py-twitter-tools/files/patch-setup.py (nonexistent) @@ -1,22 +0,0 @@ ---- 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] Property changes on: head/net/py-twitter-tools/files/patch-setup.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net/py-twitter-tools/files/patch-tests_test__sanity.py =================================================================== --- head/net/py-twitter-tools/files/patch-tests_test__sanity.py (nonexistent) +++ head/net/py-twitter-tools/files/patch-tests_test__sanity.py (revision 409230) @@ -0,0 +1,16 @@ +From 15ea270b76053effb114a3f423a2215506a4e24d Mon Sep 17 00:00:00 2001 +From: RouxRC +Date: Mon, 23 Nov 2015 20:49:25 +0100 +Subject: [PATCH] adapt tests to now full https twitter + +--- tests/test_sanity.py.orig 2016-02-20 07:27:26 UTC ++++ tests/test_sanity.py +@@ -52,7 +52,7 @@ def test_API_set_unicode_tweet(): + + + def clean_link(text): +- pos = text.find(" http://t.co") ++ pos = text.find(" https://t.co") + if pos != -1: + return text[:pos] + return text Property changes on: head/net/py-twitter-tools/files/patch-tests_test__sanity.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property