2017-10-15 13:51:28 +02:00
|
|
|
# Template file for 'python-blessings'
|
|
|
|
pkgname=python-blessings
|
2018-01-04 01:29:26 +01:00
|
|
|
version=1.6.1
|
2017-10-15 13:51:28 +02:00
|
|
|
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"
|
2018-01-04 01:29:26 +01:00
|
|
|
checksum=74919575885552e14bc24a68f8b539690bd1b5629180faa830b1a25b8c7fb6ea
|
2017-10-15 13:51:28 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|