[arch-commits] Commit in python-qtawesome/trunk (PKGBUILD)
Fabio Castelli
muflone at archlinux.org
Sat Aug 11 20:49:40 UTC 2018
Date: Saturday, August 11, 2018 @ 20:49:40
Author: muflone
Revision: 371182
upgpkg: python-qtawesome 0.4.4-3
Modified:
python-qtawesome/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-11 19:32:16 UTC (rev 371181)
+++ PKGBUILD 2018-08-11 20:49:40 UTC (rev 371182)
@@ -5,7 +5,7 @@
_pkgbase='qtawesome'
pkgname=('python-qtawesome' 'python2-qtawesome')
pkgver=0.4.4
-pkgrel=2
+pkgrel=3
pkgdesc='Iconic fonts in PyQt and PySide applications'
makedepends=('python' 'python-setuptools'
'python2' 'python2-setuptools')
@@ -15,11 +15,18 @@
source=("${pkgbase}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${_pkgbase}/archive/v${pkgver}.tar.gz")
sha256sums=('f6cdc1546906c00019adf748d259ec68055113b65108e90ce7bd8a869eb3daf4')
+build() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python2 setup.py build
+
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python setup.py build
+}
+
package_python2-qtawesome() {
- depends=('python2')
+ depends=('python2-six' 'python2-qtpy')
cd "${srcdir}/${_pkgbase}-${pkgver}"
- python2 setup.py build
python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
# Install license file
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
@@ -26,10 +33,9 @@
}
package_python-qtawesome() {
- depends=('python')
+ depends=('python-six' 'python-qtpy')
cd "${srcdir}/${_pkgbase}-${pkgver}"
- python setup.py build
python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
# Install license file
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
More information about the arch-commits
mailing list