mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
38 lines
830 B
Plaintext
38 lines
830 B
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
pkgname=py3-swapper
|
|
_pkgname=swapper
|
|
pkgver=1.3.0
|
|
pkgrel=2
|
|
pkgdesc="Django Swappable Models"
|
|
url="https://github.com/openwisp/django-swappable-models"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
py3-django
|
|
"
|
|
checkdepends="
|
|
py3-flake8
|
|
py3-tox
|
|
"
|
|
makedepends="py3-setuptools_scm"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --root "$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
44404bfc4bd7b832e09f6df04f046df80e72d25307299e2d7565c3d3c9d9f2156473f20a3c3922ad02118c5486aecf9cd1b912b9334c31a482eccc7d04ad886d swapper-1.3.0.tar.gz
|
|
"
|