[arch-commits] Commit in (3 files)
Konstantin Gizdov
kgizdov at archlinux.org
Mon Oct 14 15:58:03 UTC 2019
Date: Monday, October 14, 2019 @ 15:58:03
Author: kgizdov
Revision: 515725
move python-uproot-methods to community
Added:
python-uproot-methods/
python-uproot-methods/trunk/
python-uproot-methods/trunk/PKGBUILD
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Added: python-uproot-methods/trunk/PKGBUILD
===================================================================
--- python-uproot-methods/trunk/PKGBUILD (rev 0)
+++ python-uproot-methods/trunk/PKGBUILD 2019-10-14 15:58:03 UTC (rev 515725)
@@ -0,0 +1,35 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+
+_pkgname=uproot-methods
+pkgname=python-uproot-methods
+pkgver=0.7.1
+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=('f5c8b41c1c820708c903bbfc66924eea8e9b8e852520cfd1db5e8a4c0e17a37b')
+
+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