aports/community/py3-django-sorted-m2m/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

34 lines
903 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer:
_pkgname=django-sorted-m2m
pkgname="py3-$_pkgname"
pkgver=2.0.0
pkgrel=5
pkgdesc="Drop-in replacement for djangos own ManyToManyField"
url="https://github.com/Ponytech/django-sorted-m2m"
arch="noarch"
license="BSD-3-Clause"
depends="py3-django"
makedepends="py3-setuptools_scm"
checkdepends="py3-django-utils-six"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
options="!check" # requires py3-django-utils-six
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --root "$pkgdir"
}
sha512sums="
94052a7c8dbcff5510225add396f1f5130d4cb22364ae90183f331a2f0e91bf303f9209f8a9dc5163c733e7fc181405c9dee52ffe416a1fd3f161e26151e6a48 django-sorted-m2m-2.0.0.tar.gz
"