void-packages/srcpkgs/python-incremental/template

28 lines
797 B
Bash

# Template file for 'python-incremental'
pkgname=python-incremental
version=21.3.0
revision=2
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Small library that versions your Python projects (Python2)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/twisted/incremental"
changelog="https://raw.githubusercontent.com/twisted/incremental/trunk/NEWS.rst"
distfiles="${PYPI_SITE}/i/incremental/incremental-${version}.tar.gz"
checksum=02f5de5aff48f6b9f665d99d48bfc7ec03b6e3943210de7cfc88856d755d6f57
post_install() {
vlicense LICENSE
}
python3-incremental_package() {
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}