32 lines
838 B
Bash
32 lines
838 B
Bash
# Template file for 'python-blessings'
|
|
pkgname=python-blessings
|
|
version=1.6
|
|
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=edc5713061f10966048bf6b40d9a514b381e0ba849c64e034c4ef6c1847d3007
|
|
|
|
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
|
|
}
|
|
}
|