mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
this is only a partial rebuild, including stuff that i built on my personal machine with python 3.12.2; might fail with 3.12.3
35 lines
911 B
Plaintext
35 lines
911 B
Plaintext
# Maintainer:
|
|
pkgname=py3-shortuuid
|
|
_pkgname=shortuuid
|
|
pkgver=1.0.11
|
|
pkgrel=3
|
|
pkgdesc="Python library that generates short, pretty, unambiguous unique IDs"
|
|
url="https://pypi.org/project/shortuuid/"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-django"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/shortuuid-$pkgver"
|
|
|
|
replaces="py-shortuuid" # Backwards compatibility
|
|
provides="py-shortuuid=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
3aec978713a9a95aa3cb269c0772fd1c4849587041d81765aac816004cad05eea29cad7cc90e31dc85b1f4886ea08c643b4495f7920f93c2a73358bdfce6edb8 shortuuid-1.0.11.tar.gz
|
|
"
|