Date: Friday, December 13, 2019 @ 23:22:21 Author: arojas Revision: 371385
Drop unneeded python2-sip and python-sip-pyqt5 subpackages Modified: sip/trunk/PKGBUILD ----------+ PKGBUILD | 37 ++++--------------------------------- 1 file changed, 4 insertions(+), 33 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-12-13 23:15:18 UTC (rev 371384) +++ PKGBUILD 2019-12-13 23:22:21 UTC (rev 371385) @@ -4,9 +4,9 @@ # Contributor: riai <r...@bigfoot.com>, Ben <b...@benmazer.net> pkgbase=sip -pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') +pkgname=('sip' 'python-sip' 'python2-sip-pyqt5') pkgver=4.19.19 -pkgrel=3 +pkgrel=4 arch=('x86_64') url='https://www.riverbankcomputing.com/software/sip/intro' license=('custom:"sip"') @@ -15,7 +15,7 @@ sha256sums=('5436b61a78f48c7e8078e93a6b59453ad33780f80c644e5f3af39f94be1ede44') prepare() { - mkdir -p build{,-py2,-pyqt5,-pyqt5-py2} + mkdir -p build{,-pyqt5-py2} } build() { @@ -23,14 +23,6 @@ python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" make - cd "$srcdir"/build-py2 - python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make - - cd "$srcdir"/build-pyqt5 - python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools - make - cd "$srcdir"/build-pyqt5-py2 python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools make @@ -50,7 +42,7 @@ } package_python-sip() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries" + pkgdesc="Python SIP4 bindings for C and C++ libraries" depends=('python') cd build @@ -60,27 +52,6 @@ install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } -package_python2-sip() { - pkgdesc="Python 2.x SIP bindings for C and C++ libraries" - depends=('python2') - - cd build-py2 - make DESTDIR="$pkgdir" install - rm -r "$pkgdir"/usr/{bin,include} # conflicts with sip - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-sip-pyqt5() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries (PyQt5 version)" - depends=('python') - - cd build-pyqt5 - make DESTDIR="$pkgdir" install - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - package_python2-sip-pyqt5() { pkgdesc="Python 2.x SIP bindings for C and C++ libraries (PyQt5 version)" depends=('python2')