diff options
author | Caleb Maclennan | 2024-04-28 12:35:51 +0300 |
---|---|---|
committer | Caleb Maclennan | 2024-04-28 12:35:51 +0300 |
commit | 9f37a5bb89dc956376ac78b2890c3ec9e18fa1e2 (patch) | |
tree | e8049c3c0cedb9e3dacdade0eb3eb087d6867d3c | |
parent | 3c6f333d351591454d2c1c5ff91cab7bb91a8ff4 (diff) | |
download | aur-python-shortuuid.tar.gz |
upgpkg: python-shortuuid 1.0.13-2
Rebuild for Python 3.12, cleanup packaging odds and ends
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 6 deletions
@@ -1,11 +1,12 @@ pkgbase = python-shortuuid pkgdesc = library that generates concise, unambiguous, URL-safe UUIDs pkgver = 1.0.13 - pkgrel = 1 + pkgrel = 2 url = https://github.com/skorokithakis/shortuuid arch = any - license = BSD + license = BSD-3-Clause checkdepends = python-django + checkdepends = python-pytest makedepends = python-build makedepends = python-installer makedepends = python-wheel @@ -5,16 +5,17 @@ pkgname=python-shortuuid _pkgname=${pkgname#python-} pkgver=1.0.13 -pkgrel=1 +pkgrel=2 pkgdesc='library that generates concise, unambiguous, URL-safe UUIDs' arch=(any) url="https://github.com/skorokithakis/$_pkgname" -license=(BSD) +license=(BSD-3-Clause) depends=(python) options=(!emptydirs) makedepends=(python-{build,installer,wheel} python-poetry-core) -checkdepends=(python-django) +checkdepends=(python-django + python-pytest) _archive="$_pkgname-$pkgver" source=("$url/archive/v$pkgver/$_archive.tar.gz") sha256sums=('2ac98d9ff16cac764d1f2e98cde146bce436714e6a6c74ec42c24a63c210ce1d') @@ -26,7 +27,7 @@ build() { check() { cd "$_archive" - python -m unittest discover + pytest } package() { |