1 |
commit: 150bae1016319f60c0862cdef534b52afab09efb |
2 |
Author: Robert Siebeck <gentoo.2019 <AT> r123 <DOT> de> |
3 |
AuthorDate: Mon Jul 5 17:52:20 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 14 14:32:42 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=150bae10 |
7 |
|
8 |
app-i18n/transifex-client: add new version 0.14.3 |
9 |
|
10 |
Signed-off-by: Robert Siebeck <gentoo.2019 <AT> r123.de> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/21540 |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
app-i18n/transifex-client/Manifest | 1 + |
15 |
.../transifex-client-0.14.3.ebuild | 40 ++++++++++++++++++++++ |
16 |
2 files changed, 41 insertions(+) |
17 |
|
18 |
diff --git a/app-i18n/transifex-client/Manifest b/app-i18n/transifex-client/Manifest |
19 |
index 3586445e35f..6de5f4bc971 100644 |
20 |
--- a/app-i18n/transifex-client/Manifest |
21 |
+++ b/app-i18n/transifex-client/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST transifex-client-0.14.2.tar.gz 211398 BLAKE2B 4210a06da9fd09e689d28ae77a90c65f96cbba7b44a2cc506c2e385dc2f34659bfbda25eb81cef850442f4b3da22a859e19761798ec123888564b0327f0c6503 SHA512 5d7f8241d61621197df95cb42b2a8fb8088e77543f076c2401db14f7e44d67e49478d0b04cb525fc6281b37e5026edc8121f90cb7332e669d63be6112264044d |
24 |
+DIST transifex-client-0.14.3.tar.gz 211428 BLAKE2B cab17d7103016a78b226df6ca9905a0ddfd1b8765fb7b161c7390911ac5693d97e7a872a00cbc86e9c8e7d84fbcd85904768f463885bb679e22ab052463db418 SHA512 9034111fa0253ce8799c5ba181d6d35e2addd14b8c2edb7822d8d572255c27f49e4cfce9d82e7e70e352c32e87f2e7bdc6bf09c2a591e689606b0831414dd863 |
25 |
|
26 |
diff --git a/app-i18n/transifex-client/transifex-client-0.14.3.ebuild b/app-i18n/transifex-client/transifex-client-0.14.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..2058d749de0 |
29 |
--- /dev/null |
30 |
+++ b/app-i18n/transifex-client/transifex-client-0.14.3.ebuild |
31 |
@@ -0,0 +1,40 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
38 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="A command line interface for Transifex" |
43 |
+HOMEPAGE="https://pypi.org/project/transifex-client/ https://www.transifex.net/ https://github.com/transifex/transifex-client" |
44 |
+SRC_URI="mirror://pypi/t/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="GPL-2" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~ppc64 ~x86" |
49 |
+IUSE="test" |
50 |
+RESTRICT="!test? ( test )" |
51 |
+ |
52 |
+BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" |
53 |
+RDEPEND="dev-python/GitPython[${PYTHON_USEDEP}] |
54 |
+ <dev-python/python-slugify-5.0.0[${PYTHON_USEDEP}] |
55 |
+ dev-python/requests[${PYTHON_USEDEP}] |
56 |
+ <dev-python/six-2.0.0[${PYTHON_USEDEP}] |
57 |
+ dev-python/urllib3[${PYTHON_USEDEP}]" |
58 |
+ |
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}/${PN}-0.14.2-r1-timestamp.patch" |
61 |
+) |
62 |
+ |
63 |
+distutils_enable_tests setup.py |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ |
68 |
+ sed -i -e 's:test_fetch_timestamp_from_git_tree:_&:' \ |
69 |
+ tests/test_utils.py || die |
70 |
+ sed -i '/tests_require=\["mock>=3.0.5,<4.0"\]/d' setup.py || die |
71 |
+} |