[arch-commits] Commit in python-awkward/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 19:54:33 UTC 2020
Date: Monday, November 9, 2020 @ 19:54:33
Author: foutrelis
Revision: 748118
archrelease: copy trunk to community-staging-any
Added:
python-awkward/repos/community-staging-any/
python-awkward/repos/community-staging-any/PKGBUILD
(from rev 748117, python-awkward/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-awkward/repos/community-staging-any/PKGBUILD (from rev 748117, python-awkward/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 19:54:33 UTC (rev 748118)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-awkward
+pkgver=0.14.0
+pkgrel=2
+pkgdesc="Manipulate jagged, chunky, and/or bitmasked arrays as easily as Numpy"
+url="https://github.com/scikit-hep/awkward-array"
+license=('BSD')
+arch=('any')
+depends=('python-numpy')
+makedepends=('python-setuptools' 'python-pytest-runner')
+checkdepends=('python-h5py' 'python-pandas')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/scikit-hep/awkward-array/archive/$pkgver.tar.gz")
+sha512sums=('121feef8c762d4f3aebbe6797cf61aae4aa49c7423858530e892dc3da3229c5118886c09bc37a87abe6b33cb0f351e8753542d30c28a90a6b44088d5e07f5e24')
+
+build() {
+ cd awkward-array-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd awkward-array-$pkgver
+ pytest tests
+}
+
+package() {
+ cd awkward-array-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list