diff options
author | Robert Siebeck <gentoo.2019@r123.de> | 2021-01-13 23:48:28 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-02-04 12:20:45 +0200 |
commit | 2bd03a213b1c859d9d05d77f67ce1bf8b3490d31 (patch) | |
tree | 6f467e9e41c2a7d1cdcbd5ed2dfd1e42200bd587 /app-i18n/transifex-client | |
parent | www-servers/tomcat: bump to 9.0.43 (diff) | |
download | gentoo-2bd03a213b1c859d9d05d77f67ce1bf8b3490d31.tar.gz gentoo-2bd03a213b1c859d9d05d77f67ce1bf8b3490d31.tar.bz2 gentoo-2bd03a213b1c859d9d05d77f67ce1bf8b3490d31.zip |
app-i18n/transifex-client: drop dependency to dev-python/mock
Bug: https://bugs.gentoo.org/765349
Signed-off-by: Robert Siebeck <gentoo.2019@r123.de>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-i18n/transifex-client')
-rw-r--r-- | app-i18n/transifex-client/transifex-client-0.14.2-r1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
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 new file mode 100644 index 000000000000..9705b2b75d1f --- /dev/null +++ b/app-i18n/transifex-client/transifex-client-0.14.2-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="A command line interface for Transifex" +HOMEPAGE="https://pypi.org/project/transifex-client/ https://www.transifex.net/" +SRC_URI="mirror://pypi/t/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/GitPython[${PYTHON_USEDEP}] + <dev-python/python-slugify-5.0.0[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + <dev-python/six-2.0.0[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}]" + +distutils_enable_tests setup.py + +src_prepare() { + eapply_user + sed -i -e 's:test_fetch_timestamp_from_git_tree:_&:' \ + tests/test_utils.py || die + sed -i '/tests_require=\["mock>=3.0.5,<4.0"\]/d' setup.py || die +} |