From 265dbe5dbc14c199299496c6db8fce3f76647015 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 21 Sep 2018 18:00:10 +0100 Subject: gentoo resync : 21.09.2018 --- dev-python/pycountry/Manifest | 2 ++ dev-python/pycountry/pycountry-18.5.26.ebuild | 31 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 dev-python/pycountry/pycountry-18.5.26.ebuild (limited to 'dev-python/pycountry') diff --git a/dev-python/pycountry/Manifest b/dev-python/pycountry/Manifest index e304a2e4296c..6d52c3421bba 100644 --- a/dev-python/pycountry/Manifest +++ b/dev-python/pycountry/Manifest @@ -1,5 +1,7 @@ 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 EBUILD pycountry-16.11.8.ebuild 899 BLAKE2B 2dda12a1702376213f066862721dff6ae0a3daf3648a59d85563dc20f0379b15e0e94fa6b30e497fecbc8b41ab0a7afa0f3eab2a339e4ce07fab4c4b1a76b940 SHA512 09210a258600481ad258786cfd9762b9abd10a3a0aabab6951232373f566b775297bb376f287f39f34e249ea58b98c14bac5406785976ef151b91787f18e9c18 EBUILD pycountry-17.9.23.ebuild 902 BLAKE2B be0b84f41859a6c5a83818cec37eef308d6b8b5adf6884d471db28eb1e58367ba62e94a034adc981248fc8408db31b7556fde4e21c012f1b4fe6464ea6f7ee1b SHA512 99147ddc6406ceafc009e0f7e86fb244d19a2b746e0c63c3ed95bdf60bf3eec0731a596b90dd61de021bac530a6af70b95732a7782640f157aceeb538e1d5bfc +EBUILD pycountry-18.5.26.ebuild 899 BLAKE2B 7f1ce1ea6860526fa54c1370a3f495acae8e949983b69493e4924f52af01cd77f3f6146f350b37dac7bb48be440f1f431205edaf194e04c0364cef3442d0388d SHA512 0df7034e9eb8adc67bf4461cf1016af3453fcd69f94f5b04adddce8ac0a840ca797d89edbc209c4ab80c19ae43cf37e1691f39c3696139afbf86c5a8fa23c69a MISC metadata.xml 516 BLAKE2B 8e3dabec1ed6b181d44db184d87d2a7b05bef670aae39e71bc35c8d3fbd8e606c929b4b7abe5b8d6d8faa69ca373238fbb8c31d40334ef87d8ff6f07ea1c6f53 SHA512 901c2f02b6dcaacbaae30e82fe886b104051a434ed4c079443a77f5b474cef24f16f658cbe7c01a30966126af78d7950f65207bb8b16e2e1c9bfc71bc05d0c3a 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 000000000000..4f2beccae580 --- /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,3_7} 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 +} -- cgit v1.2.3