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

Tobias Powalowski tpowa at archlinux.org
Tue Mar 19 15:26:11 UTC 2019


    Date: Tuesday, March 19, 2019 @ 15:26:10
  Author: tpowa
Revision: 348693

upgpkg: ldb 1:1.5.4-2

rebuild for python

Modified:
  ldb/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-19 15:25:08 UTC (rev 348692)
+++ PKGBUILD	2019-03-19 15:26:10 UTC (rev 348693)
@@ -4,7 +4,7 @@
 
 pkgname=ldb
 pkgver=1.5.4
-pkgrel=1
+pkgrel=2
 epoch=1
 pkgdesc="A schema-less, ldap like, API and database"
 arch=('x86_64')
@@ -13,17 +13,13 @@
         http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.asc)
 license=('GPL3')
 depends=('talloc' 'tevent' 'tdb' 'popt' 'lmdb')
-makedepends=('python2' 'cmocka' 'docbook-xsl')
-optdepends=('python2: for python bindings')
+makedepends=('python' 'cmocka' 'docbook-xsl')
+optdepends=('python: for python bindings')
 validpgpkeys=('9147A339719518EE9011BCB54793916113084025') # Samba Library Distribution Key <samba-bugs at samba.org> 
 
 build() {
 	cd ${srcdir}/${pkgname}-${pkgver}
 
-	# change to use python2
-	sed -i -e "s|/usr/bin/env python$|/usr/bin/env python2|" buildtools/bin/waf
-	export PYTHON=/usr/bin/python2
-
 	./configure --prefix=/usr \
 		--disable-rpath \
 		--disable-rpath-install \



More information about the arch-commits mailing list