void-packages/srcpkgs/python-vcversioner/template

29 lines
851 B
Bash
Raw Normal View History

# Template file for 'python-vcversioner'
pkgname=python-vcversioner
version=2.14.0.0
revision=1
noarch=yes
wrksrc="vcversioner-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python"
pycompile_module="vcversioner.py"
short_desc="Use version control tags to discover version numbers (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/habnabit/vcversioner"
license="ISC"
distfiles="${PYPI_SITE}/v/vcversioner/vcversioner-${version}.tar.gz"
checksum=acd43686e92e6c8bbeb4f2eef54408567a7adea9692fa72d591eec5357c03b86
python3.4-vcversioner_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="vcversioner.py"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}