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

Evangelos Foutras foutrelis at archlinux.org
Sat Oct 26 06:39:24 UTC 2019


    Date: Saturday, October 26, 2019 @ 06:39:23
  Author: foutrelis
Revision: 520290

archrelease: copy trunk to community-staging-any

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

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

Copied: python-awkward/repos/community-staging-any/PKGBUILD (from rev 520289, python-awkward/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 06:39:23 UTC (rev 520290)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-awkward
+pkgver=0.12.14
+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')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/scikit-hep/awkward-array/archive/$pkgver.tar.gz")
+sha512sums=('90cc41234fdd7787e7197386e91e733fe79c464a5ec96e09b667bd831bae0058988aea4603e947f40cf0029d9cac70ecc3dc0d7bbb72312d402b6437d121cf6c')
+
+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