void-packages/srcpkgs/python-vcversioner/template
2015-06-11 23:46:53 +02:00

29 lines
851 B
Bash

# 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
}
}