summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Martinez2021-07-05 00:24:07 -0500
committerLuis Martinez2021-07-05 00:24:07 -0500
commit34b6b86d8d8c39dab0e51f1355f06617de2e3fe5 (patch)
treea1f9fbeea22198d35a8389aeedf5254ce2de9242
parentdcbcdc5fc7934772ae738410ec39c81bb85c1536 (diff)
downloadaur-34b6b86d8d8c39dab0e51f1355f06617de2e3fe5.tar.gz
update to 0.5.0
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD42
2 files changed, 26 insertions, 32 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8220e13fe8d2..a684195f2895 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,14 @@
pkgbase = python-pims
pkgdesc = Python Image Sequence: Load video and sequential images
- pkgver = 0.4.1
- pkgrel = 2
+ pkgver = 0.5
+ pkgrel = 1
url = https://github.com/soft-matter/pims
arch = any
license = BSD
- checkdepends = python-nose
makedepends = python-setuptools
- makedepends = python-scipy
- makedepends = python-matplotlib
- makedepends = python-scikit-image
- depends = python-six
depends = python-slicerator
depends = python-numpy
- optdepends = python-pillow: improved TIFF support
- optdepends = python-tifffile: alternative TIFF support
- source = pims-0.4.1.tar.gz::https://github.com/soft-matter/pims/archive/v0.4.1.tar.gz
- md5sums = b221a61c48c530d173ce37e3134da754
+ source = https://files.pythonhosted.org/packages/source/P/PIMS/PIMS-0.5.tar.gz
+ sha256sums = a02cdcbb153e2792042fb0bae7df4f30878bbba1f2d176114a87ee0dc18715a0
pkgname = python-pims
-
diff --git a/PKGBUILD b/PKGBUILD
index 254b16c0759c..b1ce783f1f3d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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/"
}