diff options
author | Robert Siebeck <gentoo.2019@r123.de> | 2021-07-05 19:52:20 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-07-14 17:32:42 +0300 |
commit | 150bae1016319f60c0862cdef534b52afab09efb (patch) | |
tree | 8a77845cb2153707e4594765f1a684bdf592ba5a /app-i18n/transifex-client | |
parent | x11-themes/papirus-icon-theme: drop 20210401 (diff) | |
download | gentoo-150bae1016319f60c0862cdef534b52afab09efb.tar.gz gentoo-150bae1016319f60c0862cdef534b52afab09efb.tar.bz2 gentoo-150bae1016319f60c0862cdef534b52afab09efb.zip |
app-i18n/transifex-client: add new version 0.14.3
Signed-off-by: Robert Siebeck <gentoo.2019@r123.de>
Closes: https://github.com/gentoo/gentoo/pull/21540
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-i18n/transifex-client')
-rw-r--r-- | app-i18n/transifex-client/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/transifex-client/transifex-client-0.14.3.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/app-i18n/transifex-client/Manifest b/app-i18n/transifex-client/Manifest index 3586445e35f7..6de5f4bc9710 100644 --- a/app-i18n/transifex-client/Manifest +++ b/app-i18n/transifex-client/Manifest @@ -1 +1,2 @@ DIST transifex-client-0.14.2.tar.gz 211398 BLAKE2B 4210a06da9fd09e689d28ae77a90c65f96cbba7b44a2cc506c2e385dc2f34659bfbda25eb81cef850442f4b3da22a859e19761798ec123888564b0327f0c6503 SHA512 5d7f8241d61621197df95cb42b2a8fb8088e77543f076c2401db14f7e44d67e49478d0b04cb525fc6281b37e5026edc8121f90cb7332e669d63be6112264044d +DIST transifex-client-0.14.3.tar.gz 211428 BLAKE2B cab17d7103016a78b226df6ca9905a0ddfd1b8765fb7b161c7390911ac5693d97e7a872a00cbc86e9c8e7d84fbcd85904768f463885bb679e22ab052463db418 SHA512 9034111fa0253ce8799c5ba181d6d35e2addd14b8c2edb7822d8d572255c27f49e4cfce9d82e7e70e352c32e87f2e7bdc6bf09c2a591e689606b0831414dd863 diff --git a/app-i18n/transifex-client/transifex-client-0.14.3.ebuild b/app-i18n/transifex-client/transifex-client-0.14.3.ebuild new file mode 100644 index 000000000000..2058d749de0b --- /dev/null +++ b/app-i18n/transifex-client/transifex-client-0.14.3.ebuild @@ -0,0 +1,40 @@ +# 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/ https://github.com/transifex/transifex-client" +SRC_URI="mirror://pypi/t/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" +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}]" + +PATCHES=( + "${FILESDIR}/${PN}-0.14.2-r1-timestamp.patch" +) + +distutils_enable_tests setup.py + +src_prepare() { + default + + 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 +} |