diff options
author | Erich Eckner <git@eckner.net> | 2020-02-24 10:20:39 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-24 10:20:39 +0100 |
commit | e8007ac9bc1823420d85bb008215b60710311a0a (patch) | |
tree | 20447dea609225c727bc16b7e4ce87b670b19b1f | |
parent | ac40f7f6cc365d7afa4ef0704c1a5db11a7c948a (diff) | |
download | archlinuxewe-e8007ac9bc1823420d85bb008215b60710311a0a.tar.xz |
remove unneeded, pure-python2 packages
-rw-r--r-- | python2-breathe/.gitignore | 1 | ||||
-rw-r--r-- | python2-breathe/PKGBUILD | 49 | ||||
-rw-r--r-- | python2-numexpr/PKGBUILD | 29 | ||||
-rw-r--r-- | python2-pybind11/PKGBUILD | 50 | ||||
-rw-r--r-- | python2-pytools/PKGBUILD | 31 | ||||
-rw-r--r-- | python2-qtconsole/PKGBUILD | 30 | ||||
-rw-r--r-- | python2-sip/PKGBUILD | 33 | ||||
-rw-r--r-- | python2-uncertainties/PKGBUILD | 35 |
8 files changed, 0 insertions, 258 deletions
diff --git a/python2-breathe/.gitignore b/python2-breathe/.gitignore deleted file mode 100644 index cd6467ed8..000000000 --- a/python2-breathe/.gitignore +++ /dev/null @@ -1 +0,0 @@ -breathe diff --git a/python2-breathe/PKGBUILD b/python2-breathe/PKGBUILD deleted file mode 100644 index 2f785f194..000000000 --- a/python2-breathe/PKGBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Daniel Bermond <dbermond@archlinux.org> -# Contributor: Santiago Torres-Arias <santiago@archlinux.org> -# Contributor: Simon Boulay <simon.boulay@alkeona.net> - -pkgname=python2-breathe -pkgver=4.14.1 -pkgrel=1 -pkgdesc="An extension to reStructuredText and Sphinx to be able to read and render Doxygen xml output." -arch=('any') -url="https://breathe.readthedocs.org/en/latest/" -license=('BSD') -depends=( - 'python2>=2.7' - 'python2<2.8' - 'python2-setuptools' - 'python2-sphinx' - 'python2-docutils' - 'python2-six') -makedepends=('git') -checkdepends=('python2-nose' 'python2-sphinx') -source=("git+https://github.com/michaeljones/breathe#tag=v${pkgver}?signed") -sha512sums=('SKIP') -validpgpkeys=('79DC0FAF18C31807E82E1A6B9EF1DC92B5F301BD') # Melvin Vermeeren <mail@mel.vin> - -prepare() { - sed -i ' - 1 s/python$/python2/ - ' breathe/breathe-apidoc.py - sed -i ' - /sys\.version_info/ { - s/3/2/ - s/5/7/ - } - ' breathe/setup.py -} - -build() { - cd breathe - python2 setup.py build -} - -package_python2-breathe() { - cd "breathe" - python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1 - mv "${pkgdir}/usr/bin/breathe-apidoc"{,2} - - install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/python2-numexpr/PKGBUILD b/python2-numexpr/PKGBUILD deleted file mode 100644 index 8a8c1fc32..000000000 --- a/python2-numexpr/PKGBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Andrzej Giniewicz <gginiu@gmail.com> -# Contributor: Sebastien Binet <binet@lblbox> - -pkgname=python2-numexpr -pkgver=2.7.1 -pkgrel=2 -pkgdesc="Fast numerical array expression evaluator for Python, NumPy, PyTables, pandas" -url="https://github.com/pydata/numexpr" -arch=('x86_64' 'i686' 'pentium4') -license=('MIT') -depends=( - 'python2>=2.7' - 'python2<2.8' - 'python2-numpy' -) -makedepends=('python2-setuptools') -source=("$pkgname-$pkgver.tar.gz::https://github.com/pydata/numexpr/archive/v$pkgver.tar.gz") -sha512sums=('ac6768b2968e565c8b7a63a3c7809df9dd6e6076e5c74cb50e5bac706aaed2731fcdef7216ae36bff5caf0cf2d11cb45f2df9cad56e6ab5d07d327f0f4a7185c') - -build() { - cd "$srcdir"/numexpr-$pkgver - python2 setup.py build -} -package() { - cd "$srcdir"/numexpr-$pkgver - python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} diff --git a/python2-pybind11/PKGBUILD b/python2-pybind11/PKGBUILD deleted file mode 100644 index 12eb9bb27..000000000 --- a/python2-pybind11/PKGBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Daniel Bermond <dbermond@archlinux.org> -# Contributor: Santiago Torres-Arias <santiago@archlinux.org> -# Contributor: Matthew Ellison <matt+aur@arroyonetworks.com> - -pkgname=python2-pybind11 -_pkgname=${pkgname#*-} -pkgver=2.4.3 -pkgrel=1 -pkgdesc='A lightweight header-only library that exposes C++ types in Python2' -arch=('any') -url='https://pybind11.readthedocs.org/' -license=('BSD') -optdepends=('python2: for python bindings' -'pybind11: for the c++ counterpart') -makedepends=('cmake' 'boost' 'eigen' 'python2' 'python2-setuptools' 'python2-pytest' - 'python2-sphinx' 'python2-sphinx_rtd_theme' 'python2-breathe') -checkdepends=('python2-py' 'python2-pluggy' 'python2-hypothesis' 'python2-numpy' 'python2-scipy') -source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/pybind/pybind11/archive/v${pkgver}.tar.gz") -sha512sums=('993b9a00fb9a4280d5500f8bae2b1238c026c1635862307c7b06ac0d26c3a9743d9c69658190decd126d0de45353a51c4b354bcc023345a05fce0bdc52b56fe0') - -prepare() { - find "${_pkgname}-${pkgver}" -type f -name '*.py' -exec sed -i ' - 1 s/python3\?$/python2/ - ' {} + -} - -build () { - # python modules - cd "${_pkgname}-${pkgver}" - - python2 setup.py build - - # manpage - make -C "${srcdir}/${_pkgname}-${pkgver}/docs" man SPHINXBUILD=sphinx-build2 -} - -package() { - cd "${_pkgname}-${pkgver}" - - # python modules - python2 setup.py install --root="$pkgdir" --install-headers='/usr/include/pybind11' --skip-build --optimize='1' - - # man page - install -D -m644 "docs/.build/man/${_pkgname}.1" "${pkgdir}/usr/share/man/man7/${pkgname}.7" - sed -i '/^\.TH/s/"1"/"7"/' "${pkgdir}/usr/share/man/man7/${pkgname}.7" - - # license - install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/python2-pytools/PKGBUILD b/python2-pytools/PKGBUILD deleted file mode 100644 index 1cfd4c52c..000000000 --- a/python2-pytools/PKGBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Felix Yan <felixonmars@archlinux.org> -# Contributor: Stéphane Gaudreault <stephane@archlinux.org> - -pkgname=python2-pytools -pkgver=2020.1 -pkgrel=1 -pkgdesc="A collection of tools for Python" -arch=('any') -url="https://mathema.tician.de/software/pytools" -license=('MIT') -makedepends=('python2-setuptools') -depends=('python2-six' 'python2-decorator' 'python2-appdirs' 'python2-numpy') -checkdepends=('python2-pytest-runner') -source=("https://pypi.python.org/packages/66/c7/88a4f8b6f0f78d0115ec3320861a0cc1f6daa3b67e97c3c2842c33f9c089/pytools-${pkgver}.tar.gz") -sha512sums=('b8b6513677f84fe97dfee9b96449ce6f2bad5d1dbd51a4f36b080136efd3b1d97850f02ec52e8e70c317104f99ad383dd9d2b260f0c151eb11851b03efcefe58') - -build() { - cd "$srcdir"/pytools-$pkgver - python2 setup.py build -} - -check() { - cd "$srcdir"/pytools-$pkgver - python2 setup.py pytest -} - -package() { - cd pytools-$pkgver - python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 -} diff --git a/python2-qtconsole/PKGBUILD b/python2-qtconsole/PKGBUILD deleted file mode 100644 index ff1543aac..000000000 --- a/python2-qtconsole/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Kyle Keen <keenerd@gmail.com> - -pkgname=python2-qtconsole -pkgver=4.6.0 -pkgrel=1 -pkgdesc="Qt-based console for Jupyter with support for rich media output" -arch=('any') -url="https://pypi.org/project/qtconsole/" -license=('BSD') -makedepends=('python2-setuptools') -source=("$pkgbase-$pkgver.tgz::https://github.com/jupyter/qtconsole/archive/$pkgver.tar.gz") -sha512sums=('4e6ae477796d7cc46f009658f29275ed75467f1e5c2436552b7a6df73eb35a382a54b4dc06ebe8827e2a009b79f08166dbce869832cb545fcc4db4299df1e004') -depends=('python2-ipykernel' 'python2-jupyter_core' 'python2-jupyter_client' - 'python2-traitlets' 'python2-pygments' 'python2-pyzmq' - 'qt5-svg' 'python2-pyqt5' 'python2-sip') - -build() { - cd "$srcdir/qtconsole-$pkgver" - python2 setup.py build -} - -package() { - cd "$srcdir/qtconsole-$pkgver" - python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - cd "$pkgdir/usr/bin" - mv jupyter-qtconsole jupyter-qtconsole-py2 -} diff --git a/python2-sip/PKGBUILD b/python2-sip/PKGBUILD deleted file mode 100644 index 8324d0622..000000000 --- a/python2-sip/PKGBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Felix Yan <felixonmars@archlinux.org> -# Contributor: Andrea Scarpino <andrea@archlinux.org> -# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> -# Contributor: riai <riai@bigfoot.com>, Ben <ben@benmazer.net> - -pkgname='python2-sip' -pkgver=4.19.21 -pkgrel=1 -arch=('i686' 'pentium4' 'x86_64') -url='https://www.riverbankcomputing.com/software/sip/intro' -license=('custom:"sip"') -pkgdesc="Python 2.x SIP bindings for C and C++ libraries" -source=("https://www.riverbankcomputing.com/static/Downloads/sip/$pkgver/sip-$pkgver.tar.gz") -sha512sums=('441e1fe6b3eb6820638f9b4436e820da39b72dd70b402afa5237979ac671978c081d92e1e78920bb754bbc66b159bad08edb3bbb497b7e72dee6ff1d69cd1b60') - -prepare() { - mkdir -p build -} - -build() { - cd "$srcdir"/build - python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make -} - -package() { - cd build - make DESTDIR="$pkgdir" install - rm -r "$pkgdir"/usr/{bin,include} # conflicts with sip - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} diff --git a/python2-uncertainties/PKGBUILD b/python2-uncertainties/PKGBUILD deleted file mode 100644 index 0bafdae76..000000000 --- a/python2-uncertainties/PKGBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Felix Yan <felixonmars@archlinux.org> - -pkgname=python2-uncertainties -pkgver=3.1.2 -pkgrel=1 -pkgdesc="Transparent calculations with uncertainties on the quantities involved (aka error propagation); fast calculation of derivatives." -arch=('any') -license=('BSD') -url="https://github.com/lebigot/uncertainties" -depends=( - 'python2>=2.7' - 'python2<2.8' -) -optdepends=('python2-numpy: additional support for NumPy arrays and matrices') -makedepends=('python2-setuptools') -checkdepends=('python2-nose' 'python2-numpy') -source=("$pkgname-$pkgver.tar.gz::https://github.com/lebigot/uncertainties/archive/$pkgver.tar.gz") -sha512sums=('78e8173f134138371834e7556c2eebc15bd2aa624addbdc77553997c269a88a51e80e00d89051cbbed8f709437b49e051f6df3a7b598e21bf0bf07bf05934ded') - -build() { - cd uncertainties-$pkgver - python2 setup.py build -} - -check() { - cd uncertainties-$pkgver - python2 setup.py nosetests -} - -package() { - cd uncertainties-$pkgver - python2 setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt -} |