1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 02:05:16 +03:00
aports/community/py3-django-sorted-m2m/APKBUILD
2022-11-22 20:33:35 +01:00

32 lines
905 B
Text
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: Alex Denes <caskd@redxen.eu>
_pkgname=django-sorted-m2m
pkgname="py3-$_pkgname"
pkgver=2.0.0
pkgrel=2
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"
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
"