mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-20 17:55:15 +03:00
36 lines
803 B
Text
36 lines
803 B
Text
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
pkgname=py3-swapper
|
|
_pkgname=swapper
|
|
pkgver=1.3.0
|
|
pkgrel=1
|
|
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"
|
|
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
|
|
"
|