upgpkg: python-preggy 1.4.4-2

formatting
This commit is contained in:
Giovanni Harting 2024-03-23 19:59:23 +01:00
parent 397e3c324d
commit e4fe1fb84a
2 changed files with 7 additions and 6 deletions

View File

@ -10,10 +10,11 @@ pkgbase = python-preggy
makedepends = python-installer
makedepends = python-wheel
makedepends = python-setuptools
depends = python
depends = python-six
depends = python-colorama
depends = python-unidecode
source = https://github.com/heynemann/preggy/archive/refs/tags/1.4.4.tar.gz
source = python-preggy-1.4.4.tar.gz::https://github.com/heynemann/preggy/archive/refs/tags/1.4.4.tar.gz
b2sums = 8d600e1c1e1e2948c31e7dbec907d87bd3590dfdecb22ee22a3f75ca65f22d50bc204fd0751327ac8ca22856d84f2ee7ddc1b42710f956e9c22b3e72d6047a65
pkgname = python-preggy

View File

@ -4,14 +4,14 @@ pkgname=python-preggy
_name=${pkgname#python-}
pkgver=1.4.4
pkgrel=2
pkgdesc="assertion library for Python"
pkgdesc='assertion library for Python'
arch=(any)
url="https://github.com/heynemann/preggy"
url='https://github.com/heynemann/preggy'
license=(MIT)
depends=(python-six python-colorama python-unidecode)
depends=(python python-six python-colorama python-unidecode)
makedepends=(python-build python-installer python-wheel python-setuptools)
checkdepends=(python-pytest)
source=("https://github.com/heynemann/preggy/archive/refs/tags/$pkgver.tar.gz")
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
b2sums=('8d600e1c1e1e2948c31e7dbec907d87bd3590dfdecb22ee22a3f75ca65f22d50bc204fd0751327ac8ca22856d84f2ee7ddc1b42710f956e9c22b3e72d6047a65')
build() {
@ -27,7 +27,7 @@ check() {
package() {
cd $_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
# vim:set ts=2 sw=2 et: