summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
2 files changed, 8 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0ed4704bd69..151553abab9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python2-translate-toolkit-lib
pkgdesc = A toolkit to convert between various different translation formats, help process and validate localisations
- pkgver = 2.3.1
+ pkgver = 2.4.0
pkgrel = 1
url = http://toolkit.translatehouse.org/
arch = any
@@ -10,9 +10,9 @@ pkgbase = python2-translate-toolkit-lib
depends = python2-lxml
depends = python2-six
depends = python2-diff-match-patch
- optdepends = gaupol: for po2sub
- source = translate-toolkit-2.3.1.tar.gz::https://github.com/translate/translate/archive/2.3.1.tar.gz
- sha256sums = 0b2d79f0023ce545c6240829624ce1e1ce54ea7bc7913428880345ff423fd999
+ depends = python2-cheroot
+ source = translate-toolkit-2.4.0.tar.gz::https://github.com/translate/translate/archive/2.4.0.tar.gz
+ sha256sums = 7f1d6a9566bb512fd88d51bd8bc920f42e379c91a4686761dbe89762f8a3a51d
pkgname = python2-translate-toolkit-lib
diff --git a/PKGBUILD b/PKGBUILD
index 434566a2f07..2483b5ff672 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,16 @@
pkgname=python2-translate-toolkit-lib
_name=translate-toolkit
-pkgver=2.3.1
+pkgver=2.4.0
pkgrel=1
pkgdesc="A toolkit to convert between various different translation formats, help process and validate localisations"
arch=('any')
url="http://toolkit.translatehouse.org/"
license=('GPL')
-depends=('bash' 'python2-lxml' 'python2-six' 'python2-diff-match-patch')
+depends=('bash' 'python2-lxml' 'python2-six' 'python2-diff-match-patch' 'python2-cheroot')
makedepends=('python2-setuptools')
-optdepends=('gaupol: for po2sub')
source=($_name-$pkgver.tar.gz::https://github.com/translate/translate/archive/$pkgver.tar.gz)
-sha256sums=('0b2d79f0023ce545c6240829624ce1e1ce54ea7bc7913428880345ff423fd999')
+sha256sums=('7f1d6a9566bb512fd88d51bd8bc920f42e379c91a4686761dbe89762f8a3a51d')
prepare() {
cd translate-$pkgver
@@ -21,14 +20,9 @@ prepare() {
$(find . -name '*.py')
}
-build() {
- cd translate-$pkgver
- python2 -s setup.py build
-}
-
package() {
cd translate-$pkgver
- python2 -s setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
+ python2 -s setup.py install --root="${pkgdir}" --optimize=1
python2 -m compileall "$pkgdir/usr/lib/python2.7/site-packages/translate"
# keep tmserver and podebug for virtaal, and