blob: e18596d2ad1716ab7cbb7628916eae12cecb0008 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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
"
|