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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:10:30 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:10:30
  Author: foutrelis
Revision: 748533

archrelease: copy trunk to community-staging-any

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

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

Copied: python-uproot-methods/repos/community-staging-any/PKGBUILD (from rev 748532, python-uproot-methods/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:10:30 UTC (rev 748533)
@@ -0,0 +1,35 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+
+_pkgname=uproot-methods
+pkgname=python-uproot-methods
+pkgver=0.7.4
+pkgrel=2
+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