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 793861396D9 for ; Thu, 19 Oct 2017 08:20:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8D172BC053; Thu, 19 Oct 2017 08:20:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A940D2BC04D for ; Thu, 19 Oct 2017 08:20:14 +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 BF9CC33BF51 for ; Thu, 19 Oct 2017 08:20:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 96BA4830 for ; Thu, 19 Oct 2017 08:20:07 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1508401181.4c6b2aeae060091407e8e8bfaff191a3e363a585.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycountry/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pycountry/Manifest dev-python/pycountry/pycountry-17.9.23.ebuild X-VCS-Directories: dev-python/pycountry/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 4c6b2aeae060091407e8e8bfaff191a3e363a585 X-VCS-Branch: master Date: Thu, 19 Oct 2017 08:20:07 +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: df05e098-0753-4ea3-af93-1dd201483071 X-Archives-Hash: 4c0856c41bbdf98c8d572c41de4307ee commit: 4c6b2aeae060091407e8e8bfaff191a3e363a585 Author: Tim Harder gentoo org> AuthorDate: Thu Oct 19 08:09:44 2017 +0000 Commit: Tim Harder gentoo org> CommitDate: Thu Oct 19 08:19:41 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6b2aea dev-python/pycountry: version bump to 17.9.23 dev-python/pycountry/Manifest | 1 + dev-python/pycountry/pycountry-17.9.23.ebuild | 30 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-python/pycountry/Manifest b/dev-python/pycountry/Manifest index 3567424fc08..ef57c2a3d07 100644 --- a/dev-python/pycountry/Manifest +++ b/dev-python/pycountry/Manifest @@ -1,2 +1,3 @@ DIST pycountry-16.11.8.tar.gz 9042735 SHA256 c9a0536699dfb46fb43ae1449999a921a79361030773bc3d35e00abfecb437c2 SHA512 eb0a91f1efae6aeace0b49cd44b0770efa0b57add208c4247e7f58a3c46774f9f8007c51ee88a0e108c90ced3ad69204b4322c9c23f51df0b2202aa98c314a37 WHIRLPOOL 7eb1bbe51ba14c3b4d1c4e210cf9698fef1b99d0b96c5800985d73431ada5604996f7412e3c0c7440dccaa052fe284f0babd660bc82b28508ed6abbaa7b78f16 DIST pycountry-17.5.14.tar.gz 9203433 SHA256 d31321e59a134aac326ac07d4b2595d63f7e7f755bcb503bdecca2bd1b54ff2f SHA512 bf5a13ce128f9512287f09c3edb565a3493bf490e420a01c8a45bbb96cfb2482674e8c81cf4db909a92db647f4ba71d03f4aca51995f6c64e4eb59f5c617bcea WHIRLPOOL 2f6b3125f0c1cfa3a7b20833aa74eff652a68a1834f4334fef01f475a340f36a2217c3e564087e77530032c21e46bd4970ca4c49ff3f5f2bf5b4a6b4dadc3c5f +DIST pycountry-17.9.23.tar.gz 9208478 SHA256 173c5e3a8884c5616c6595078cc8f27e65ce59c6d9aa8864bace0c6b1281c57a SHA512 168e2d2693629a39a85a4c6aa7187323693ca73d6af0cc947d3536ae373eca602e7e3add91ba114966db4ebf52118ef3d6a3dbf8339734ec68682bab559beeb5 WHIRLPOOL 12660ba0cd00438da8321a80b3085fdd9ffcfd4b212fd3bc5fbf5d55f73a5dd6c27fa51890277f055e519c030b2cf933492f1d40a613ca9cdd72795bbe05061c diff --git a/dev-python/pycountry/pycountry-17.9.23.ebuild b/dev-python/pycountry/pycountry-17.9.23.ebuild new file mode 100644 index 00000000000..5ab90f36de8 --- /dev/null +++ b/dev-python/pycountry/pycountry-17.9.23.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Database of countries, subdivisions, languages, currencies and script" +HOMEPAGE="https://bitbucket.org/flyingcircus/pycountry" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + # https://bitbucket.org/techtonik/pycountry/issue/8/test_locales-pycountry-015-pypy + pushd "${BUILD_DIR}"/lib > /dev/null + if [[ "${EPYTHON}" == pypy || "${EPYTHON}" == pypy3 ]]; then + sed -e 's:test_locales:_&:' -i pycountry/tests/test_general.py || die + fi + py.test ${PN}/tests/test_general.py || die + popd > /dev/null +}