Skip to content

Commit

Permalink
app-i18n/transifex-client: add new version 0.14.3
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Siebeck <[email protected]>
Closes: gentoo#21540
Signed-off-by: Joonas Niilola <[email protected]>
  • Loading branch information
robert7k authored and juippis committed Jul 14, 2021
1 parent 10ec652 commit 150bae1
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-i18n/transifex-client/Manifest
Original file line number Diff line number Diff line change
@@ -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
40 changes: 40 additions & 0 deletions app-i18n/transifex-client/transifex-client-0.14.3.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 150bae1

Please sign in to comment.