From owner-svn-ports-head@freebsd.org Tue Jul 7 10:20:35 2015 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 1756798FA5C; Tue, 7 Jul 2015 10:20:35 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 06B111AD0; Tue, 7 Jul 2015 10:20:35 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t67AKYo7098687; Tue, 7 Jul 2015 10:20:34 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t67AKXU9098683; Tue, 7 Jul 2015 10:20:33 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201507071020.t67AKXU9098683@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Tue, 7 Jul 2015 10:20:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r391498 - in head/net/py-tweepy: . files X-SVN-Group: ports-head 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.20 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: Tue, 07 Jul 2015 10:20:35 -0000 Author: koobs Date: Tue Jul 7 10:20:32 2015 New Revision: 391498 URL: https://svnweb.freebsd.org/changeset/ports/391498 Log: net/py-tweepy: Update to 3.3.0, Enable Python 3 - Update to 3.3.0 - Take MAINTAINER'ship - Switch to GITHUB to get access to the tests & test suite - Allow building with Python 3 (now supported) - Update BUILD_DEPENDS and RUN_DEPENDS - Sort USE_PYTHON values - Patch setup.py to correctly set test dependencies and hook in the setuptools test command - Patch out unnecessary (tox) test dependency. Changes: https://github.com/tweepy/tweepy/blob/v3.3.0/CHANGELOG.md First part of: PR: 200621 Reported by: Patrick P. Added: head/net/py-tweepy/files/ head/net/py-tweepy/files/patch-setup.py (contents, props changed) head/net/py-tweepy/files/patch-test__requirements.txt (contents, props changed) Modified: head/net/py-tweepy/Makefile head/net/py-tweepy/distinfo Modified: head/net/py-tweepy/Makefile ============================================================================== --- head/net/py-tweepy/Makefile Tue Jul 7 09:36:02 2015 (r391497) +++ head/net/py-tweepy/Makefile Tue Jul 7 10:20:32 2015 (r391498) @@ -2,17 +2,23 @@ # $FreeBSD$ PORTNAME= tweepy -PORTVERSION= 2.3.0 +PORTVERSION= 3.3.0 CATEGORIES= net python -MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTVERSIONPREFIX= v -MAINTAINER= ports@FreeBSD.org +MAINTAINER= koobs@FreeBSD.org COMMENT= Twitter API library for Python! LICENSE= MIT -USES= python:2 -USE_PYTHON= distutils autoplist +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:${PORTSDIR}/devel/py-pip +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.4.3:${PORTSDIR}/www/py-requests \ + ${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0.4.1:${PORTSDIR}/www/py-requests-oauthlib \ + ${PYTHON_PKGNAMEPREFIX}six>=1.7.3:${PORTSDIR}/devel/py-six + +USES= python +USE_GITHUB= yes +USE_PYTHON= autoplist distutils .include Modified: head/net/py-tweepy/distinfo ============================================================================== --- head/net/py-tweepy/distinfo Tue Jul 7 09:36:02 2015 (r391497) +++ head/net/py-tweepy/distinfo Tue Jul 7 10:20:32 2015 (r391498) @@ -1,2 +1,2 @@ -SHA256 (tweepy-2.3.0.tar.gz) = f7672fcfe9e17361adc7293ca6c98ad1517174267e917a5ec898e515c42b9271 -SIZE (tweepy-2.3.0.tar.gz) = 25273 +SHA256 (tweepy-tweepy-v3.3.0_GH0.tar.gz) = 96ac826401dafd30b1b05137cccd7e36d075a71869b64656075feaebb4e1536d +SIZE (tweepy-tweepy-v3.3.0_GH0.tar.gz) = 599995 Added: head/net/py-tweepy/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-tweepy/files/patch-setup.py Tue Jul 7 10:20:32 2015 (r391498) @@ -0,0 +1,22 @@ +--- setup.py.orig 2015-02-21 19:28:08 UTC ++++ setup.py +@@ -15,7 +15,10 @@ else: + raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,)) + + install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1()) ++test_reqs = parse_requirements('test_requirements.txt', session=uuid.uuid1()) ++ + reqs = [str(req.req) for req in install_reqs] ++treqs = [str(req.req) for req in test_reqs] + + setup(name="tweepy", + version=version, +@@ -26,6 +29,8 @@ setup(name="tweepy", + url="http://github.com/tweepy/tweepy", + packages=find_packages(exclude=['tests']), + install_requires=reqs, ++ tests_require=treqs, ++ test_suite='nose.collector', + keywords="twitter library", + classifiers=[ + 'Development Status :: 4 - Beta', Added: head/net/py-tweepy/files/patch-test__requirements.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-tweepy/files/patch-test__requirements.txt Tue Jul 7 10:20:32 2015 (r391498) @@ -0,0 +1,7 @@ +--- test_requirements.txt.orig 2015-07-05 15:09:04 UTC ++++ test_requirements.txt +@@ -1,4 +1,3 @@ +-tox>=1.7.2 + vcrpy==1.1.2 + mock==1.0.1 + unittest2 # Comment this line out if using Python 3.