[arch-commits] Commit in python-uproot/repos/community-any (PKGBUILD PKGBUILD)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Mon Feb 7 13:02:10 UTC 2022
Date: Monday, February 7, 2022 @ 13:02:09
Author: kgizdov
Revision: 1127851
archrelease: copy trunk to community-any
Added:
python-uproot/repos/community-any/PKGBUILD
(from rev 1127849, python-uproot/trunk/PKGBUILD)
Deleted:
python-uproot/repos/community-any/PKGBUILD
----------+
PKGBUILD | 113 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-07 13:02:08 UTC (rev 1127850)
+++ PKGBUILD 2022-02-07 13:02:09 UTC (rev 1127851)
@@ -1,56 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-
-_pkgname=uproot
-pkgbase="python-${_pkgname}"
-pkgname=("${pkgbase}" "${pkgbase}-docs")
-pkgver=4.1.9
-pkgrel=1
-pkgdesc="Minimalist CERN ROOT I/O in pure Python and Numpy"
-arch=('any')
-makedepends=('python-setuptools')
-checkdepends=('python-mock' 'python-pkgconfig' 'python-pandas' 'python-pytest-runner' 'python-requests' 'python-xxhash' 'root')
-depends=('python-awkward>=1.7.0' 'python-cachetools' 'python-lz4' 'python-numpy' 'python-zstandard')
-optdepends=('xrootd: access remote files over XRootD'
- 'python-pandas: fill Pandas DataFrames instead of Numpy arrays'
- 'python-requests: access remote files through HTTP'
- 'python-xxhash: handle lz4-compressed ROOT files')
-url="https://github.com/scikit-hep/${_pkgname}4"
-license=('BSD')
-
-source=("${_pkgname}-${pkgver}::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('a6401ec6d555bb010b77490c07417e56b84f76cf506f5a8e9fe9f319bba7ab90')
-
-build() {
- cd "${srcdir}/${_pkgname}4-${pkgver}"
- python setup.py build
-}
-
-check() {
- cd "${srcdir}/${_pkgname}4-${pkgver}"
- find tests -type f -exec sed \
- -e 's at scikit-hep.org/uproot/examples at scikit-hep.org/uproot3/examples at g' \
- -e 's at scikit-hep.org:443/uproot/examples at scikit-hep.org:443/uproot3/examples at g' \
- -i {} \;
- # tests depend on some unpackaged deps
- # python setup.py pytest
-}
-
-package_python-uproot() {
- optdepends+=('python-uproot-docs: docs')
- cd "${srcdir}/${_pkgname}4-${pkgver}"
-
- python setup.py install --root="${pkgdir}/" --optimize=1
-
- install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python-uproot-docs() {
- depends=('python-sphinx')
- cd "${srcdir}/${_pkgname}4-${pkgver}"
-
- install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -D README.md "${pkgdir}/usr/share/${pkgname}/README.md"
-
- install -d "${pkgdir}/usr/share/doc/${pkgbase}"
- cp -r docs-img docs-sphinx "${pkgdir}/usr/share/doc/${pkgbase}/"
-}
Copied: python-uproot/repos/community-any/PKGBUILD (from rev 1127849, python-uproot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-07 13:02:09 UTC (rev 1127851)
@@ -0,0 +1,57 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+
+_pkgname=uproot
+pkgbase="python-${_pkgname}"
+pkgname=("${pkgbase}" "${pkgbase}-docs")
+pkgver=4.1.9
+pkgrel=2
+pkgdesc="Minimalist CERN ROOT I/O in pure Python and Numpy"
+arch=('any')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-pkgconfig' 'python-pandas' 'python-pytest-runner' 'python-requests'
+ 'python-matplotlib' 'python-hist' 'python-scikit-hep-testdata' 'python-xxhash' 'root' 'xrootd')
+depends=('python-awkward>=1.7.0' 'python-cachetools' 'python-lz4' 'python-numpy' 'python-zstandard')
+optdepends=('xrootd: access remote files over XRootD'
+ 'python-pandas: fill Pandas DataFrames instead of Numpy arrays'
+ 'python-requests: access remote files through HTTP'
+ 'python-xxhash: handle lz4-compressed ROOT files')
+url="https://github.com/scikit-hep/${_pkgname}4"
+license=('BSD')
+
+source=("${_pkgname}-${pkgver}::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('a6401ec6d555bb010b77490c07417e56b84f76cf506f5a8e9fe9f319bba7ab90')
+
+build() {
+ cd "${srcdir}/${_pkgname}4-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${srcdir}/${_pkgname}4-${pkgver}"
+ find tests -type f -exec sed \
+ -e 's at scikit-hep.org/uproot/examples at scikit-hep.org/uproot3/examples at g' \
+ -e 's at scikit-hep.org:443/uproot/examples at scikit-hep.org:443/uproot3/examples at g' \
+ -i {} \;
+ # tests depend on some unpackaged deps
+ python setup.py pytest
+}
+
+package_python-uproot() {
+ optdepends+=('python-uproot-docs: docs')
+ cd "${srcdir}/${_pkgname}4-${pkgver}"
+
+ python setup.py install --root="${pkgdir}/" --optimize=1
+
+ install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python-uproot-docs() {
+ depends=('python-sphinx')
+ cd "${srcdir}/${_pkgname}4-${pkgver}"
+
+ install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D README.md "${pkgdir}/usr/share/${pkgname}/README.md"
+
+ install -d "${pkgdir}/usr/share/doc/${pkgbase}"
+ cp -r docs-img docs-sphinx "${pkgdir}/usr/share/doc/${pkgbase}/"
+}
More information about the arch-commits
mailing list