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

Jan Steffens heftig at archlinux.org
Sun Sep 25 04:32:37 UTC 2016


    Date: Sunday, September 25, 2016 @ 04:32:36
  Author: heftig
Revision: 276935

2.0.2+5+g676f3f7-2: Python3 doesn't work (file type not defined)

Modified:
  itstool/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-25 04:17:51 UTC (rev 276934)
+++ PKGBUILD	2016-09-25 04:32:36 UTC (rev 276935)
@@ -4,12 +4,12 @@
 
 pkgname=itstool
 pkgver=2.0.2+5+g676f3f7
-pkgrel=1
+pkgrel=2
 pkgdesc="XML to PO and back again"
 arch=(any)
 url="http://itstool.org/"
 license=(GPL3)
-depends=(python libxml2)
+depends=(python2 libxml2)
 makedepends=(git)
 _commit=676f3f738b21ec4d77f300f83d31d2d0eceaddcc
 source=("git+https://github.com/itstool/itstool#commit=$_commit")
@@ -22,12 +22,13 @@
 
 prepare() {
   cd $pkgname
+  sed -i 's/| python/&2/' configure.ac
   autoreconf -fi
 }
 
 build() {
   cd $pkgname
-  ./configure --prefix=/usr
+  ./configure --prefix=/usr PYTHON=/usr/bin/python2
   make
 }
 



More information about the arch-commits mailing list