aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-04-17 14:31:38 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-04-17 14:32:04 +0000
commitb01afbe87f1e1efcf3a79f993c10fca6852a5b0e (patch)
treed52277345aa110e28b1aecd70a74ec1349d6fde1
parent745cf9d3738122e7d0f3ae17db2bfb8d94799b5a (diff)
downloadaports-b01afbe87f1e1efcf3a79f993c10fca6852a5b0e.tar.bz2
aports-b01afbe87f1e1efcf3a79f993c10fca6852a5b0e.tar.xz
community/py3-qt5: upgrade to 5.8.2, modernize APKBUILD
-rw-r--r--community/py3-qt5/APKBUILD25
1 files changed, 13 insertions, 12 deletions
diff --git a/community/py3-qt5/APKBUILD b/community/py3-qt5/APKBUILD
index c2c43218f3..8925db58a5 100644
--- a/community/py3-qt5/APKBUILD
+++ b/community/py3-qt5/APKBUILD
@@ -1,20 +1,23 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-qt5
-_pkgname=PyQt
-pkgver=5.7
-pkgrel=1
+_pkgname=PyQt5
+pkgver=5.8.2
+pkgrel=0
pkgdesc="A set of Python 3 bindings for the Qt toolkit"
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
arch="all"
license="GPL2+"
depends="py3-sip"
makedepends="python3-dev py-dbus-dev qt5-qtbase-dev py3-sip-dev libx11-dev qt5-qtsvg-dev"
-subpackages=""
-install=""
-source="http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.zip"
+source="http://sourceforge.net/projects/pyqt/files/$_pkgname/PyQt-$pkgver/${_pkgname}_gpl-$pkgver.zip"
+builddir="${srcdir}/${_pkgname}_gpl-${pkgver}"
+
+check() {
+ cd "$builddir"
+ make check
+}
-builddir="${srcdir}/PyQt5_gpl-${pkgver}"
build() {
cd "$builddir"
python3 configure.py \
@@ -24,14 +27,12 @@ build() {
--qsci-api
# Thanks Gerardo for the rpath fix
find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
- make || return 1
+ make
}
package(){
cd "$builddir"
- make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install || return 1
+ make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
}
-md5sums="43568c2798db2d18a040fd215fcba2f6 PyQt5_gpl-5.7.zip"
-sha256sums="1607a90af2c2e944e2aebc7ba4a7ec9c327ec78afbaf3a5eab2b6c65cd81d1e5 PyQt5_gpl-5.7.zip"
-sha512sums="2f5978e6182f517711b2d37b4ac45e5460fbbc8706a3a07510c82cf9d1d8d18ac1588b492dceed0b5b37aee6dfc4e4aeed736531d885e583401ac89e1f1fbd93 PyQt5_gpl-5.7.zip"
+sha512sums="b50369fe4f3d315886dd2158c7e42f8bb281d5f74eb3c66429266280bb8e4fca5138c678c50283f61b1f30c3cda021508921197281f3188df0457cea828b1c18 PyQt5_gpl-5.8.2.zip"