summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Fontenelle2018-10-10 11:08:15 -0300
committerRafael Fontenelle2018-10-10 11:08:15 -0300
commitd9c8ebcf7c4a2846472bedb3847bdf655f919b2d (patch)
tree991da33dce20e6a71ffba41a6f33ae8611a62e42
parent09e8b71f8d50a6096aba30551256ad4d80cb689c (diff)
downloadaur-python2-translate-toolkit-lib.tar.gz
Update to 2.3.1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4aa00cfbaf7..0ed4704bd69 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python2-translate-toolkit-lib
pkgdesc = A toolkit to convert between various different translation formats, help process and validate localisations
- pkgver = 2.3.0
- pkgrel = 2
+ pkgver = 2.3.1
+ pkgrel = 1
url = http://toolkit.translatehouse.org/
arch = any
license = GPL
@@ -11,8 +11,8 @@ pkgbase = python2-translate-toolkit-lib
depends = python2-six
depends = python2-diff-match-patch
optdepends = gaupol: for po2sub
- source = https://github.com/translate/translate/releases/download/2.3.0/translate-toolkit-2.3.0.tar.gz
- sha256sums = 763325a419fdf2d5429e24bad42f33bccca7eb58279f57ddd742c4c3ea794ccb
+ source = translate-toolkit-2.3.1.tar.gz::https://github.com/translate/translate/archive/2.3.1.tar.gz
+ sha256sums = 0b2d79f0023ce545c6240829624ce1e1ce54ea7bc7913428880345ff423fd999
pkgname = python2-translate-toolkit-lib
diff --git a/PKGBUILD b/PKGBUILD
index a3554956d83..434566a2f07 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
pkgname=python2-translate-toolkit-lib
_name=translate-toolkit
-pkgver=2.3.0
-pkgrel=2
+pkgver=2.3.1
+pkgrel=1
pkgdesc="A toolkit to convert between various different translation formats, help process and validate localisations"
arch=('any')
url="http://toolkit.translatehouse.org/"
@@ -11,23 +11,23 @@ license=('GPL')
depends=('bash' 'python2-lxml' 'python2-six' 'python2-diff-match-patch')
makedepends=('python2-setuptools')
optdepends=('gaupol: for po2sub')
-source=("https://github.com/translate/translate/releases/download/$pkgver/$_name-${pkgver}.tar.gz")
-sha256sums=('763325a419fdf2d5429e24bad42f33bccca7eb58279f57ddd742c4c3ea794ccb')
+source=($_name-$pkgver.tar.gz::https://github.com/translate/translate/archive/$pkgver.tar.gz)
+sha256sums=('0b2d79f0023ce545c6240829624ce1e1ce54ea7bc7913428880345ff423fd999')
prepare() {
- cd $_name-$pkgver
+ cd translate-$pkgver
sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
$(find . -name '*.py')
}
build() {
- cd $_name-$pkgver
+ cd translate-$pkgver
python2 -s setup.py build
}
package() {
- cd $_name-$pkgver
+ cd translate-$pkgver
python2 -s setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
python2 -m compileall "$pkgdir/usr/lib/python2.7/site-packages/translate"