diff options
author | Erich Eckner <git@eckner.net> | 2020-02-24 11:06:16 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-24 11:06:16 +0100 |
commit | c713585058ad2728c0581acffc0d47ce851198c7 (patch) | |
tree | 979c4d8a24cd6fe0cce2e6773c85c73e64e14724 | |
parent | 75a703ce3860d67b4c89e2b27d2c86c67410a97c (diff) | |
download | archlinuxewe-c713585058ad2728c0581acffc0d47ce851198c7.tar.xz |
python2-qtpy removed
-rw-r--r-- | python2-qtpy/PKGBUILD | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/python2-qtpy/PKGBUILD b/python2-qtpy/PKGBUILD deleted file mode 100644 index f9db2cbe9..000000000 --- a/python2-qtpy/PKGBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Muflone http://www.muflone.com/contacts/english/ - -pkgname='python2-qtpy' -_pkgname="${pkgname#*-}" -pkgver=1.9.0 -pkgrel=1 -pkgdesc='Provides an uniform layer to support PyQt5, PyQt4 and PySide with a single codebase' -makedepends=('python2' 'python2-setuptools') -arch=('any') -url="https://github.com/spyder-ide/${_pkgbase}/" -license=('MIT') -source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${_pkgname}/archive/v${pkgver}.tar.gz") -sha512sums=('aa94c55b6e3f12528377d3d77bba0803cab01d47cf18fb5a82afced6bdcd45144b97380be52c71fda7a96ea4eaa7eda27f4a072048065fb3834be81939c6b41c') - -prepare() { - # Fix Python 2.x shebang - cd "${_pkgname}-${pkgver}" - sed -i 's@^#!.*python$@#!/usr/bin/env python2@' "${_pkgname}/tests/runtests.py" -} - -build() { - cd "${_pkgname}-${pkgver}" - python2 setup.py build -} - -package() { - depends=('python2') - optdepends=('python2-pyqt5: Qt5 Python bindings' - 'python2-pyqtwebengine: Qt5-WebEngine python bindings') - - cd "${_pkgname}-${pkgver}" - python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 - # Install license file - install -D -m644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} |