python-simplejson: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-28 23:41:22 +07:00
parent 3a055ab703
commit 3926ccff89
2 changed files with 7 additions and 18 deletions

View file

@ -1 +0,0 @@
python-simplejson

View file

@ -1,13 +1,12 @@
# Template file for 'python-simplejson' # Template file for 'python3-simplejson'
pkgname=python-simplejson pkgname=python3-simplejson
version=3.17.0 version=3.17.0
revision=2 revision=3
wrksrc="simplejson-${version}" wrksrc="simplejson-${version}"
build_style=python-module build_style=python3-module
pycompile_module="simplejson" hostmakedepends="python3-setuptools"
hostmakedepends="python-setuptools python3-setuptools" makedepends="python3-devel"
makedepends="python-devel python3-devel" short_desc="Simple, fast, extensible JSON encoder/decoder for Python3"
short_desc="Simple, fast, extensible JSON encoder/decoder for Python2"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT, AFL-2.1" license="MIT, AFL-2.1"
homepage="https://github.com/simplejson/simplejson" homepage="https://github.com/simplejson/simplejson"
@ -22,12 +21,3 @@ do_check() {
post_install() { post_install() {
vlicense LICENSE.txt LICENSE vlicense LICENSE.txt LICENSE
} }
python3-simplejson_package() {
pycompile_module="simplejson"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt LICENSE
}
}