mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/python-awkward to 1.9.0-1
This commit is contained in:
parent
6b3b11cd34
commit
52d759f347
1 changed files with 8 additions and 7 deletions
|
@ -2,23 +2,23 @@
|
|||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - remove cuda make/optdepends
|
||||
# - move python-pyaml to makedepends
|
||||
# - move python-yaml to makedepends
|
||||
# - add python-setuptools to makedepends
|
||||
|
||||
_pkgname=awkward
|
||||
pkgname="python-${_pkgname}"
|
||||
pkgver=1.8.0
|
||||
pkgrel=2
|
||||
pkgver=1.9.0
|
||||
pkgrel=1
|
||||
pkgdesc="Manipulate jagged, chunky, and/or bitmasked arrays as easily as Numpy"
|
||||
url="https://github.com/scikit-hep/awkward-1.0"
|
||||
url="https://github.com/scikit-hep/awkward"
|
||||
license=('BSD')
|
||||
arch=('x86_64')
|
||||
depends=('python-numpy' 'python-packaging')
|
||||
makedepends=('cmake' 'git' 'python-build' 'python-installer' 'python-wheel' 'python-pyaml' 'python-setuptools')
|
||||
makedepends=('cmake' 'git' 'python-build' 'python-installer' 'python-wheel' 'python-yaml' 'python-setuptools')
|
||||
checkdepends=('python-pytest' 'python-pytest-cov' 'python-hist' 'python-pandas' 'python-numexpr' 'python-pyarrow' 'python-scikit-hep-testdata' 'python-vector'
|
||||
'root' 'pybind11' 'rapidjson')
|
||||
source=(
|
||||
"${pkgname}::git+https://github.com/scikit-hep/${_pkgname}-1.0#tag=${pkgver}"
|
||||
"${pkgname}::git+https://github.com/scikit-hep/${_pkgname}#tag=v${pkgver}"
|
||||
"${pkgname}-dlpack::git+https://github.com/dmlc/dlpack.git"
|
||||
"${pkgname}-rapidjson::git+https://github.com/Tencent/rapidjson.git"
|
||||
"${pkgname}-pybind11::git+https://github.com/pybind/pybind11.git"
|
||||
|
@ -57,7 +57,8 @@ build() {
|
|||
|
||||
check() {
|
||||
cd "${pkgname}"
|
||||
PYTHONPATH="build/lib.linux-${CARCH}-$(get_pyver)" pytest tests || echo 'some tests fail'
|
||||
local python_version=$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')
|
||||
PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-${python_version}" pytest || echo 'some tests fail'
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
Loading…
Reference in a new issue