diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pycountry |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pycountry')
-rw-r--r-- | dev-python/pycountry/Manifest | 7 | ||||
-rw-r--r-- | dev-python/pycountry/metadata.xml | 14 | ||||
-rw-r--r-- | dev-python/pycountry/pycountry-16.11.8.ebuild | 30 | ||||
-rw-r--r-- | dev-python/pycountry/pycountry-17.5.14.ebuild | 30 |
4 files changed, 81 insertions, 0 deletions
diff --git a/dev-python/pycountry/Manifest b/dev-python/pycountry/Manifest new file mode 100644 index 000000000000..d8f34522c648 --- /dev/null +++ b/dev-python/pycountry/Manifest @@ -0,0 +1,7 @@ +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 +EBUILD pycountry-16.11.8.ebuild 899 SHA256 89dd63282d5404c68fc62e885e1b12c1bf084f9eafdeafd91a4d9c4ef4dfe32b SHA512 09210a258600481ad258786cfd9762b9abd10a3a0aabab6951232373f566b775297bb376f287f39f34e249ea58b98c14bac5406785976ef151b91787f18e9c18 WHIRLPOOL b2bad51080cb51cd0684b0c2b46ce4ec3f0246206d2e0be99db6e87c672343b7230a435c2075a7d148e3b0aa8d9390ce9a13dbe2134d4113adf8ae5ba327c381 +EBUILD pycountry-17.5.14.ebuild 902 SHA256 bdf964060002e81294a6f062bf314dd0eee40dfdc9e2ab24254979cb6fd0de4f SHA512 99147ddc6406ceafc009e0f7e86fb244d19a2b746e0c63c3ed95bdf60bf3eec0731a596b90dd61de021bac530a6af70b95732a7782640f157aceeb538e1d5bfc WHIRLPOOL aa92820cff2c032b909e18a45847b28ab6db7b97441eb85cfa9e0490ad78c09fd80c699d850dfb27c4e62415eb17b9146693ef404ea90af6b185d1a8caf4d990 +MISC ChangeLog 4052 SHA256 22308c7a123bfa21f0ddd33936b822cdea8eb7ab34f8f0984dd4af99b64ec2d5 SHA512 c0cfca11083eb39f0084b13e949e8f57ab63d41f62fee55b23bcfa1d3873b8857641a220a7280a2f56339671135cb47fb224eacd70bce500f324c2ede4ffa8e6 WHIRLPOOL 8a9b8aa7497c40746fc8af8e6264c4d4374e53f666041b900cbe033c2fcc579b2a37e21d5a1ca54bde9ad3a48e80db60b97f9aba644b166294dc96e46f5c6eee +MISC ChangeLog-2015 5404 SHA256 197484a59534cac30f229b1e694337a9af9dd10f39c702496cbc121264d5a898 SHA512 5170da2d329c4fcdf01f501ca7afd09fa0ac8a3abba99f0516af64e0237de554fb6ba44a3474025c391802cb0f4cb5ae9e714ff9a439c2004f9bf829fd829510 WHIRLPOOL bd7d0ca1315652ec50bf7cc7664781e05c71e13bd82b12b60befbb46a36e09f144dbd70de2f5945f2ea9f5e209f188511bb98612f635a8457adbaf846296236b +MISC metadata.xml 516 SHA256 6a09e52b34175a035171b1fdc2d3a6764eb7582cc7ae4c4744428472ab84dcdc SHA512 901c2f02b6dcaacbaae30e82fe886b104051a434ed4c079443a77f5b474cef24f16f658cbe7c01a30966126af78d7950f65207bb8b16e2e1c9bfc71bc05d0c3a WHIRLPOOL 2df71ec33c11095483ec5be77626ce8a77c3ce6d3c13ba5869c1d6c27b710f07e9af8b7ce79cc06d2a4f69afaf4f588f599875b25d6e8d593fb496037db318dc diff --git a/dev-python/pycountry/metadata.xml b/dev-python/pycountry/metadata.xml new file mode 100644 index 000000000000..d3c69a8b0ffa --- /dev/null +++ b/dev-python/pycountry/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription lang="en">ISO country, subdivision, language, currency and script definitions and + their translations</longdescription> + <upstream> + <remote-id type="pypi">pycountry</remote-id> + <remote-id type="bitbucket">flyingcircus/pycountry</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pycountry/pycountry-16.11.8.ebuild b/dev-python/pycountry/pycountry-16.11.8.ebuild new file mode 100644 index 000000000000..1cb7ab86604d --- /dev/null +++ b/dev-python/pycountry/pycountry-16.11.8.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 +} diff --git a/dev-python/pycountry/pycountry-17.5.14.ebuild b/dev-python/pycountry/pycountry-17.5.14.ebuild new file mode 100644 index 000000000000..5ab90f36de86 --- /dev/null +++ b/dev-python/pycountry/pycountry-17.5.14.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 +} |