[arch-commits] Commit in translate-toolkit/trunk (PKGBUILD)

Jaroslav Lichtblau jlichtblau at archlinux.org
Sun Sep 10 18:50:37 UTC 2017


    Date: Sunday, September 10, 2017 @ 18:50:36
  Author: jlichtblau
Revision: 256798

upgpkg: translate-toolkit 2.2.5-1 - new upstream release
Fixed FS#52941, FS#53486, FS#52943

Modified:
  translate-toolkit/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-10 18:45:50 UTC (rev 256797)
+++ PKGBUILD	2017-09-10 18:50:36 UTC (rev 256798)
@@ -1,24 +1,27 @@
+# $Id$
 # Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
 # Contributor: Hugo Doria <hugodoria at gmail.com>
 
 pkgname=translate-toolkit
-pkgver=2.2.4
+pkgver=2.2.5
 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' 'python-lxml' 'python-six')
+depends=('bash' 'python-lxml' 'python-six' 'python-diff-match-patch')
 makedepends=('python-setuptools')
 optdepends=('python-iniparse: for ini2po'
-            'gaupol: for po2sub')
-source=("https://github.com/translate/translate/releases/download/$pkgver/${pkgname}-${pkgver}.tar.gz")
-md5sums=('4ff21c47bf16e0855b913246ae397a58')
+            'gaupol: for po2sub'
+            'python-chardet: encoding detector'
+            'python-levenshtein: faster matching')
+source=(https://github.com/translate/translate/releases/download/$pkgver/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('acaadb70c386795b3ea15605ddf57da6e29fae58a026b18988c04f44e2f58415')
 
 package() {
-  cd "${pkgname}-${pkgver}"
+  cd "${srcdir}"/${pkgname}-${pkgver}
 
   python -s setup.py install --root="${pkgdir}" --optimize=1
   python -m compileall "${pkgdir}"/usr/lib/python3.6/site-packages/translate



More information about the arch-commits mailing list