summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-16 09:57:31 +0100
committerErich Eckner <git@eckner.net>2019-11-16 09:57:31 +0100
commit519d840a562479d5de92af481a805a1a8ea3dc97 (patch)
treef98b2ed1775c1ca896ee7c8b302e19c1eb5f7fb6
parent1bc84eab8b0159c3feb1c37ad374f84cdbd12008 (diff)
downloadarchlinuxewe-519d840a562479d5de92af481a805a1a8ea3dc97.tar.xz
python2-pytools new
-rw-r--r--python2-pytools/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/python2-pytools/PKGBUILD b/python2-pytools/PKGBUILD
new file mode 100644
index 000000000..75a6e4367
--- /dev/null
+++ b/python2-pytools/PKGBUILD
@@ -0,0 +1,31 @@
+# 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=2019.1.1
+pkgrel=3
+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.io/packages/source/p/pytools/pytools-$pkgver.tar.gz")
+sha512sums=('757ce5e291f49763afb17210659cadfa2610aa1c9b0912d46107ac50b0d28b7b607198fa4e806e66a7f061d761057a58b00f04a4190009ec7087cffed5f9d5f9')
+
+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
+}