python-curtsies: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 15:49:10 +07:00
parent ebda94e20f
commit 1e8394f073
4 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-curtsies'
pkgname=python-curtsies
version=0.3.0
revision=2
archs=noarch
wrksrc="curtsies-${version}"
build_style=python-module
pycompile_module="curtsies"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-blessings python-wcwidth python-typing"
short_desc="Curses-like terminal wrapper, with colored strings (Python2)"
maintainer="Maurizio Porrato <maurizio.porrato@gmail.com>"
homepage="https://github.com/thomasballinger/curtsies"
license="MIT"
distfiles="${PYPI_SITE}/c/curtsies/curtsies-${version}.tar.gz"
checksum=89c802ec051d01dec6fc983e9856a3706e4ea8265d2940b1f6d504a9e26ed3a9
post_install() {
vlicense LICENSE
}
python3-curtsies_package() {
archs=noarch
pycompile_module="curtsies"
depends="python3-blessings python3-wcwidth"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-curtsies

View file

@ -0,0 +1,18 @@
# Template file for 'python3-curtsies'
pkgname=python3-curtsies
version=0.3.0
revision=3
wrksrc="curtsies-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-blessings python3-wcwidth"
short_desc="Curses-like terminal wrapper, with colored strings (Python3)"
maintainer="Maurizio Porrato <maurizio.porrato@gmail.com>"
license="MIT"
homepage="https://github.com/thomasballinger/curtsies"
distfiles="${PYPI_SITE}/c/curtsies/curtsies-${version}.tar.gz"
checksum=89c802ec051d01dec6fc983e9856a3706e4ea8265d2940b1f6d504a9e26ed3a9
post_install() {
vlicense LICENSE
}