void-packages/srcpkgs/python-blessings/template

32 lines
840 B
Bash
Raw Normal View History

# Template file for 'python-blessings'
pkgname=python-blessings
version=1.6.1
revision=1
noarch=yes
wrksrc="blessings-${version}"
build_style=python-module
pycompile_module="blessings"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Wrapper around terminal coloring, styling, and positioning (Python2)"
maintainer="Maurizio Porrato <maurizio.porrato@gmail.com>"
homepage="https://github.com/erikrose/blessings"
license="MIT"
distfiles="${PYPI_SITE}/b/blessings/blessings-${version}.tar.gz"
checksum=74919575885552e14bc24a68f8b539690bd1b5629180faa830b1a25b8c7fb6ea
post_install() {
vlicense LICENSE
}
python3-blessings_package() {
noarch=yes
pycompile_module="blessings"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}