1 |
commit: 96617c430559d99482be2146d3705b8583d7d710 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 20 08:05:23 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 20 08:43:08 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96617c43 |
7 |
|
8 |
dev-python/pycountry: Bump to 8.5.26 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pycountry/Manifest | 1 + |
13 |
dev-python/pycountry/pycountry-18.5.26.ebuild | 31 +++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pycountry/Manifest b/dev-python/pycountry/Manifest |
17 |
index a00882f9110..12c2615a330 100644 |
18 |
--- a/dev-python/pycountry/Manifest |
19 |
+++ b/dev-python/pycountry/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST pycountry-16.11.8.tar.gz 9042735 BLAKE2B 66f5dcb0b9b55be692e398c998babeb49542cb5383a706bb74091088eaa3703f41da33f59e2267046c53f8f025f85945096d1e8d251ad5af57c5d39a27896cf2 SHA512 eb0a91f1efae6aeace0b49cd44b0770efa0b57add208c4247e7f58a3c46774f9f8007c51ee88a0e108c90ced3ad69204b4322c9c23f51df0b2202aa98c314a37 |
22 |
DIST pycountry-17.9.23.tar.gz 9208478 BLAKE2B 381497b220991f76bdac235b71fd9c10984f5762e9cc16b813cb37cfef0444bbaada01e1ed9513848c681a06335ff58544f6f7c2217b51ef98c7415db4b3d285 SHA512 168e2d2693629a39a85a4c6aa7187323693ca73d6af0cc947d3536ae373eca602e7e3add91ba114966db4ebf52118ef3d6a3dbf8339734ec68682bab559beeb5 |
23 |
+DIST pycountry-18.5.26.tar.gz 9779056 BLAKE2B 11928f29cb7446db7159936619a5d0828af89ec7a2ca355d809c97887605174e41d3f93d7e459f3f37ce37b9a7650432df1e7619f9fdfa1f9ea010a39af4501a SHA512 9760175a7926347920542a2fd2420cc3d4f36ac11df5aa6f7aaabbd9b46dd9cb61801933133a589ed35fd2e279db2a70e98340d8cf8856987dc88d6fdb715437 |
24 |
|
25 |
diff --git a/dev-python/pycountry/pycountry-18.5.26.ebuild b/dev-python/pycountry/pycountry-18.5.26.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..4ceff4ecf3e |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pycountry/pycountry-18.5.26.ebuild |
30 |
@@ -0,0 +1,31 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Database of countries, subdivisions, languages, currencies and script" |
41 |
+HOMEPAGE="https://bitbucket.org/flyingcircus/pycountry" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="LGPL-2.1" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" |
47 |
+IUSE="test" |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
51 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
52 |
+ |
53 |
+python_test() { |
54 |
+ # https://bitbucket.org/techtonik/pycountry/issue/8/test_locales-pycountry-015-pypy |
55 |
+ pushd "${BUILD_DIR}"/lib > /dev/null || die |
56 |
+ if [[ ${EPYTHON} == pypy* ]]; then |
57 |
+ sed -e 's:test_locales:_&:' -i pycountry/tests/test_general.py || die |
58 |
+ fi |
59 |
+ pytest -vv || die |
60 |
+ popd > /dev/null || die |
61 |
+} |