[arch-commits] Commit in python-awkward/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 21 20:06:42 UTC 2020
Date: Tuesday, July 21, 2020 @ 20:06:42
Author: felixonmars
Revision: 664770
archrelease: copy trunk to community-testing-any
Added:
python-awkward/repos/community-testing-any/
python-awkward/repos/community-testing-any/PKGBUILD
(from rev 664769, python-awkward/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-awkward/repos/community-testing-any/PKGBUILD (from rev 664769, python-awkward/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2020-07-21 20:06:42 UTC (rev 664770)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-awkward
+pkgver=0.13.0
+pkgrel=1
+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=('eb5e02e7435b0c2c714f446e516ca774440a13c35a9be1abaa929487af705561a1f77af9a5759544656668bf30c50be255e85ff3a2a414e94fd3aa6b0142fea4')
+
+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