[arch-commits] Commit in python-uproot-methods/repos (2 files)
Konstantin Gizdov
kgizdov at archlinux.org
Tue Jan 7 18:49:02 UTC 2020
Date: Tuesday, January 7, 2020 @ 18:49:01
Author: kgizdov
Revision: 550067
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 550066, python-uproot-methods/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-uproot-methods/repos/community-testing-any/PKGBUILD (from rev 550066, python-uproot-methods/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2020-01-07 18:49:01 UTC (rev 550067)
@@ -0,0 +1,35 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+
+_pkgname=uproot-methods
+pkgname=python-uproot-methods
+pkgver=0.7.2
+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=('22c2283db2e05ddf201e421dbe1ab92b69d06d202ea95c562e5ebc8dc1af4dc7')
+
+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