2017-05-10 06:56:59 +00:00
|
|
|
# Template file for 'python-voluptuous'
|
|
|
|
pkgname=python-voluptuous
|
|
|
|
version=0.10.5
|
2017-08-28 05:01:57 +00:00
|
|
|
revision=2
|
2017-05-10 06:56:59 +00:00
|
|
|
noarch=yes
|
|
|
|
wrksrc="voluptuous-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
pycompile_module="voluptuous"
|
|
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
2017-08-28 05:01:57 +00:00
|
|
|
depends="python"
|
2017-05-10 06:56:59 +00:00
|
|
|
short_desc="Python2 data validation library"
|
|
|
|
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
|
|
|
license="3-clause-BSD"
|
|
|
|
homepage="https://github.com/alecthomas/voluptuous"
|
|
|
|
distfiles="${PYPI_SITE}/v/voluptuous/voluptuous-${version}.tar.gz"
|
|
|
|
checksum=7a7466f8dc3666a292d186d1d871a47bf2120836ccb900d5ba904674957a2396
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense COPYING
|
|
|
|
}
|
|
|
|
|
|
|
|
python3-voluptuous_package() {
|
2017-08-28 05:01:57 +00:00
|
|
|
depends="python3"
|
2017-05-10 06:56:59 +00:00
|
|
|
pycompile_module="voluptuous"
|
|
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3*
|
|
|
|
vlicense COPYING
|
|
|
|
}
|
|
|
|
}
|