New package: python-blessings 1.6

Closes: #8199 [via git-merge-pr]
This commit is contained in:
Maurizio Porrato 2017-10-15 12:51:28 +01:00 committed by Jürgen Buchmüller
parent 30d30ac9ce
commit 0fd9179963
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# 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
}
}

1
srcpkgs/python3-blessings Symbolic link
View File

@ -0,0 +1 @@
python-blessings