upgpkg: python-pyssim 0.7-1

upstream release
This commit is contained in:
Giovanni Harting 2024-03-23 19:59:49 +01:00
parent e4fe1fb84a
commit 99b19aed1a
2 changed files with 15 additions and 13 deletions

View File

@ -1,8 +1,8 @@
pkgbase = python-pyssim
pkgdesc = Module for computing Structured Similarity Image Metric (SSIM) in Python
pkgver = 0.6
pkgrel = 2
url = https://pypi.org/project/pyssim
pkgver = 0.7
pkgrel = 1
url = https://github.com/jterrace/pyssim
arch = any
license = MIT
checkdepends = python-pytest
@ -10,9 +10,11 @@ pkgbase = python-pyssim
makedepends = python-installer
makedepends = python-wheel
makedepends = python-setuptools
depends = python
depends = python-pillow
depends = python-scipy
source = https://files.pythonhosted.org/packages/source/p/pyssim/pyssim-0.6.tar.gz
b2sums = 54a66aaf416f4c0f78895431e51a2d24741ee49fa4d8c01592e5d28c41979e6b45468609f1d24fb74486902805415589116b11031772ad561c6d65667e165b46
depends = python-numpy
source = python-pyssim-0.7.tar.gz::https://github.com/jterrace/pyssim/archive/refs/tags/v0.7.tar.gz
b2sums = a506a363521a6f0d5651c9f02d26538b99fdb3791a881488f23f4d65f704d5bc985129a80db1e3ec4eeca6059cfa621bc39a95fd1eabe57719b9f24279c6448d
pkgname = python-pyssim

View File

@ -2,17 +2,17 @@
pkgname=python-pyssim
_name=${pkgname#python-}
pkgver=0.6
pkgrel=2
pkgdesc="Module for computing Structured Similarity Image Metric (SSIM) in Python"
pkgver=0.7
pkgrel=1
pkgdesc='Module for computing Structured Similarity Image Metric (SSIM) in Python'
arch=(any)
url="https://pypi.org/project/pyssim"
url='https://github.com/jterrace/pyssim'
license=(MIT)
depends=(python-pillow python-scipy)
depends=(python python-pillow python-scipy python-numpy)
makedepends=(python-build python-installer python-wheel python-setuptools)
checkdepends=(python-pytest)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/${_name//-/_}-$pkgver.tar.gz")
b2sums=('54a66aaf416f4c0f78895431e51a2d24741ee49fa4d8c01592e5d28c41979e6b45468609f1d24fb74486902805415589116b11031772ad561c6d65667e165b46')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('a506a363521a6f0d5651c9f02d26538b99fdb3791a881488f23f4d65f704d5bc985129a80db1e3ec4eeca6059cfa621bc39a95fd1eabe57719b9f24279c6448d')
build() {
cd $_name-$pkgver
@ -22,7 +22,7 @@ build() {
package() {
cd $_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
# vim:set ts=2 sw=2 et: