python-toml: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 16:15:38 +07:00
parent ad1402a700
commit 4f2c2ec714
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-toml'
pkgname=python-toml
version=0.10.0
revision=2
archs=noarch
wrksrc="toml-${version}"
build_style=python-module
pycompile_module="toml"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 library for TOML"
maintainer="AcidBear <jake.slazenger@yandex.com>"
license="MIT"
homepage="https://github.com/uiri/toml"
distfiles="${PYPI_SITE}/t/toml/toml-${version}.tar.gz"
checksum=229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c
pkg_install() {
vlicense LICENSE
}
python3-toml_package() {
archs=noarch
depends="python3"
pycompile_module="toml"
short_desc=${short_desc/Python2/Python3}
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-toml

View file

@ -0,0 +1,18 @@
# Template file for 'python3-toml'
pkgname=python3-toml
version=0.10.0
revision=3
wrksrc="toml-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 library for TOML"
maintainer="AcidBear <jake.slazenger@yandex.com>"
license="MIT"
homepage="https://github.com/uiri/toml"
distfiles="${PYPI_SITE}/t/toml/toml-${version}.tar.gz"
checksum=229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c
pkg_install() {
vlicense LICENSE
}