blob: a93c0487d36b9e2b8705067b4ddb0fe58197221f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Qirui Wang <wqr.prg@gmail.com>
_name=hickle
pkgname="python-$_name"
pkgver=5.0.3
pkgrel=1
pkgdesc='Hickle - a HDF5 based version of pickle'
arch=('any')
url="http://github.com/telegraphic/$_name"
license=('MIT')
depends=('python' 'python-h5py' 'python-numpy')
makedepends=('python-setuptools')
#checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-runner' 'python-scipy' 'python-pandas' 'check-manifest' 'twine')
optdepends=('python-dill: needed when files generated by hickle 3 and/or hickle 4 are to be loaded with hickle >= 5, for developent and testing'
'python-astropy: needed for development and testing'
'python-pandas: needed for development and testing')
source=("https://github.com/telegraphic/$_name/archive/$pkgver.tar.gz")
sha256sums=('698d0dc6644d38a38eb723eeafb06688e0adffa52f73624c48cfe22f2c49f2a3')
build() {
cd $_name-$pkgver
python setup.py build
}
#check() {
# cd $_name-$pkgver
# check-manifest
# twine check dist/*
# python setup.py test
#}
package() {
cd $_name-$pkgver
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 ./LICENSE "$pkgdir/usr/share/licenses/$pkgname/licence"
}
|