From owner-svn-ports-all@freebsd.org Sat Feb 20 10:45:30 2016 Return-Path: Delivered-To: svn-ports-all@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 7287BAAF5F8; Sat, 20 Feb 2016 10:45:30 +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 37C23639; Sat, 20 Feb 2016 10:45:30 +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 u1KAjTZO075952; Sat, 20 Feb 2016 10:45:29 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1KAjT0X075949; Sat, 20 Feb 2016 10:45:29 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201602201045.u1KAjT0X075949@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Sat, 20 Feb 2016 10:45:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409230 - in head/net/py-twitter-tools: . 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-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 10:45:30 -0000 Author: koobs Date: Sat Feb 20 10:45:28 2016 New Revision: 409230 URL: https://svnweb.freebsd.org/changeset/ports/409230 Log: net/py-twitter-tools: Update to 1.17.1 - Update PORTVERSION and distinfo checksum (1.17.1) [1] - Update test target (modern convention) - Enable concurrent (Python version) installation - Enable architecture independence (NO_ARCH) - Remove patch to setup.py (upstreamed) - Backport commit 15ea270 to fix test_sanity tests A number of test failures are (still) present in test_util [2] [2] https://github.com/sixohsix/twitter/issues/166 PR: 207365 [1] Submitted by: bsam [1] Added: head/net/py-twitter-tools/files/patch-tests_test__sanity.py (contents, props changed) Deleted: head/net/py-twitter-tools/files/patch-setup.py 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 Sat Feb 20 10:42:47 2016 (r409229) +++ head/net/py-twitter-tools/Makefile Sat Feb 20 10:45:28 2016 (r409230) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= twitter -PORTVERSION= 1.15.0 +PORTVERSION= 1.17.1 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,12 +17,14 @@ 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 Modified: head/net/py-twitter-tools/distinfo ============================================================================== --- head/net/py-twitter-tools/distinfo Sat Feb 20 10:42:47 2016 (r409229) +++ head/net/py-twitter-tools/distinfo Sat Feb 20 10:45:28 2016 (r409230) @@ -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 Added: head/net/py-twitter-tools/files/patch-tests_test__sanity.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-twitter-tools/files/patch-tests_test__sanity.py Sat Feb 20 10:45:28 2016 (r409230) @@ -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