aports/community/py3-django-reversion/APKBUILD
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

38 lines
954 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer:
_pkgname=django-reversion
pkgname="py3-$_pkgname"
pkgver=4.0.0
pkgrel=5
pkgdesc="Extension to the Django web framework that provides version control for model instances"
url="https://github.com/etianen/django-reversion"
arch="noarch"
license="BSD-3-Clause"
depends="
py3-django
"
makedepends="py3-setuptools_scm"
checkdepends="
py3-psycopg2
"
options="!check" # test suite expects module to be installed during tests
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/d/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 tests/manage.py test tests
}
package() {
python3 setup.py install --root "$pkgdir"
}
sha512sums="
f7290cc9f978a927549bb7f536027d2787721c931a10567df7f610f74d2d2f4d4a9e31862f826651bdf99db769e9a2722a8a498763b1bb2b4477dd572893aac2 django-reversion-4.0.0.tar.gz
"