[arch-commits] Commit in translate-toolkit/repos/extra-any (PKGBUILD PKGBUILD)

Lukas Fleischer lfleischer at archlinux.org
Sun Feb 12 12:24:57 UTC 2017


    Date: Sunday, February 12, 2017 @ 12:24:56
  Author: lfleischer
Revision: 288735

archrelease: copy trunk to extra-any

Added:
  translate-toolkit/repos/extra-any/PKGBUILD
    (from rev 288734, translate-toolkit/trunk/PKGBUILD)
Deleted:
  translate-toolkit/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   54 +++++++++++++++++++++++++-----------------------------
 1 file changed, 25 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-12 12:24:50 UTC (rev 288734)
+++ PKGBUILD	2017-02-12 12:24:56 UTC (rev 288735)
@@ -1,29 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer 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=1.13.0
-pkgrel=2
-pkgdesc="A toolkit to convert between various different translation formats, help process and validate localisations"
-arch=('any')
-url="http://translate.sourceforge.net/wiki/toolkit/index"
-license=('GPL')
-depends=('bash' 'python2-lxml' 'python2-six')
-makedepends=('python2-setuptools')
-optdepends=('python2-iniparse: to use ini2po script')
-source=("https://github.com/translate/translate/releases/download/$pkgver/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('f9997a0deb3f1767bb20665a47cd2708')
-
-package() {
-  cd ${pkgname}-${pkgver}
-
-  sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-    -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
-    -e "s|/usr/bin/python2.4|/usr/bin/python2|" \
-    $(find . -name '*.py')
-
-  python2 -s setup.py install --root="${pkgdir}" --optimize=1
-  python2 -m compileall "${pkgdir}"/usr/lib/python2.7/site-packages/translate
-}

Copied: translate-toolkit/repos/extra-any/PKGBUILD (from rev 288734, translate-toolkit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-02-12 12:24:56 UTC (rev 288735)
@@ -0,0 +1,25 @@
+# Maintainer: Lukas Fleischer <lfleischer 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.0.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' 'python-lxml' 'python-six')
+makedepends=('python-setuptools')
+optdepends=('python-iniparse: for ini2po'
+            'gaupol: for po2sub')
+source=("https://github.com/translate/translate/releases/download/$pkgver/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('682ec8d83e0ae747c6e0934e12a9e088')
+
+package() {
+  cd "${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