python-voluptuous: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 14:41:59 +07:00
parent f89fe3e5d9
commit 6b17e78f72
2 changed files with 7 additions and 20 deletions

View file

@ -1 +0,0 @@
python-voluptuous

View file

@ -1,14 +1,12 @@
# Template file for 'python-voluptuous'
pkgname=python-voluptuous
# Template file for 'python3-voluptuous'
pkgname=python3-voluptuous
version=0.11.5
revision=3
archs=noarch
revision=4
wrksrc="voluptuous-${version}"
build_style=python-module
pycompile_module="voluptuous"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 data validation library"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 data validation library"
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
license="BSD-3-Clause"
homepage="https://github.com/alecthomas/voluptuous"
@ -20,13 +18,3 @@ post_install() {
vlicense COPYING
chmod o+r -R ${DESTDIR}/usr/lib
}
python3-voluptuous_package() {
depends="python3"
pycompile_module="voluptuous"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense COPYING
}
}