void-packages/srcpkgs/python-configobj/template

30 lines
863 B
Bash

# Template file for 'python-configobj'
pkgname=python-configobj
version=5.0.6
revision=8
wrksrc="configobj-${version}"
build_style=python-module
pycompile_module="_version.py configobj.py validate.py"
hostmakedepends="python-devel python3-devel"
depends="python-six"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/DiffSK/configobj"
short_desc="Simple but powerful config file reader and writer (Python2)"
distfiles="https://github.com/DiffSK/configobj/archive/v${version}.tar.gz"
checksum=2e140354efcca6f558ff9ee941b435ae09a617bc071797bef62c8d6ed2033d5e
post_install() {
vlicense LICENSE
}
python3-configobj_package() {
short_desc="${short_desc/Python2/Python3}"
pycompile_module="_version.py configobj.py validate.py"
depends="python3-six"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}