void-packages/srcpkgs/python-setuptools_scm/template
2015-08-15 02:18:02 +02:00

28 lines
890 B
Bash

# Template file for 'python-setuptools_scm'
pkgname=python-setuptools_scm
version=1.7.0
revision=1
noarch=yes
wrksrc="setuptools_scm-${version}"
build_style="python-module"
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-setuptools"
pycompile_module="setuptools_scm"
short_desc="Package to manage versions by scm tags via setuptools (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/pypa/setuptools_scm"
license="MIT"
distfiles="${PYPI_SITE}/s/setuptools_scm/setuptools_scm-${version}.tar.gz"
checksum=f2f69c782b4f549003edf5b75b356b37f40a4e880b615996c5d9c117913d6f9c
python3.4-setuptools_scm_package() {
noarch=yes
depends="python3.4-setuptools"
pycompile_version="3.4"
pycompile_module="setuptools_scm"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}