1 |
commit: d6470e173afa9efa781e8c52a48552cfa1ec1fbf |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 13 15:51:45 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 16 17:43:29 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6470e17 |
7 |
|
8 |
dev-python/flufl-i18n: Bump to 4.0 |
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-4.0.ebuild | 29 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 30 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/flufl-i18n/Manifest b/dev-python/flufl-i18n/Manifest |
17 |
index 1699294c6436..3082a73d62ab 100644 |
18 |
--- a/dev-python/flufl-i18n/Manifest |
19 |
+++ b/dev-python/flufl-i18n/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST flufl.i18n-3.2.tar.gz 24209 BLAKE2B dc827eb4099670c6e5c39ebc8702fcda146b20a3978fa56108ab98a05d2c8911e705b71dacd6b9fc7fae9923d009487f6f047baa0dcd06a5de2e4f4d5fafc465 SHA512 07f329d026f24db623045f3c9857bcaacc1f0982066d4409fc060c4f712716044f96321a4e4909cbc85932f36fc76f71b9d118662ba837fd85b22754ce2d25c7 |
22 |
+DIST flufl.i18n-4.0.tar.gz 21119 BLAKE2B 6bd4a311c3df56b03a0d46164f7f1ee1eeeb257478a82515261894f4cdf3017b150f1e13ce95a08f50ed5e01cf736884c7ba05a96e3f6b90917418ed18462753 SHA512 03e953af7e406d24a64d334647008e222cf74e5e055865638a52d8ec7e25edae44046aa4dfa8766b5a1458b335e9e29bd8b3e89703d8c8b28ab777375da19712 |
23 |
|
24 |
diff --git a/dev-python/flufl-i18n/flufl-i18n-4.0.ebuild b/dev-python/flufl-i18n/flufl-i18n-4.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..f343ff90edc2 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/flufl-i18n/flufl-i18n-4.0.ebuild |
29 |
@@ -0,0 +1,29 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=pdm |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+MY_P=${P/-/.} |
40 |
+ |
41 |
+DESCRIPTION="A high level API for Python internationalization" |
42 |
+HOMEPAGE="https://gitlab.com/warsaw/flufl.i18n" |
43 |
+SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" |
44 |
+S="${WORKDIR}/${MY_P}" |
45 |
+ |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64" |
49 |
+ |
50 |
+RDEPEND="dev-python/atpublic[${PYTHON_USEDEP}]" |
51 |
+BDEPEND="test? ( dev-python/sybil[${PYTHON_USEDEP}] )" |
52 |
+ |
53 |
+distutils_enable_tests pytest |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ sed -e '/addopts/d' -i pyproject.toml || die |
57 |
+ distutils-r1_src_prepare |
58 |
+} |