Skip to content
Snippets Groups Projects
Commit 3d0c7887 authored by Leo's avatar Leo Committed by Kevin Daudt
Browse files

testing/py-h5py: modernize, fix license.

Closes GH-8118
parent d99915c2
No related branches found
No related tags found
No related merge requests found
......@@ -3,24 +3,29 @@
pkgname=py-h5py
_pkgname=h5py
pkgver=2.8.0
pkgrel=3
pkgrel=4
pkgdesc="Read and write HDF5 files from Python"
# ERROR: test_exc (h5py.tests.old.test_group.TestLen)
# len() on closed group gives ValueError
options="!check"
url="https://www.h5py.org"
arch="all !s390x"
license="BSD"
license="BSD-3-Clause"
depends="py-six py-numpy hdf5"
makedepends="cython python2-dev python3-dev hdf5-dev py-setuptools py-numpy-dev py-six"
makedepends="cython python2-dev python3-dev hdf5-dev py-setuptools py-numpy-dev"
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
python2 setup.py build
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
mkdir -p "$pkgdir"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment