2012-06-28 10:43:06 +00:00
|
|
|
# Template file for 'python-simplejson'
|
|
|
|
pkgname=python-simplejson
|
|
|
|
version=2.5.2
|
2013-02-21 18:19:47 +00:00
|
|
|
revision=2
|
2012-06-28 10:43:06 +00:00
|
|
|
build_style=python-module
|
2013-03-13 22:57:34 +00:00
|
|
|
makedepends="python-devel"
|
2012-06-28 10:43:06 +00:00
|
|
|
short_desc="Simple, fast, extensible JSON encoder/decoder for Python"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://undefined.org/python/#simplejson"
|
|
|
|
license="MIT"
|
|
|
|
|
2013-04-14 09:13:30 +00:00
|
|
|
nofetch=yes
|
|
|
|
noextract=yes
|
|
|
|
|
2012-06-28 10:43:06 +00:00
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/simplejson/simplejson.git"
|
|
|
|
git clone $url $pkgname-$version
|
|
|
|
cd $pkgname-$version && git checkout v${version}
|
|
|
|
}
|
2013-04-14 09:13:30 +00:00
|
|
|
|
|
|
|
python-simplejson_package() {
|
|
|
|
pycompile_module="simplejson"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|