[arch-commits] Commit in python-qtpy/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 16:36:30 UTC 2019
Date: Friday, October 25, 2019 @ 16:36:30
Author: felixonmars
Revision: 519493
archrelease: copy trunk to community-staging-any
Added:
python-qtpy/repos/community-staging-any/
python-qtpy/repos/community-staging-any/PKGBUILD
(from rev 519490, python-qtpy/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-qtpy/repos/community-staging-any/PKGBUILD (from rev 519490, python-qtpy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 16:36:30 UTC (rev 519493)
@@ -0,0 +1,29 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+
+pkgname=python-qtpy
+_pkgname='qtpy'
+pkgver=1.9.0
+pkgrel=2
+pkgdesc='Provides an uniform layer to support PyQt5, PyQt4 and PySide with a single codebase'
+arch=('any')
+url="https://github.com/spyder-ide/${_pkgname}/"
+license=('MIT')
+source=("python-${_pkgname}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${_pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('a6783acab8f7f7b04026c7da19c65bf904d69629d06d951cb7b9344468270c5b')
+makedepends=('python' 'python-setuptools')
+depends=('python')
+optdepends=('python-pyqt5: Qt5 Python bindings'
+ 'python-pyqtwebengine: Qt5-WebEngine python bindings'
+ 'python-pyside2: PySide Qt5 Python bindings')
+
+build() {
+ cd "${_pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${_pkgname}-${pkgver}"
+ python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+ # Install license file
+ install -D -m644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list