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

Konstantin Gizdov kgizdov at archlinux.org
Fri May 8 12:48:11 UTC 2020


    Date: Friday, May 8, 2020 @ 12:48:10
  Author: kgizdov
Revision: 625626

archrelease: copy trunk to community-testing-any

Added:
  python-uproot-methods/repos/community-testing-any/
  python-uproot-methods/repos/community-testing-any/PKGBUILD
    (from rev 625625, python-uproot-methods/trunk/PKGBUILD)

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

Copied: python-uproot-methods/repos/community-testing-any/PKGBUILD (from rev 625625, python-uproot-methods/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-05-08 12:48:10 UTC (rev 625626)
@@ -0,0 +1,35 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+
+_pkgname=uproot-methods
+pkgname=python-uproot-methods
+pkgver=0.7.4
+pkgrel=1
+pkgdesc="Pythonic mix-ins for ROOT classes"
+arch=('any')
+makedepends=('python-setuptools')
+depends=('python-awkward' 'python-numpy')
+url="https://github.com/scikit-hep/uproot-methods"
+license=('BSD')
+
+source=("${url}/archive/${pkgver}.zip")
+sha256sums=('7bfb74516ac6fffb887c23d69d121c6fef5e04adcf32ccc259b2c36004546c03')
+
+build() {
+    cd "${srcdir}/${_pkgname}-${pkgver}"
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}/${_pkgname}-${pkgver}"
+    python setup.py test
+}
+
+package() {
+    cd "${srcdir}/${_pkgname}-${pkgver}"
+
+    python setup.py install --root="${pkgdir}/" --optimize=1
+
+    install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+    install -D README.rst "${pkgdir}/usr/share/${pkgname}/README.rst"
+}



More information about the arch-commits mailing list