1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-20 17:55:15 +03:00
aports/community/py3-jsonfield/APKBUILD
2022-11-22 20:33:35 +01:00

33 lines
869 B
Text

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
_pkgname=jsonfield
pkgname="py3-$_pkgname"
pkgver=3.1.0
pkgrel=2
pkgdesc="Reusable Django field that allows you to store validated JSON in your model"
url="https://github.com/rpkilby/jsonfield/"
arch="noarch"
license="MIT"
depends="
py3-django
"
makedepends="py3-setuptools_scm"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
options="!check" # test suite gives ImproperlyConfigured
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 -m django test
}
package() {
python3 setup.py install --root "$pkgdir"
}
sha512sums="
8d8766f0f23b641d07a93aa38a91fb76e92f34f982123183e3e7abbf210c8a3f425584580cb9674b1c9f1a1edb884233fadb2b1829f9f1ecb2da397defe27e0b jsonfield-3.1.0.tar.gz
"