[arch-commits] Commit in python-pytools/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Jan 23 05:19:33 UTC 2020
Date: Thursday, January 23, 2020 @ 05:19:33
Author: felixonmars
Revision: 554782
archrelease: copy trunk to community-testing-any
Added:
python-pytools/repos/community-testing-any/
python-pytools/repos/community-testing-any/PKGBUILD
(from rev 554781, python-pytools/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-pytools/repos/community-testing-any/PKGBUILD (from rev 554781, python-pytools/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2020-01-23 05:19:33 UTC (rev 554782)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+
+pkgname=python-pytools
+pkgver=2020.1
+pkgrel=1
+pkgdesc="A collection of tools for Python"
+arch=('any')
+url="https://mathema.tician.de/software/pytools"
+license=('MIT')
+depends=('python-six' 'python-decorator' 'python-appdirs' 'python-numpy')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("https://pypi.io/packages/source/p/pytools/pytools-$pkgver.tar.gz")
+sha512sums=('b8b6513677f84fe97dfee9b96449ce6f2bad5d1dbd51a4f36b080136efd3b1d97850f02ec52e8e70c317104f99ad383dd9d2b260f0c151eb11851b03efcefe58')
+
+build() {
+ cd "$srcdir"/pytools-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/pytools-$pkgver
+ python setup.py pytest
+}
+
+package(){
+ cd pytools-$pkgver
+ python setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1
+}
More information about the arch-commits
mailing list