void-packages/srcpkgs/python-configobj/template
2014-07-02 13:18:05 +02:00

26 lines
808 B
Text

pkgname="python-configobj"
version=5.0.5
revision=3
wrksrc="configobj-${version}"
build_style=python-module
python_versions="2.7 3.4"
noarch=yes
hostmakedepends="python-devel python3.4-devel"
makedepends="${hostmakedepends} python-six python3.4-six"
depends="python python-six"
maintainer="Dominik Honnef <dominik@honnef.co>"
license="New BSD"
homepage="https://github.com/DiffSK/configobj"
short_desc="Simple but powerful config file reader and writer (Python2)"
distfiles="https://github.com/DiffSK/configobj/archive/v5.0.5.tar.gz"
checksum=2fdca2ddca5b01ecee61e2dc73ef13870327854abd5cb9f28784bbae25bc5cde
python3.4-configobj_package() {
noarch=yes
short_desc="${short_desc/Python2/Python3.4/}"
depends="python3.4 python3.4-six"
pycompile_version="3.4"
pkg_install() {
vmove usr/lib/python3.4
}
}