summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Gizdov2018-09-24 15:35:41 +0200
committerKonstantin Gizdov2018-09-24 15:35:41 +0200
commit024a2341f7d32d27de61d5d88ee8eabe712fe5c8 (patch)
tree3d0d1c1d636a0c70114d189bc5134fd38e58b070
parent467eb8cb090182297929158480e3581a6af10e36 (diff)
downloadaur-024a2341f7d32d27de61d5d88ee8eabe712fe5c8.tar.gz
update to v3.0.2
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD39
2 files changed, 35 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7eed9db03ce..be93bb46f00 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,29 @@
pkgbase = python-uproot
pkgdesc = Minimalist CERN ROOT I/O in pure Python and Numpy
- pkgver = 2.9.0
- pkgrel = 3
+ pkgver = 3.0.2
+ pkgrel = 1
url = https://github.com/scikit-hep/uproot
arch = any
license = BSD
options = !emptydirs
- source = https://github.com/scikit-hep/uproot/archive/2.9.0.zip
- sha256sums = 352d21d99e5f469086bbb5a1d516a9ebba5b322abdd5235be42c6d80d650beae
+ source = https://github.com/scikit-hep/uproot/archive/3.0.2.zip
+ sha256sums = 673213b05f116bfd67506c3657a789bdd835086618dce5f265eff9804c064daa
pkgname = python2-uproot
+ depends = python2-awkward-array
+ depends = python2-cachetools
+ depends = python2-lz4
depends = python2-numpy
+ depends = python2-uproot-methods
optdepends = python2-futures: Python2 parallel processing
- optdepends = python2-lz4: compression used by some ROOT files
+ optdepends = python2-backports.lzma: LZMA compression used by some ROOT files
optdepends = xrootd: access remote files over XRootD
- optdepends = xz: compression used by some ROOT files
pkgname = python-uproot
+ depends = python-awkward-array
+ depends = python-cachetools
+ depends = python-lz4
depends = python-numpy
- optdepends = python-lz4: compression used by some ROOT files
+ depends = python-uproot-methods
optdepends = xrootd: access remote files over XRootD
diff --git a/PKGBUILD b/PKGBUILD
index a4d3b3a36ad..7d8bd58fd21 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,22 +3,21 @@
pkgbase=python-uproot
_pkgbase=uproot
pkgname=('python2-uproot' 'python-uproot')
-pkgver=2.9.0
-pkgrel=3
+pkgver=3.0.2
+pkgrel=1
pkgdesc="Minimalist CERN ROOT I/O in pure Python and Numpy"
arch=('any')
url="https://github.com/scikit-hep/uproot"
license=('BSD')
-# makedepends=('python2-setuptools' 'python-setuptools')
options=(!emptydirs)
source=("https://github.com/scikit-hep/${_pkgbase}/archive/${pkgver}.zip")
-sha256sums=('352d21d99e5f469086bbb5a1d516a9ebba5b322abdd5235be42c6d80d650beae')
+sha256sums=('673213b05f116bfd67506c3657a789bdd835086618dce5f265eff9804c064daa')
prepare() {
cd "${srcdir}"
- cp -a "uproot-${pkgver}" "uproot-py2-${pkgver}"
- cd "uproot-py2-${pkgver}"
+ cp -a "${_pkgbase}-${pkgver}" "${_pkgbase}-py2-${pkgver}"
+ cd "${_pkgbase}-py2-${pkgver}"
msg2 "Adjusting Python 2 shebangs..."
find . -name '*.py' -type f -exec \
@@ -32,7 +31,7 @@ build_python2-uproot() {
makedepends=('python2-setuptools' 'python2-numpy')
msg2 "Building Python2"
- cd "${srcdir}/uproot-py2-${pkgver}"
+ cd "${srcdir}/${_pkgbase}-py2-${pkgver}"
python2 setup.py build
}
@@ -40,17 +39,20 @@ build_python-uproot() {
makedepends=('python-setuptools' 'python-numpy')
msg2 "Building Python3"
- cd "${srcdir}/uproot-${pkgver}"
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
python setup.py build
}
package_python2-uproot() {
- depends=('python2-numpy')
+ depends=('python2-awkward-array'
+ 'python2-cachetools'
+ 'python2-lz4'
+ 'python2-numpy'
+ 'python2-uproot-methods')
optdepends=('python2-futures: Python2 parallel processing'
- 'python2-lz4: compression used by some ROOT files'
- 'xrootd: access remote files over XRootD'
- 'xz: compression used by some ROOT files')
- cd "${srcdir}/uproot-py2-${pkgver}"
+ 'python2-backports.lzma: LZMA compression used by some ROOT files'
+ 'xrootd: access remote files over XRootD')
+ cd "${srcdir}/${_pkgbase}-py2-${pkgver}"
python2 setup.py install --root="${pkgdir}/" --optimize=1
@@ -64,10 +66,13 @@ package_python2-uproot() {
}
package_python-uproot() {
- depends=('python-numpy')
- optdepends=('python-lz4: compression used by some ROOT files'
- 'xrootd: access remote files over XRootD')
- cd "${srcdir}/uproot-${pkgver}"
+ depends=('python-awkward-array'
+ 'python-cachetools'
+ 'python-lz4'
+ 'python-numpy'
+ 'python-uproot-methods')
+ optdepends=('xrootd: access remote files over XRootD')
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
python setup.py install --root="${pkgdir}/" --optimize=1