summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Legner2021-06-21 19:52:57 +0000
committerSimon Legner2021-06-21 19:52:57 +0000
commitd4994577ad506cfc5f78705c2820237c0bd5e9bf (patch)
treeaa2765b1459d96a7cb2a570a0b8c58c435782590
parent0b474841fd39acdcc3438d369cd26e3ab2e21146 (diff)
downloadaur-d4994577ad506cfc5f78705c2820237c0bd5e9bf.tar.gz
upgpkg: transifex-client 0.14.2-2
https://github.com/transifex/transifex-client/issues/323 Patch by yan12125.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 29a135530cc5..c11bfb405204 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = transifex-client
pkgdesc = The Transifex command-line tool to download and upload translations from Transifex
pkgver = 0.14.2
- pkgrel = 1
+ pkgrel = 2
url = http://pypi.python.org/pypi/transifex-client
arch = any
license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index 5384154ba1fd..85c5e7a9c1e8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=transifex-client
pkgver=0.14.2
-pkgrel=1
+pkgrel=2
pkgdesc="The Transifex command-line tool to download and upload translations from Transifex"
arch=('any')
url="http://pypi.python.org/pypi/transifex-client"
@@ -14,6 +14,11 @@ depends=('python-distribute' 'python-urllib3' 'python-six' 'python-requests'
source=("https://pypi.io/packages/source/t/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('b458c56d6d07d2d8269b43d5049026304ed9a34d31bdf655d9e1864807e7555b')
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ sed -i 's#python-slugify<5.0.0#python-slugify#' requirements.txt
+}
+
build() {
cd "${pkgname}-${pkgver}"
python setup.py build