blob: bc4e85e69ca97406d8670aaca21e455a0841218e (
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
|
# Maintainer: Qirui Wang <wqr.prg@gmail.com>
_name=hickle
pkgname="python-$_name"
pkgver=4.0.0
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' 'python-dill')
#checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-runner' 'python-scipy' 'python-pandas' 'python-codecov' 'check-manifest' 'twine')
source=("https://github.com/telegraphic/$_name/archive/v$pkgver.tar.gz")
sha256sums=('b1c4ae4f421187ab562b4a8b61d282e0e90e6d7fc52cffd39880a8ca19adf5cc')
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"
}
|