parent
7b58b2cf17
commit
a90dc3696b
2 changed files with 29 additions and 0 deletions
28
srcpkgs/python-voluptuous/template
Normal file
28
srcpkgs/python-voluptuous/template
Normal 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
1
srcpkgs/python3-voluptuous
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-voluptuous
|
Loading…
Reference in a new issue