summaryrefslogtreecommitdiff
path: root/python-tifffile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-04-09 12:18:19 +0200
committerErich Eckner <git@eckner.net>2021-04-09 12:18:19 +0200
commit5da9a76f131e7d75110408aa885c1e5c24f05f9e (patch)
tree66bf6d3e6761d7a5a2d2b59840f9dfe2534f6734 /python-tifffile
parentf618b42c0f4f495e293c6f6d4271091880957dba (diff)
downloadarchlinuxewe-5da9a76f131e7d75110408aa885c1e5c24f05f9e.tar.xz
python-tifffile: make PKGBUILD compatible to other python-* packages
Diffstat (limited to 'python-tifffile')
-rw-r--r--python-tifffile/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/python-tifffile/PKGBUILD b/python-tifffile/PKGBUILD
index 0f5410d74..625296ed7 100644
--- a/python-tifffile/PKGBUILD
+++ b/python-tifffile/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=python-tifffile
pkgver=2021.3.31
-_pyname=${pkgname#python-}
+_pkgname=${pkgname#python-}
pkgrel=1
pkgdesc="Read and write image data from and to TIFF files"
arch=('any')
@@ -16,23 +16,23 @@ optdepends=('python-matplotlib>=3.1: required only for plotting'
'python-imagecodecs>=2020.2.18: required only for encoding or decoding LZW, JPEG, etc'
'python-lxml: required only for validating and printing XML')
#checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/cgohlke/$_pyname/archive/v$pkgver.tar.gz")
+source=("$_pkgname-$pkgver.tar.gz::https://github.com/cgohlke/$_pkgname/archive/v$pkgver.tar.gz")
sha512sums=('bd0c90c554bd5f03159fa3d6e51ec79e3a52220a2bd1bdcd79753af7d4f550006122d7140c4d895b3b247a5d30aeb7b3a7942409e53f8308df8bcc2ff3de078d')
build() {
- cd ${srcdir}/${_pyname}-${pkgver}
+ cd ${srcdir}/${_pkgname}-${pkgver}
python setup.py build
}
#check() {
-# cd ${srcdir}/${_pyname}-${pkgver}
+# cd ${srcdir}/${_pkgname}-${pkgver}
#
# PYTHONPATH="build/lib" pytest
#}
package() {
- cd ${srcdir}/${_pyname}-${pkgver}
+ cd ${srcdir}/${_pkgname}-${pkgver}
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"