From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 23217139694 for ; Thu, 20 Apr 2017 19:47:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78A4FE0DC3; Thu, 20 Apr 2017 19:47:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 45617E0DC3 for ; Thu, 20 Apr 2017 19:47:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B7DE7341130 for ; Thu, 20 Apr 2017 19:47:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3138D742D for ; Thu, 20 Apr 2017 19:47:00 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1492717582.cdb1e5976b60dacd0aa0f38ccee33a0bdf7ba22e.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/chardet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/chardet/Manifest dev-python/chardet/chardet-3.0.2.ebuild X-VCS-Directories: dev-python/chardet/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: cdb1e5976b60dacd0aa0f38ccee33a0bdf7ba22e X-VCS-Branch: master Date: Thu, 20 Apr 2017 19:47:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 37eccbcd-f5bb-48f8-be32-af9332da1108 X-Archives-Hash: a7c82ebbd9b1b3cd8b3bbb72b2c93ca0 commit: cdb1e5976b60dacd0aa0f38ccee33a0bdf7ba22e Author: Mike Gilbert gentoo org> AuthorDate: Thu Apr 20 19:45:45 2017 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Thu Apr 20 19:46:22 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdb1e597 dev-python/chardet: use github tarball and enable tests Package-Manager: Portage-2.3.5_p19, Repoman-2.3.2_p49 dev-python/chardet/Manifest | 2 +- dev-python/chardet/chardet-3.0.2.ebuild | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/dev-python/chardet/Manifest b/dev-python/chardet/Manifest index 856c39b611b..563d29e535f 100644 --- a/dev-python/chardet/Manifest +++ b/dev-python/chardet/Manifest @@ -1,3 +1,3 @@ DIST chardet-2.2.1.tar.gz 180319 SHA256 f1964f73f5ee9b7e0309098b9512d587fbba6dd5d1f3797b1c95529e5241bf09 SHA512 87059b77b14c39fded7f1287f8eeab6a880e21f4b49a3aa103daf537bbb1e237069347e1953ebaa9a393bd4dee01993873c84aad3c00536ae34784686aecfe68 WHIRLPOOL 1cd6838823f8effd502c3049d13966ac0888bdb91b34489caea8666f9802967fe6f86565ed827e609cb614c920cc9f983bdecc27c30bb2abcf4420731a0a620e DIST chardet-2.3.0.tar.gz 164346 SHA256 e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa SHA512 d554c9b4564905a2b6c6971aaea2a812174d86b58137c6a2f9d54e2abd2395e6529968b2ce3ca2d97c717d2bd0bd80ab5b98cae9afac1a4add9ea305145030dd WHIRLPOOL af17bac2778a86d6fe9643a512a307cbcf92e4b43238b2d3d2bae53e646fccbdf40f31f41f9452e7d4f4c84d1ee637199af841a828d49f3452190749fee284c1 -DIST chardet-3.0.2.tar.gz 1866978 SHA256 4f7832e7c583348a9eddd927ee8514b3bf717c061f57b21dbe7697211454d9bb SHA512 d7b0e5ebeb9a0d5830857decbe2b11309fbb421c31cd391c143bf6f00e2c3d9eec3640954478e71be88ea3dac158b1e1df177a5e2b8b9749b27d2a956542cbf9 WHIRLPOOL 429d20191b54284a9278e1d56ce387200aff68bb27f06f7f25c63f793437ef987ebbb1f860937ba720a48890bbf1ed4e4886f1b5f3452276004e192556971fb2 +DIST chardet-3.0.2.tar.gz 1872630 SHA256 3b92afd82ddea09d30832fac141840d6569c34f27633e4ad273c66172246116f SHA512 9466e8bdd4d49ca51664fefa170e2887bebf17d017d49056a0efe9baef4dc58e2a9e0766d41c1fcb06254e1346021d1d86b1eb55d4b71a061da93ea830f1dfce WHIRLPOOL 4010a838619b3f04d1266bdee49e26169724f1c83c38a3a9cc081fc8f2166e46ecf9544bc25e276a7dec4af7a64f469a74aabc8ecdc745fd10d364db331ee704 diff --git a/dev-python/chardet/chardet-3.0.2.ebuild b/dev-python/chardet/chardet-3.0.2.ebuild index 167fb3a4964..93934bd438a 100644 --- a/dev-python/chardet/chardet-3.0.2.ebuild +++ b/dev-python/chardet/chardet-3.0.2.ebuild @@ -9,26 +9,30 @@ inherit distutils-r1 DESCRIPTION="Universal encoding detector" HOMEPAGE="https://github.com/chardet/chardet https://pypi.python.org/pypi/chardet" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +# SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" # PyPI tarball is missing test.py: https://github.com/chardet/chardet/pull/118 -RESTRICT="test" +SRC_URI="https://github.com/chardet/chardet/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" IUSE="test" +RESTRICT="!test? ( test )" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} test? ( dev-python/pytest[${PYTHON_USEDEP}] dev-python/hypothesis[${PYTHON_USEDEP}] - )" -RDEPEND="${DEPEND}" + ) +" PATCHES=( "${FILESDIR}"/disable-pytest-runner.patch ) python_test() { - py.test -v ./test.py || die "Tests fail with ${EPYTHON}" + py.test -v || die "Tests fail with ${EPYTHON}" }