New package: python-voluptuous-0.10.5

Closes: #6385 [via git-merge-pr]
This commit is contained in:
Joseph LaFreniere 2017-05-10 01:56:59 -05:00 committed by Michael Aldridge
parent 7b58b2cf17
commit a90dc3696b
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,28 @@
# Template file for 'python-voluptuous'
pkgname=python-voluptuous
version=0.10.5
revision=1
noarch=yes
wrksrc="voluptuous-${version}"
build_style=python-module
pycompile_module="voluptuous"
hostmakedepends="python-setuptools python3-setuptools"
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() {
pycompile_module="voluptuous"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense COPYING
}
}

1
srcpkgs/python3-voluptuous Symbolic link
View file

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