mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 19:29:53 +03:00
40 lines
954 B
Text
40 lines
954 B
Text
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer:
|
|
_pkgname=django-model-utils
|
|
pkgname="py3-$_pkgname"
|
|
pkgver=5.0.0
|
|
pkgrel=0
|
|
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}/django_model_utils/django_model_utils-$pkgver.tar.gz"
|
|
options="!check" # requires py3-pytest-django
|
|
builddir="$srcdir/django_model_utils-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --root "$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
fd1eef5224de0426da99827a44571f21e95690282ec9cf3142be67cc5f5341aeab6a234758544a962000cf2e45134f31f03c9ae6c68d379cf55a59b6b5905f14 django_model_utils-5.0.0.tar.gz
|
|
"
|