[arch-commits] Commit in python-scikit-hep-testdata/repos/community-any (2 files)

Konstantin Gizdov kgizdov at gemini.archlinux.org
Tue Mar 8 10:28:37 UTC 2022


    Date: Tuesday, March 8, 2022 @ 10:28:37
  Author: kgizdov
Revision: 1145458

archrelease: copy trunk to community-any

Added:
  python-scikit-hep-testdata/repos/community-any/PKGBUILD
    (from rev 1145457, python-scikit-hep-testdata/trunk/PKGBUILD)
Deleted:
  python-scikit-hep-testdata/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-08 10:28:30 UTC (rev 1145457)
+++ PKGBUILD	2022-03-08 10:28:37 UTC (rev 1145458)
@@ -1,35 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-
-_pkgname=scikit-hep-testdata
-pkgbase="python-${_pkgname}"
-pkgname=("${pkgbase}")
-pkgver=0.4.12
-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"
-}

Copied: python-scikit-hep-testdata/repos/community-any/PKGBUILD (from rev 1145457, python-scikit-hep-testdata/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-08 10:28:37 UTC (rev 1145458)
@@ -0,0 +1,35 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+
+_pkgname=scikit-hep-testdata
+pkgbase="python-${_pkgname}"
+pkgname=("${pkgbase}")
+pkgver=0.4.12
+pkgrel=2
+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}"
+    PYTHONPATH=build/lib pytest tests
+}
+
+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