Date: Saturday, August 6, 2022 @ 15:39:18 Author: kgizdov Revision: 1260433
archrelease: copy trunk to community-any Added: python-uproot/repos/community-any/PKGBUILD (from rev 1260432, python-uproot/trunk/PKGBUILD) Deleted: python-uproot/repos/community-any/PKGBUILD ----------+ PKGBUILD | 130 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-06 15:39:12 UTC (rev 1260432) +++ PKGBUILD 2022-08-06 15:39:18 UTC (rev 1260433) @@ -1,65 +0,0 @@ -# Maintainer: Konstantin Gizdov <arch at kge dot pw> - -_pkgname=uproot -pkgbase="python-${_pkgname}" -pkgname=("${pkgbase}" "${pkgbase}-docs") -pkgver=4.2.2 -pkgrel=1 -pkgdesc="Minimalist CERN ROOT I/O in pure Python and Numpy" -arch=('any') -makedepends=('python-build' 'python-installer' 'python-wheel') -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=('2ba34c18a75af60c3b3e25703b2d5bd373cddfa22682827844ea7087ff899427') - -prepare() { - cd "${srcdir}/${_pkgname}4-${pkgver}" - sed \ - -e 's/setuptools.extern.packaging.version.parse/packaging.version.parse/' \ - -e 's/import setuptools/import packaging/' \ - -i src/uproot/_util.py -} - -build() { - cd "${srcdir}/${_pkgname}4-${pkgver}" - python -m build --wheel --no-isolation -} - -check() { - cd "${srcdir}/${_pkgname}4-${pkgver}" - find tests -type f -exec sed \ - -e 's...@scikit-hep.org/uproot/examp...@scikit-hep.org/uproot3/examples@g' \ - -e 's...@scikit-hep.org:443/uproot/examp...@scikit-hep.org:443/uproot3/examples@g' \ - -i {} \; - # tests depend on some unpackaged deps - PYTHONPATH="$PWD/build/lib" pytest -} - -package_python-uproot() { - optdepends+=('python-uproot-docs: docs') - cd "${srcdir}/${_pkgname}4-${pkgver}" - - python -m installer --destdir="$pkgdir" dist/*.whl - - 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 1260432, python-uproot/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-06 15:39:18 UTC (rev 1260433) @@ -0,0 +1,65 @@ +# Maintainer: Konstantin Gizdov <arch at kge dot pw> + +_pkgname=uproot +pkgbase="python-${_pkgname}" +pkgname=("${pkgbase}" "${pkgbase}-docs") +pkgver=4.3.4 +pkgrel=1 +pkgdesc="Minimalist CERN ROOT I/O in pure Python and Numpy" +arch=('any') +makedepends=('python-build' 'python-installer' 'python-wheel') +checkdepends=('python-mock' 'python-pkgconfig' 'python-pandas' 'python-pytest-runner' 'python-requests' 'python-dask' + '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=('a97a57766fcac813e177076bb757fcc2d8f92a932c9f78c696340c2f5fffef6d') + +prepare() { + cd "${srcdir}/${_pkgname}5-${pkgver}" + sed \ + -e 's/setuptools.extern.packaging.version.parse/packaging.version.parse/' \ + -e 's/import setuptools/import packaging/' \ + -i src/uproot/_util.py +} + +build() { + cd "${srcdir}/${_pkgname}5-${pkgver}" + python -m build --wheel --no-isolation +} + +check() { + cd "${srcdir}/${_pkgname}5-${pkgver}" + find tests -type f -exec sed \ + -e 's...@scikit-hep.org/uproot/examp...@scikit-hep.org/uproot3/examples@g' \ + -e 's...@scikit-hep.org:443/uproot/examp...@scikit-hep.org:443/uproot3/examples@g' \ + -i {} \; + # tests depend on some unpackaged deps + PYTHONPATH="$PWD/build/lib" pytest +} + +package_python-uproot() { + optdepends+=('python-uproot-docs: docs') + cd "${srcdir}/${_pkgname}5-${pkgver}" + + python -m installer --destdir="$pkgdir" dist/*.whl + + install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +package_python-uproot-docs() { + depends=('python-sphinx') + cd "${srcdir}/${_pkgname}5-${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}/" +}