1 |
commit: 694bab8c897ab30ebaa9c248cbf6c3c0bc919d5a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 10 19:57:59 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 10 20:00:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=694bab8c |
7 |
|
8 |
dev-python/pycountry: Bump to 22.1.10 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pycountry/Manifest | 1 + |
13 |
dev-python/pycountry/pycountry-22.1.10.ebuild | 26 ++++++++++++++++++++++++++ |
14 |
2 files changed, 27 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pycountry/Manifest b/dev-python/pycountry/Manifest |
17 |
index 9d5f70307bdd..3df4a19e3177 100644 |
18 |
--- a/dev-python/pycountry/Manifest |
19 |
+++ b/dev-python/pycountry/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pycountry-20.7.3.tar.gz 10137217 BLAKE2B 2b32d450a1d16eab95e0c1ab6cae3bf89c07742d48cf6f8473854119ac0483b5490523e03e823c9b314231983f39d1c8bf595aac201756fee9897a8d15a84c08 SHA512 df88a34307a4275267a7f3af282b73ca5e762c49ad158bfcd39b97c5d852bf045bcfe72351fc6f232c55003a7c4b0a04801eb562ba65ed5d599bd45b2bd3bc58 |
22 |
+DIST pycountry-22.1.10.tar.gz 10060795 BLAKE2B 51672b2e08e48528797e57e6a546261d4ceee0af364d5c943f243a5956008ffc417b02e553f376c252bfbfbf76af40585c9f910815a9c2943ff88be6fb9d4180 SHA512 93e5737df29affe5bbf8a2aa2caef59727adcc198eab301a5ddbc4275e32955cec0de9ab2820470a8cf87b0c0a9d48bfddd18411d93a700212aba8372e5a52b4 |
23 |
|
24 |
diff --git a/dev-python/pycountry/pycountry-22.1.10.ebuild b/dev-python/pycountry/pycountry-22.1.10.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..4fdb4fe48709 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pycountry/pycountry-22.1.10.ebuild |
29 |
@@ -0,0 +1,26 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( pypy3 python3_{8..10} ) |
36 |
+# The package uses pkg_resources to determine its version |
37 |
+DISTUTILS_USE_SETUPTOOLS=manual |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Database of countries, subdivisions, languages, currencies and script" |
42 |
+HOMEPAGE="https://github.com/flyingcircusio/pycountry" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="LGPL-2.1" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~riscv ~sparc ~x86" |
48 |
+ |
49 |
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
50 |
+BDEPEND="${RDEPEND}" |
51 |
+ |
52 |
+distutils_enable_tests --install pytest |
53 |
+ |
54 |
+# https://github.com/flyingcircusio/pycountry/pull/51 |
55 |
+PATCHES=( "${FILESDIR}/pycountry-20.7.3-fix-tests-for-pypy3.patch" ) |