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

Andreas Radke andyrtr at archlinux.org
Sun Jun 7 14:28:21 UTC 2020


    Date: Sunday, June 7, 2020 @ 14:28:20
  Author: andyrtr
Revision: 388426

upgpkg: libxslt 1.1.34-4: drop python2 bindings

Modified:
  libxslt/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-07 13:50:43 UTC (rev 388425)
+++ PKGBUILD	2020-06-07 14:28:20 UTC (rev 388426)
@@ -3,13 +3,13 @@
 
 pkgname=libxslt
 pkgver=1.1.34
-pkgrel=3
+pkgrel=4
 pkgdesc="XML stylesheet transformation library"
 url="http://xmlsoft.org/XSLT/"
 arch=(x86_64)
 license=(custom)
 depends=(libxml2 libgcrypt)
-makedepends=(python2 git)
+makedepends=(git)
 checkdepends=(docbook-xml python)
 _commit=3653123f992db24cec417d12600f4c67388025e3  # tags/v1.1.34^0
 source=("git+https://gitlab.gnome.org/GNOME/libxslt.git#commit=$_commit"
@@ -25,10 +25,6 @@
 prepare() {
   cd $pkgname
 
-  sed -e 's|/usr/bin/python -u|/usr/bin/python2 -u|g' \
-      -e 's|/usr/bin/python$|/usr/bin/python2|g' \
-      -i python/tests/*.py
-
   # Make xsltproc output reproducible for packages which use it to generate documentation.
   patch -Np1 -i $srcdir/0002-Make-generate-id-deterministic.patch
 
@@ -38,7 +34,7 @@
 
 build() {
   cd $pkgname
-  ./configure --prefix=/usr --with-python=/usr/bin/python2
+  ./configure --prefix=/usr --with-python=no
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }



More information about the arch-commits mailing list