1 |
commit: 3684c0b3011423bdba5953097930784ba84d0535 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 28 23:57:10 2015 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 28 23:57:47 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3684c0b3 |
7 |
|
8 |
dev-python/pycountry: version bump |
9 |
|
10 |
dev-python/pycountry/Manifest | 1 + |
11 |
dev-python/pycountry/pycountry-1.14.ebuild | 31 ++++++++++++++++++++++++++++++ |
12 |
2 files changed, 32 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/pycountry/Manifest b/dev-python/pycountry/Manifest |
15 |
index 9ddc602..03653d7 100644 |
16 |
--- a/dev-python/pycountry/Manifest |
17 |
+++ b/dev-python/pycountry/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST pycountry-1.12.tar.gz 18606424 SHA256 dce2893ceac5d5264e7d0b6bf9f0421fb9ff87b7459d1c65a518fbcd826245e9 SHA512 6a9bfb47ce56098bc8f536afc5e671cd65304213df1e3c9754bcaac8e3cdb8293c75ec59649be5df8b974f36be333ed35fe4cd4d274baa183cfd6455d9241702 WHIRLPOOL 531fcfa4caeec4eda11c657e7a374d2668808ee9b94cb5192603049824fbd12a6999682a321d4c577f836acd9106f667f85312ec29e9d78fca74b7b93c297356 |
20 |
DIST pycountry-1.13.tar.gz 5007397 SHA256 3b72f2c334e702d463205e510d8d9b3fc8364a2f647074f543a1da2602730918 SHA512 1b32e87630efa8d3b6fbd4f60ce837c4df451fb097402b658d63ba6589b5761c719a80232142d557a7220ad549fcf4cb686b12ab3b3b5f2be51253548d0169ac WHIRLPOOL bc5818ce45c5bb23bb37a4e375acdfcc9419aa602940985a519a1941f28655156d46a0f17b2ace87e92f8f62af6fdf81b89817c69f2f5a4e12d1a026cbb9eefd |
21 |
+DIST pycountry-1.14.tar.gz 5009511 SHA256 e5012671e4c1e0280574fff5bce50d892e8b56dea43e867661088c1bf91c2f0c SHA512 93196bed14b616fd696ff993da8b49254c5fd1f9af37f5519e64b27d7e58cee25ace8fcfbe0328fc6e03f1ad5f3be70c390f467643ad9b419b3ec65e03c7adbf WHIRLPOOL 6231af9dc9f63d4b22b10ca0bbbded9a9e3e2d5728825dc84ea86eeee3e8d1c39b7c3331187cbff53cd572cfeb1fa3639c8452d97a6cddc317b06bbeac5e431d |
22 |
|
23 |
diff --git a/dev-python/pycountry/pycountry-1.14.ebuild b/dev-python/pycountry/pycountry-1.14.ebuild |
24 |
new file mode 100644 |
25 |
index 0000000..3b6b492 |
26 |
--- /dev/null |
27 |
+++ b/dev-python/pycountry/pycountry-1.14.ebuild |
28 |
@@ -0,0 +1,31 @@ |
29 |
+# Copyright 1999-2015 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+# $Id$ |
32 |
+ |
33 |
+EAPI=5 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="ISO country, subdivision, language, currency and script definitions and their translations" |
40 |
+HOMEPAGE="https://pypi.python.org/pypi/pycountry" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~ia64 ~sparc ~ppc ~x86" |
46 |
+IUSE="test" |
47 |
+ |
48 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
49 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
50 |
+ |
51 |
+python_test() { |
52 |
+ # https://bitbucket.org/techtonik/pycountry/issue/8/test_locales-pycountry-015-pypy |
53 |
+ pushd "${BUILD_DIR}"/lib > /dev/null |
54 |
+ if [[ "${EPYTHON}" == pypy || "${EPYTHON}" == pypy3 ]]; then |
55 |
+ sed -e 's:test_locales:_&:' -i pycountry/tests/test_general.py || die |
56 |
+ fi |
57 |
+ py.test ${PN}/tests/test_general.py || die |
58 |
+ popd > /dev/null |
59 |
+} |