[arch-commits] Commit in python-awkward/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue May 21 14:30:16 UTC 2019
Date: Tuesday, May 21, 2019 @ 14:30:15
Author: felixonmars
Revision: 468196
archrelease: copy trunk to community-testing-any
Added:
python-awkward/repos/community-testing-any/
python-awkward/repos/community-testing-any/PKGBUILD
(from rev 468195, python-awkward/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-awkward/repos/community-testing-any/PKGBUILD (from rev 468195, python-awkward/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2019-05-21 14:30:15 UTC (rev 468196)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-awkward
+pkgver=0.10.1
+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')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/scikit-hep/awkward-array/archive/$pkgver.tar.gz")
+sha512sums=('70a25978334d164ba944ab4fdfd30967cac1d674b40e08bc73b21dd983d2385e881faf64fac649d01cee2f2df31a4628478ebc1819532e15e7fbee2c4bc302ab')
+
+build() {
+ cd awkward-array-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd awkward-array-$pkgver
+ python setup.py pytest
+}
+
+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