aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-cjson/APKBUILD
blob: 1db2b5d4910ce3b5c5ce48d34949c9bcfaf5e031 (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-cjson
_pkgname=python-cjson
pkgver=1.1.0
pkgrel=0
pkgdesc="Fast JSON encoder/decoder for Python"
url="https://pypi.python.org/pypi/python-cjson"
arch="all"
license="LGPL2+"
depends=""
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="adb28f42c72ef573dfbd4cdf09676ace  python-cjson-1.1.0.tar.gz"
sha256sums="a01fabb7593728c3d851e1cd9a3efbd18f72650a31a5aa8a74018640da3de8b3  python-cjson-1.1.0.tar.gz"
sha512sums="039e5f724c3a49d0043f788b0634c4191a6ae5abaa012d8491622e5a9ac22ecc5a342a0243f70b0ac02c8640243aaf8b0cf20a0ab12ee4866d9af966d73c1706  python-cjson-1.1.0.tar.gz"