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

Antonio Rojas arojas at archlinux.org
Fri Sep 25 07:29:25 UTC 2020


    Date: Friday, September 25, 2020 @ 07:29:25
  Author: arojas
Revision: 396541

Drop python2

Modified:
  sip/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++------------------
 1 file changed, 4 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-25 07:25:39 UTC (rev 396540)
+++ PKGBUILD	2020-09-25 07:29:25 UTC (rev 396541)
@@ -4,18 +4,18 @@
 # Contributor: riai <riai at bigfoot.com>, Ben <ben at benmazer.net>
 
 pkgbase=sip
-pkgname=('sip' 'python-sip' 'python2-sip-pyqt5')
+pkgname=('sip' 'python-sip')
 pkgver=4.19.24
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://www.riverbankcomputing.com/software/sip/intro'
 license=('custom:"sip"')
-makedepends=('python' 'python2')
+makedepends=('python')
 source=("https://www.riverbankcomputing.com/static/Downloads/sip/$pkgver/sip-$pkgver.tar.gz")
 sha256sums=('edcd3790bb01938191eef0f6117de0bf56d1136626c0ddb678f3a558d62e41e5')
 
 prepare() {
-  mkdir -p build{,-pyqt5-py2}
+  mkdir -p build
 }
 
 build() {
@@ -22,10 +22,6 @@
   cd "$srcdir"/build
   python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS"
   make
-
-  cd "$srcdir"/build-pyqt5-py2
-  python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools
-  make
 }
 
 package_sip() {
@@ -51,13 +47,3 @@
 
   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')
-
-  cd build-pyqt5-py2
-  make DESTDIR="$pkgdir" install
-
-  install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}



More information about the arch-commits mailing list