2012-06-28 10:43:06 +00:00
|
|
|
# Template file for 'python-simplejson'
|
|
|
|
pkgname=python-simplejson
|
2014-10-31 18:49:05 +00:00
|
|
|
version=3.6.5
|
2014-07-13 18:00:20 +00:00
|
|
|
revision=1
|
2014-09-11 11:26:01 +00:00
|
|
|
wrksrc="simplejson-${version}"
|
2012-06-28 10:43:06 +00:00
|
|
|
build_style=python-module
|
2014-07-13 18:00:20 +00:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-devel python3.4-devel"
|
2014-01-26 16:27:23 +00:00
|
|
|
makedepends="${hostmakedepends}"
|
2014-07-13 18:00:20 +00:00
|
|
|
depends="python"
|
2014-01-01 15:10:11 +00:00
|
|
|
pycompile_module="simplejson"
|
2014-07-13 18:00:20 +00:00
|
|
|
short_desc="Simple, fast, extensible JSON encoder/decoder for Python2"
|
2012-06-28 10:43:06 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-07-13 18:00:20 +00:00
|
|
|
homepage="https://github.com/simplejson/simplejson"
|
|
|
|
license="MIT, AFL-2.1"
|
2014-09-11 11:26:01 +00:00
|
|
|
distfiles="${PYPI_SITE}/s/simplejson/simplejson-${version}.tar.gz"
|
2014-10-31 18:49:05 +00:00
|
|
|
checksum=2a3189f79d1c7b8a2149a0e783c0b4217fad9b30a6e7d60450f2553dc2c0e57e
|
2012-06-28 10:43:06 +00:00
|
|
|
|
2014-07-13 18:00:20 +00:00
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE.txt LICENSE
|
|
|
|
}
|
|
|
|
|
|
|
|
python3.4-simplejson_package() {
|
|
|
|
depends="python3.4"
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="simplejson"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
vlicense ${wrksrc}/LICENSE.txt LICENSE
|
|
|
|
}
|
2012-06-28 10:43:06 +00:00
|
|
|
}
|