mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
python3-transifex-client: transition to transifex-cli
This commit is contained in:
parent
9110dd47d2
commit
f96d38b8c5
4 changed files with 7 additions and 24 deletions
1
srcpkgs/python3-transifex-client
Symbolic link
1
srcpkgs/python3-transifex-client
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
transifex-cli
|
|
@ -1,9 +0,0 @@
|
||||||
--- a/requirements.txt 2019-03-05 20:38:40.487366801 +0100
|
|
||||||
+++ b/requirements.txt 2019-03-05 20:39:34.522087398 +0100
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-urllib3<1.24
|
|
||||||
-six==1.11.0
|
|
||||||
+urllib3>=1.24,<2.0.0
|
|
||||||
+six>=1.11.0,<2.0.0
|
|
||||||
requests>=2.19.1,<3.0.0
|
|
||||||
python-slugify==1.2.6
|
|
|
@ -1,15 +0,0 @@
|
||||||
# Template file for 'python3-transifex-client'
|
|
||||||
pkgname=python3-transifex-client
|
|
||||||
version=0.13.6
|
|
||||||
revision=4
|
|
||||||
wrksrc="transifex-client-${version}"
|
|
||||||
build_style=python3-module
|
|
||||||
pycompile_module="txclib"
|
|
||||||
hostmakedepends="python3-setuptools"
|
|
||||||
depends="python3-urllib3 python3-requests python3-six python3-slugify<1.2.7"
|
|
||||||
short_desc="Transifex command-line tool"
|
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
||||||
license="GPL-2.0-only"
|
|
||||||
homepage="https://www.transifex.com"
|
|
||||||
distfiles="https://github.com/transifex/transifex-client/archive/${version}.tar.gz"
|
|
||||||
checksum=460f3a829e57b8025280e03a6ad497a87beba142adb2e1579678227f49d4a9ab
|
|
|
@ -17,3 +17,9 @@ checksum=f8a76381294cdd75872de5b69acf2781d912e3a7e5e870bc41f0ee358715a3be
|
||||||
post_install() {
|
post_install() {
|
||||||
mv ${DESTDIR}/usr/bin/{cli,transifex}
|
mv ${DESTDIR}/usr/bin/{cli,transifex}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
python3-transifex-client_package() {
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" (transitional dummy package)"
|
||||||
|
build_style=meta
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue