Commit 0783ba5d authored by Alex Denes's avatar Alex Denes 🔧 Committed by Leo
Browse files

community/py3-jsonfield: new aport

https://github.com/rpkilby/jsonfield/ Reusable Django field that allows you to store validated JSON in your model
parent 8e0faa0f
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
_pkgname=jsonfield
pkgname="py3-$_pkgname"
pkgver=3.1.0
pkgrel=0
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
"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment