2012-06-28 12:43:06 +02:00
|
|
|
# Template file for 'python-simplejson'
|
|
|
|
pkgname=python-simplejson
|
|
|
|
version=2.5.2
|
2013-02-21 19:19:47 +01:00
|
|
|
revision=2
|
2012-06-28 12:43:06 +02:00
|
|
|
build_style=python-module
|
2013-03-13 23:57:34 +01:00
|
|
|
makedepends="python-devel"
|
2012-06-28 12:43:06 +02: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 11:13:30 +02:00
|
|
|
nofetch=yes
|
|
|
|
noextract=yes
|
|
|
|
|
2012-06-28 12:43:06 +02: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 11:13:30 +02:00
|
|
|
|
|
|
|
python-simplejson_package() {
|
|
|
|
pycompile_module="simplejson"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|