[arch-commits] Commit in python-scikit-hep-testdata/repos (2 files)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Mon Feb 7 12:52:45 UTC 2022
Date: Monday, February 7, 2022 @ 12:52:45
Author: kgizdov
Revision: 1127821
archrelease: copy trunk to community-any
Added:
python-scikit-hep-testdata/repos/community-any/
python-scikit-hep-testdata/repos/community-any/PKGBUILD
(from rev 1127819, python-scikit-hep-testdata/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-scikit-hep-testdata/repos/community-any/PKGBUILD (from rev 1127819, python-scikit-hep-testdata/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2022-02-07 12:52:45 UTC (rev 1127821)
@@ -0,0 +1,35 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+
+_pkgname=scikit-hep-testdata
+pkgbase="python-${_pkgname}"
+pkgname=("${pkgbase}")
+pkgver=0.4.11
+pkgrel=1
+pkgdesc='A common package to provide example files (e.g. ROOT) for testing and developing packages against'
+arch=('any')
+makedepends=('git' 'python-setuptools' 'python-setuptools-scm' 'python-toml')
+checkdepends=('python-pytest-runner')
+depends=('python-pyaml' 'python-requests')
+url="https://github.com/scikit-hep/${_pkgname}"
+license=('BSD')
+
+source=("${_pkgname}-${pkgver}::git+${url}")
+sha256sums=('SKIP')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py pytest
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ python setup.py install --root="${pkgdir}/" --optimize=1
+
+ install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list