diff options
author | Luis Martinez | 2021-07-05 00:24:07 -0500 |
---|---|---|
committer | Luis Martinez | 2021-07-05 00:24:07 -0500 |
commit | 34b6b86d8d8c39dab0e51f1355f06617de2e3fe5 (patch) | |
tree | a1f9fbeea22198d35a8389aeedf5254ce2de9242 /PKGBUILD | |
parent | dcbcdc5fc7934772ae738410ec39c81bb85c1536 (diff) | |
download | aur-34b6b86d8d8c39dab0e51f1355f06617de2e3fe5.tar.gz |
update to 0.5.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 22 insertions, 20 deletions
@@ -1,34 +1,36 @@ +# Maintainer: Luis Martinez <luis dot martinez at tuta dot io> # Contributor: Lex Black <autumn-wind@web.de> # Contributor: Francois Boulogne <fboulogne at april dot org> -_name=pims pkgname=python-pims -pkgver=0.4.1 -pkgrel=2 +_name="${pkgname#python-}" +pkgver=0.5 +pkgrel=1 pkgdesc="Python Image Sequence: Load video and sequential images" url="https://github.com/soft-matter/pims" -arch=(any) +arch=('any') license=('BSD') -depends=('python-six' 'python-slicerator' 'python-numpy') -optdepends=('python-pillow: improved TIFF support' - 'python-tifffile: alternative TIFF support') -makedepends=('python-setuptools' 'python-scipy' 'python-matplotlib' 'python-scikit-image') -checkdepends=('python-nose') -source=(${_name}-${pkgver}.tar.gz::https://github.com/soft-matter/${_name}/archive/v$pkgver.tar.gz) -md5sums=('b221a61c48c530d173ce37e3134da754') - +depends=('python-slicerator' 'python-numpy') +# optdepends=('python-pillow: improved TIFF support' +# 'python-tifffile: alternative TIFF support') +makedepends=('python-setuptools') +# checkdepends=('python-nose') +source=("https://files.pythonhosted.org/packages/source/P/${_name^^}/${_name^^}-$pkgver.tar.gz") +sha256sums=('a02cdcbb153e2792042fb0bae7df4f30878bbba1f2d176114a87ee0dc18715a0') build() { - cd "$_name-$pkgver" - python setup.py build + cd "${_name^^}-$pkgver" + python setup.py build } -check() { - cd "$_name-$pkgver" - nosetests3 -} +# check() { +# cd "${_name^^}-$pkgver" +# nosetests3 +# } package() { - cd "$_name-$pkgver" - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + cd "${_name^^}-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" } |