void-packages/srcpkgs/python-incremental/template

32 lines
835 B
Bash

# Template file for 'python-incremental'
pkgname=python-incremental
version=17.5.0
revision=2
noarch=yes
wrksrc="incremental-${version}"
build_style=python-module
pycompile_module="incremental"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Small library that versions your Python projects (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/twisted/incremental"
license="MIT"
distfiles="${PYPI_SITE}/i/incremental/incremental-${version}.tar.gz"
checksum=7b751696aaf36eebfab537e458929e194460051ccad279c72b755a167eebd4b3
post_install() {
vlicense LICENSE
}
python3-incremental_package() {
noarch=yes
depends="python3"
pycompile_module="incremental"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}