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 81C46138334 for ; Thu, 20 Sep 2018 08:43:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87EFCE091D; Thu, 20 Sep 2018 08:43:15 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 4ABCCE091D for ; Thu, 20 Sep 2018 08:43:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 DE086335C39 for ; Thu, 20 Sep 2018 08:43:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 924373D5 for ; Thu, 20 Sep 2018 08:43:11 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1537432988.96617c430559d99482be2146d3705b8583d7d710.mgorny@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-18.5.26.ebuild X-VCS-Directories: dev-python/pycountry/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 96617c430559d99482be2146d3705b8583d7d710 X-VCS-Branch: master Date: Thu, 20 Sep 2018 08:43:11 +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: 39c62344-b182-4c00-a5d3-90993313966a X-Archives-Hash: d5015eb8f61c6b951b1971e244c4cf6b commit: 96617c430559d99482be2146d3705b8583d7d710 Author: Michał Górny gentoo org> AuthorDate: Thu Sep 20 08:05:23 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Sep 20 08:43:08 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96617c43 dev-python/pycountry: Bump to 8.5.26 Signed-off-by: Michał Górny gentoo.org> dev-python/pycountry/Manifest | 1 + dev-python/pycountry/pycountry-18.5.26.ebuild | 31 +++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/dev-python/pycountry/Manifest b/dev-python/pycountry/Manifest index a00882f9110..12c2615a330 100644 --- a/dev-python/pycountry/Manifest +++ b/dev-python/pycountry/Manifest @@ -1,2 +1,3 @@ DIST pycountry-16.11.8.tar.gz 9042735 BLAKE2B 66f5dcb0b9b55be692e398c998babeb49542cb5383a706bb74091088eaa3703f41da33f59e2267046c53f8f025f85945096d1e8d251ad5af57c5d39a27896cf2 SHA512 eb0a91f1efae6aeace0b49cd44b0770efa0b57add208c4247e7f58a3c46774f9f8007c51ee88a0e108c90ced3ad69204b4322c9c23f51df0b2202aa98c314a37 DIST pycountry-17.9.23.tar.gz 9208478 BLAKE2B 381497b220991f76bdac235b71fd9c10984f5762e9cc16b813cb37cfef0444bbaada01e1ed9513848c681a06335ff58544f6f7c2217b51ef98c7415db4b3d285 SHA512 168e2d2693629a39a85a4c6aa7187323693ca73d6af0cc947d3536ae373eca602e7e3add91ba114966db4ebf52118ef3d6a3dbf8339734ec68682bab559beeb5 +DIST pycountry-18.5.26.tar.gz 9779056 BLAKE2B 11928f29cb7446db7159936619a5d0828af89ec7a2ca355d809c97887605174e41d3f93d7e459f3f37ce37b9a7650432df1e7619f9fdfa1f9ea010a39af4501a SHA512 9760175a7926347920542a2fd2420cc3d4f36ac11df5aa6f7aaabbd9b46dd9cb61801933133a589ed35fd2e279db2a70e98340d8cf8856987dc88d6fdb715437 diff --git a/dev-python/pycountry/pycountry-18.5.26.ebuild b/dev-python/pycountry/pycountry-18.5.26.ebuild new file mode 100644 index 00000000000..4ceff4ecf3e --- /dev/null +++ b/dev-python/pycountry/pycountry-18.5.26.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 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="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( 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 || die + if [[ ${EPYTHON} == pypy* ]]; then + sed -e 's:test_locales:_&:' -i pycountry/tests/test_general.py || die + fi + pytest -vv || die + popd > /dev/null || die +}