python-simplejson: update to 3.5.3; add python3.4 subpkg
This commit is contained in:
parent
7889075b35
commit
eb88c697b8
2 changed files with 25 additions and 11 deletions
|
@ -1,19 +1,32 @@
|
|||
# Template file for 'python-simplejson'
|
||||
pkgname=python-simplejson
|
||||
version=2.5.2
|
||||
revision=2
|
||||
version=3.5.3
|
||||
revision=1
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python-module
|
||||
hostmakedepends="python-devel"
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-devel python3.4-devel"
|
||||
makedepends="${hostmakedepends}"
|
||||
depends="python"
|
||||
pycompile_module="simplejson"
|
||||
short_desc="Simple, fast, extensible JSON encoder/decoder for Python"
|
||||
short_desc="Simple, fast, extensible JSON encoder/decoder for Python2"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://undefined.org/python/#simplejson"
|
||||
license="MIT"
|
||||
homepage="https://github.com/simplejson/simplejson"
|
||||
license="MIT, AFL-2.1"
|
||||
distfiles="https://pypi.python.org/packages/source/s/simplejson/simplejson-${version}.tar.gz"
|
||||
checksum=a80dc90320e1c1b8eaceaaa755ae2aed382d64a59321ae9f6ddbe0321c02878a
|
||||
|
||||
do_fetch() {
|
||||
local url="git://github.com/simplejson/simplejson.git"
|
||||
git clone $url $pkgname-$version
|
||||
cd $pkgname-$version
|
||||
git checkout v${version}
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
1
srcpkgs/python3.4-simplejson
Symbolic link
1
srcpkgs/python3.4-simplejson
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-simplejson
|
Loading…
Reference in a new issue