From owner-svn-ports-head@freebsd.org Sat Jul 15 08:23:25 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F056BDBD329; Sat, 15 Jul 2017 08:23:25 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CD35268A69; Sat, 15 Jul 2017 08:23:25 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6F8NOiV028336; Sat, 15 Jul 2017 08:23:24 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6F8NOVm028332; Sat, 15 Jul 2017 08:23:24 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201707150823.v6F8NOVm028332@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Sat, 15 Jul 2017 08:23:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r445856 - in head/net/py-tweepy: . files X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: in head/net/py-tweepy: . files X-SVN-Commit-Revision: 445856 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jul 2017 08:23:26 -0000 Author: koobs Date: Sat Jul 15 08:23:24 2017 New Revision: 445856 URL: https://svnweb.freebsd.org/changeset/ports/445856 Log: net/py-tweepy: Update to 3.5.0 While I'm here, * Add TEST_DEPENDS and test target * Sort DISTVERSIONPREFIX (pet portlint) * Update test_requirements.txt patch Changelog: https://github.com/tweepy/tweepy/releases/tag/v3.5.0 Modified: head/net/py-tweepy/Makefile head/net/py-tweepy/distinfo head/net/py-tweepy/files/patch-setup.py head/net/py-tweepy/files/patch-test__requirements.txt Modified: head/net/py-tweepy/Makefile ============================================================================== --- head/net/py-tweepy/Makefile Sat Jul 15 08:21:07 2017 (r445855) +++ head/net/py-tweepy/Makefile Sat Jul 15 08:23:24 2017 (r445856) @@ -2,10 +2,10 @@ # $FreeBSD$ PORTNAME= tweepy -PORTVERSION= 3.3.0 +PORTVERSION= 3.5.0 +DISTVERSIONPREFIX= v CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTVERSIONPREFIX= v MAINTAINER= koobs@FreeBSD.org COMMENT= Twitter API library for Python @@ -16,9 +16,25 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-p RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.4.3:www/py-requests \ ${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0.4.1:www/py-requests-oauthlib \ ${PYTHON_PKGNAMEPREFIX}six>=1.7.3:devel/py-six +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \ + ${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:devel/py-mock \ + ${PYTHON_PKGNAMEPREFIX}vcrpy>=1.1.2:devel/py-vcrpy USES= python USE_GITHUB= yes USE_PYTHON= autoplist distutils -.include +NO_ARCH= yes + +TEST_ENV= USE_REPLAY=1 + +.include + +.if ${PYTHON_REL} < 3000 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2 +.endif + +do-test: + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} -v tests.test_cursors tests.test_api tests.test_utils + +.include Modified: head/net/py-tweepy/distinfo ============================================================================== --- head/net/py-tweepy/distinfo Sat Jul 15 08:21:07 2017 (r445855) +++ head/net/py-tweepy/distinfo Sat Jul 15 08:23:24 2017 (r445856) @@ -1,2 +1,3 @@ -SHA256 (tweepy-tweepy-v3.3.0_GH0.tar.gz) = 96ac826401dafd30b1b05137cccd7e36d075a71869b64656075feaebb4e1536d -SIZE (tweepy-tweepy-v3.3.0_GH0.tar.gz) = 599995 +TIMESTAMP = 1500106920 +SHA256 (tweepy-tweepy-v3.5.0_GH0.tar.gz) = 156748432e71e3f3258d109ef06638c32d2591aa98e480eb321a2c226f4ac47d +SIZE (tweepy-tweepy-v3.5.0_GH0.tar.gz) = 602727 Modified: head/net/py-tweepy/files/patch-setup.py ============================================================================== --- head/net/py-tweepy/files/patch-setup.py Sat Jul 15 08:21:07 2017 (r445855) +++ head/net/py-tweepy/files/patch-setup.py Sat Jul 15 08:23:24 2017 (r445856) @@ -1,4 +1,4 @@ ---- setup.py.orig 2015-02-21 19:28:08 UTC +--- setup.py.orig 2015-11-20 05:42:25 UTC +++ setup.py @@ -15,7 +15,10 @@ else: raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,)) Modified: head/net/py-tweepy/files/patch-test__requirements.txt ============================================================================== --- head/net/py-tweepy/files/patch-test__requirements.txt Sat Jul 15 08:21:07 2017 (r445855) +++ head/net/py-tweepy/files/patch-test__requirements.txt Sat Jul 15 08:23:24 2017 (r445856) @@ -1,7 +1,9 @@ ---- test_requirements.txt.orig 2015-07-05 15:09:04 UTC +--- test_requirements.txt.orig 2015-11-20 05:42:25 UTC +++ test_requirements.txt -@@ -1,4 +1,3 @@ +@@ -1,4 +1,2 @@ -tox>=1.7.2 - vcrpy==1.1.2 - mock==1.0.1 - unittest2 # Comment this line out if using Python 3. +-vcrpy==1.1.2 +-mock==1.0.1 +-unittest2 # Comment this line out if using Python 3. ++vcrpy>=1.1.2 ++mock>=1.0.1