[arch-commits] Commit in python-awkward/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 3 09:48:50 UTC 2020


    Date: Tuesday, November 3, 2020 @ 09:48:50
  Author: felixonmars
Revision: 740501

archrelease: copy trunk to community-testing-any

Added:
  python-awkward/repos/community-testing-any/
  python-awkward/repos/community-testing-any/PKGBUILD
    (from rev 740500, python-awkward/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-awkward/repos/community-testing-any/PKGBUILD (from rev 740500, python-awkward/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-11-03 09:48:50 UTC (rev 740501)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-awkward
+pkgver=0.14.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=('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