Alex Denes d83e5a9fcb */*: drop maintainership for packages related to openwisp
These packages i've chose to maintain as they were relevant to a project
that has since been inactive/dropped. I do not wish to further maintain
them, as they have no use for me. Anyone is free to pick up
maintainership if they wish.
2024-06-17 06:56:52 +00:00

41 lines
927 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer:
_pkgname=django-model-utils
pkgname="py3-$_pkgname"
pkgver=4.4.0
pkgrel=2
pkgdesc="Django model mixins and utilities"
url="https://github.com/jazzband/django-model-utils"
arch="noarch"
license="BSD-3-Clause"
depends="
py3-django
"
makedepends="py3-setuptools_scm"
checkdepends="
py3-pytest
py3-pytest-django
py3-psycopg2
py3-pytest-cov
"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
options="!check" # requires py3-pytest-django
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --root "$pkgdir"
}
sha512sums="
c912b45712ae4ea1b8a4d683f9954956e1fb5a56b1f5ddf8840c895e3f10c4cf4927d833ef14480a2d1021e5a220a8d1fb588ff6c944481a429e1305da58bab8 django-model-utils-4.4.0.tar.gz
"