~dricottone/huttese-apk

ref: 7f89568c4e427436cdc0ecb4f06f13a779e33b3e huttese-apk/sr.ht/py3-anyjson/APKBUILD -rw-r--r-- 791 bytes
7f89568c — Drew DeVault hg.sr.ht: add -nginx subpackage 4 years ago
                                                                                
129e647f Drew DeVault
f9216d16 Drew DeVault
129e647f Drew DeVault
3b21ffee Drew DeVault
129e647f Drew DeVault
f9216d16 Drew DeVault
129e647f Drew DeVault
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-anyjson
_pyname=anyjson
pkgver=0.3.3
pkgrel=3
pkgdesc="Wraps the best available JSON implementation available in a common interface"
url="http://pypi.python.org/pypi/anyjson"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="9e70df3cb8bfe2348fdb0eb03cf3c33ca5a1171aca6467787fc28c161354b5ebe89b2f73badfa00708774d6825799860493ddcac7f5da8cc9c251b92b5a343bc  anyjson-0.3.3.tar.gz"