1 |
commit: e2a04109398de08531e9dc753196262e9933489c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 09:06:36 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 09:16:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2a04109 |
7 |
|
8 |
dev-python/flufl-i18n: Bump to 3.1.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/flufl-i18n/Manifest | 1 + |
13 |
dev-python/flufl-i18n/flufl-i18n-3.1.4.ebuild | 37 +++++++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/flufl-i18n/Manifest b/dev-python/flufl-i18n/Manifest |
17 |
index 82d120c4cfe..1fe6181654f 100644 |
18 |
--- a/dev-python/flufl-i18n/Manifest |
19 |
+++ b/dev-python/flufl-i18n/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST flufl-i18n-2.0.2.tar.gz 19106 BLAKE2B 407f69708234e4c24403733c752ed79dfc0ff7d269a325c2d599ac00a0de077dfe63078fd050556f683008296885f397a59ea42b6d0692549856535166e63805 SHA512 05d9283bed456ee8d48704dc595f514e13b0c74096df177ed49bf178987baeee014ddc4331cc7d36edffbee1dcb58fcae152c2cb317b7ce73d9630864b98f1cd |
22 |
+DIST flufl.i18n-3.1.4.tar.gz 24058 BLAKE2B 1652ea9d0ff7b853298b3647da0fa4c692b9f227f42873194dcff00b119316f425012c534bbd5df87125517bf12cdd7a6d5eaa807f1bacf7c6c82967e8880adb SHA512 02de410e1ca911e2c452b5dd48868c8c409817b867c58dbebdda6aff6dfe4d09b2f7ac4c293cbc1306eb5caa17c1f5a63e9d8c0ee59e8e41058ce0a4517257ea |
23 |
|
24 |
diff --git a/dev-python/flufl-i18n/flufl-i18n-3.1.4.ebuild b/dev-python/flufl-i18n/flufl-i18n-3.1.4.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..bc9300e4f4e |
27 |
--- /dev/null |
28 |
+++ b/dev-python/flufl-i18n/flufl-i18n-3.1.4.ebuild |
29 |
@@ -0,0 +1,37 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+MY_P=${P/-/.} |
39 |
+DESCRIPTION="A high level API for Python internationalization" |
40 |
+HOMEPAGE="https://gitlab.com/warsaw/flufl.i18n" |
41 |
+SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" |
42 |
+S=${WORKDIR}/${MY_P} |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dev-python/atpublic[${PYTHON_USEDEP}] |
50 |
+ $(python_gen_cond_dep ' |
51 |
+ dev-python/typing-extensions[${PYTHON_USEDEP}] |
52 |
+ ' python3_7)" |
53 |
+BDEPEND=" |
54 |
+ test? ( dev-python/sybil[${PYTHON_USEDEP}] )" |
55 |
+ |
56 |
+distutils_enable_tests pytest |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ sed -i -e 's:--cov=flufl::' setup.cfg || die |
60 |
+ distutils-r1_src_prepare |
61 |
+} |
62 |
+ |
63 |
+python_install_all() { |
64 |
+ distutils-r1_python_install_all |
65 |
+ find "${D}" -name '*.pth' -delete || die |
66 |
+} |