Date: Friday, September 23, 2022 @ 15:07:12
  Author: kgizdov
Revision: 1309176

upgpkg: python-uproot 4.3.5-1

Modified:
  python-uproot/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-23 15:03:20 UTC (rev 1309175)
+++ PKGBUILD    2022-09-23 15:07:12 UTC (rev 1309176)
@@ -3,11 +3,11 @@
 _pkgname=uproot
 pkgbase="python-${_pkgname}"
 pkgname=("${pkgbase}" "${pkgbase}-docs")
-pkgver=4.3.4
+pkgver=4.3.5
 pkgrel=1
 pkgdesc="Minimalist CERN ROOT I/O in pure Python and Numpy"
 arch=('any')
-makedepends=('python-build' 'python-installer' 'python-wheel')
+makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 
'python-sphinx' 'python-sphinx_rtd_theme')
 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')
@@ -15,11 +15,11 @@
             '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";
+url="https://github.com/scikit-hep/${_pkgname}5";
 license=('BSD')
 
-source=("${_pkgname}-${pkgver}::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('a97a57766fcac813e177076bb757fcc2d8f92a932c9f78c696340c2f5fffef6d')
+source=("${_pkgname}-${pkgver}::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('06c744ef4fbd8c8cfd93ffb1d94d484513ece668fa4570bd80b521a7f6ba9bce')
 
 prepare() {
     cd "${srcdir}/${_pkgname}5-${pkgver}"
@@ -41,7 +41,7 @@
       -e 
'[email protected]:443/uproot/[email protected]:443/uproot3/examples@g' 
\
       -i {} \;
     # tests depend on some unpackaged deps
-    PYTHONPATH="$PWD/build/lib" pytest
+    PYTHONPATH="${PWD}/build/lib" pytest
 }
 
 package_python-uproot() {
@@ -54,7 +54,6 @@
 }
 
 package_python-uproot-docs() {
-    depends=('python-sphinx')
     cd "${srcdir}/${_pkgname}5-${pkgver}"
 
     install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
@@ -61,5 +60,5 @@
     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}/"
+    PYTHONPATH="${PWD}/build/lib" sphinx-build "${PWD}/docs-sphinx" 
"${pkgdir}/usr/share/doc/${pkgbase}"
 }

Reply via email to