[arch-commits] Commit in libpwquality/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sun Feb 17 21:51:40 UTC 2019
Date: Sunday, February 17, 2019 @ 21:51:39
Author: jgc
Revision: 346440
upgpkg: libpwquality 1.4.0-2
Switch python bindings to 3.x instead of 2.7 (FS#60662)
Modified:
libpwquality/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-17 17:09:43 UTC (rev 346439)
+++ PKGBUILD 2019-02-17 21:51:39 UTC (rev 346440)
@@ -2,14 +2,14 @@
pkgname=libpwquality
pkgver=1.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="Library for password quality checking and generating random passwords"
arch=('x86_64')
url="https://github.com/libpwquality/libpwquality"
license=('GPL')
depends=('cracklib' 'pam')
-optdepends=('python2: Python bindings')
-makedepends=('python2' git)
+optdepends=('python: Python bindings')
+makedepends=('python' git)
backup=('etc/security/pwquality.conf')
_commit=ec03e45823965bbcfcbaec7497a1b47033c3b632 # tags/libpwquality-1.4.0
source=("git+https://github.com/libpwquality/libpwquality.git#commit=$_commit")
@@ -31,8 +31,7 @@
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --with-python-rev=2.7 \
- --with-python-binary=python2
+ --with-python-binary=python3
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
More information about the arch-commits
mailing list