mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-12 11:21:50 +01:00
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
# Contributor: Francesco Colista <francesco.colista@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=py-simplejson
|
|
_pkgname=simplejson
|
|
pkgver=3.3.0
|
|
pkgrel=0
|
|
pkgdesc="Simple, fast, extensible JSON encoder/decoder for Python"
|
|
url="http://pypi.python.org/pypi/simplejson/"
|
|
arch="all"
|
|
license="PSF"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="python-dev py-setuptools"
|
|
install=""
|
|
subpackages=""
|
|
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/$_pkgname-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
python setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="0e29b393bceac8081fa4e93ff9f6a001 simplejson-3.3.0.tar.gz"
|
|
sha256sums="7a8a6bd82e111976aeb06138316ab10847adf612925072eaff8512228bcf9a1f simplejson-3.3.0.tar.gz"
|
|
sha512sums="83e0157c57d24ce1b0ed01a206faf61c832bf8c427cd0db546c2a352cbc5e8f197a93dc09a1bbf9337431adbabccce36da62352f26799fd50dac0678c22a62b3 simplejson-3.3.0.tar.gz"
|