[arch-commits] Commit in sip/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sun Jun 24 20:13:15 UTC 2018
Date: Sunday, June 24, 2018 @ 20:13:14
Author: arojas
Revision: 327526
Revert update
Modified:
sip/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-24 19:59:55 UTC (rev 327525)
+++ PKGBUILD 2018-06-24 20:13:14 UTC (rev 327526)
@@ -6,7 +6,7 @@
pkgbase=sip
pkgname=('sip' 'python-sip' 'python2-sip')
-pkgver=4.19.10
+pkgver=4.19.8
pkgrel=1
arch=('x86_64')
url='http://www.riverbankcomputing.com/software/sip/intro'
@@ -13,7 +13,7 @@
license=('custom:"sip"')
makedepends=('python' 'python2')
source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz")
-sha256sums=('31ac7d48be8fd2df5f3bdb712f66a7d9a858cc1f6cb35fc95d829e0a69c3dd48')
+sha256sums=('7eaf7a2ea7d4d38a56dd6d2506574464bddf7cf284c960801679942377c297bc')
prepare() {
cp -a sip-$pkgver{,-py2}
@@ -41,7 +41,7 @@
package_python-sip() {
pkgdesc="Python 3.x SIP bindings for C and C++ libraries"
- depends=('python')
+ depends=('sip' 'python')
cd sip-$pkgver
make DESTDIR="$pkgdir" install -C siplib
@@ -49,15 +49,12 @@
install -Dm644 sipconfig.py "$pkgdir"/usr/lib/python3.6/site-packages/sipconfig.py
install -Dm644 sipdistutils.py "$pkgdir"/usr/lib/python3.6/site-packages/sipdistutils.py
- mkdir -p "$pkgdir"/usr/lib/python3.6/site-packages/PyQt5
- ln -sr "$pkgdir"/usr/lib/python3.6/site-packages/sip.* "$pkgdir"/usr/lib/python3.6/site-packages/PyQt5
-
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
package_python2-sip() {
pkgdesc="Python 2.x SIP bindings for C and C++ libraries"
- depends=('python2')
+ depends=('sip' 'python2')
cd sip-$pkgver-py2
make DESTDIR="$pkgdir" install -C siplib
@@ -65,8 +62,5 @@
install -Dm644 sipconfig.py "$pkgdir"/usr/lib/python2.7/site-packages/sipconfig.py
install -Dm644 sipdistutils.py "$pkgdir"/usr/lib/python2.7/site-packages/sipdistutils.py
- mkdir -p "$pkgdir"/usr/lib/python2.7/site-packages/PyQt5
- ln -sr "$pkgdir"/usr/lib/python2.7/site-packages/sip.* "$pkgdir"/usr/lib/python2.7/site-packages/PyQt5
-
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
More information about the arch-commits
mailing list