1 |
commit: 2bd03a213b1c859d9d05d77f67ce1bf8b3490d31 |
2 |
Author: Robert Siebeck <gentoo.2019 <AT> r123 <DOT> de> |
3 |
AuthorDate: Wed Jan 13 22:48:28 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 4 10:20:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bd03a21 |
7 |
|
8 |
app-i18n/transifex-client: drop dependency to dev-python/mock |
9 |
|
10 |
Bug: https://bugs.gentoo.org/765349 |
11 |
Signed-off-by: Robert Siebeck <gentoo.2019 <AT> r123.de> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
.../transifex-client-0.14.2-r1.ebuild | 34 ++++++++++++++++++++++ |
15 |
1 file changed, 34 insertions(+) |
16 |
|
17 |
diff --git a/app-i18n/transifex-client/transifex-client-0.14.2-r1.ebuild b/app-i18n/transifex-client/transifex-client-0.14.2-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..9705b2b75d1 |
20 |
--- /dev/null |
21 |
+++ b/app-i18n/transifex-client/transifex-client-0.14.2-r1.ebuild |
22 |
@@ -0,0 +1,34 @@ |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
29 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
30 |
+ |
31 |
+inherit distutils-r1 |
32 |
+ |
33 |
+DESCRIPTION="A command line interface for Transifex" |
34 |
+HOMEPAGE="https://pypi.org/project/transifex-client/ https://www.transifex.net/" |
35 |
+SRC_URI="mirror://pypi/t/${PN}/${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="GPL-2" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+IUSE="test" |
41 |
+RESTRICT="!test? ( test )" |
42 |
+ |
43 |
+RDEPEND="dev-python/GitPython[${PYTHON_USEDEP}] |
44 |
+ <dev-python/python-slugify-5.0.0[${PYTHON_USEDEP}] |
45 |
+ dev-python/requests[${PYTHON_USEDEP}] |
46 |
+ <dev-python/six-2.0.0[${PYTHON_USEDEP}] |
47 |
+ dev-python/urllib3[${PYTHON_USEDEP}]" |
48 |
+ |
49 |
+distutils_enable_tests setup.py |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ eapply_user |
53 |
+ sed -i -e 's:test_fetch_timestamp_from_git_tree:_&:' \ |
54 |
+ tests/test_utils.py || die |
55 |
+ sed -i '/tests_require=\["mock>=3.0.5,<4.0"\]/d' setup.py || die |
56 |
+} |