1 |
commit: 70214372b90cb3e40161aea5372f1e318b7bf51f |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 19 11:46:11 2016 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 19 12:45:34 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70214372 |
7 |
|
8 |
dev-python/pycountry: Bump |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
dev-python/pycountry/Manifest | 1 + |
13 |
dev-python/pycountry/pycountry-1.20.ebuild | 31 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pycountry/Manifest b/dev-python/pycountry/Manifest |
17 |
index 29c4299..7971966 100644 |
18 |
--- a/dev-python/pycountry/Manifest |
19 |
+++ b/dev-python/pycountry/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST pycountry-1.18.tar.gz 5020542 SHA256 23bb173d0281e98eb7b432d8dc6819e5fe6573e505454d228558f61e1f5ae1e6 SHA512 eab2bf1711f514b3842aee6004a904573e974b13757cf3c1a388eb8a292d92e3bdb801265a1c146df5fd510bd830297ddfcc64e41c0ed17c385335837f6721dc WHIRLPOOL c697250bbe13e9b471e0b19857d4afcfdaaf85410a07131727e75c23ac5d7f214682e993f1d799c26417e79ae78b83400e0e3401d2bcbb4afae5d40bf9456346 |
22 |
DIST pycountry-1.19.tar.gz 5022557 SHA256 132ecf3343e4bde8fd0c48a4345a4a8a6144fbdcdaf190a43a7e34c99e91be4d SHA512 850d32504c984d1e2959a909fc367da402b1d1adf4f19914fbbf61784fe30487c5ea92e5579ecfd80bff040cffabc9335d55589df32f54af0de032e042a49c77 WHIRLPOOL c21da359d57573e983db9e9d6c5a556e15c4db1436624b6645af24946338d1728beac8ab7c1cc4e66e8a3571f60c1d5e7b398151a322670c1ad7caa21d6ab19f |
23 |
+DIST pycountry-1.20.tar.gz 5024012 SHA256 0588efa3171e1d5e4cc96fce569ac865964285fdc8dbdc0860844f74598d1f98 SHA512 316e37b4cd800d87f010282a79e47b833b4ee836342ae0e672a5d115c543a8a0e3f508cc4498367aa254317e9747483c7026dac7273d3daa19acd2153635f854 WHIRLPOOL 2516662d06148c5fd3a10efb9715113cf13abe7183fe4b94491b473a24dc47b4d626a77489365b4f2e02a0cc7417ef59dfea21b2b142876981075fc5b05e7d62 |
24 |
|
25 |
diff --git a/dev-python/pycountry/pycountry-1.20.ebuild b/dev-python/pycountry/pycountry-1.20.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..d190959 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pycountry/pycountry-1.20.ebuild |
30 |
@@ -0,0 +1,31 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Database of countries, subdivisions, languages, currencies and script" |
42 |
+HOMEPAGE="https://bitbucket.org/flyingcircus/pycountry" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~ia64 ~sparc ~ppc ~x86" |
48 |
+IUSE="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 |
56 |
+ if [[ "${EPYTHON}" == pypy || "${EPYTHON}" == pypy3 ]]; then |
57 |
+ sed -e 's:test_locales:_&:' -i pycountry/tests/test_general.py || die |
58 |
+ fi |
59 |
+ py.test ${PN}/tests/test_general.py || die |
60 |
+ popd > /dev/null |
61 |
+} |