python-npyscreen: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 21:39:29 +07:00
parent cfe947a204
commit abe2f49618
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-npyscreen'
pkgname=python-npyscreen
version=4.10.5.1
revision=2
wrksrc="npyscreen-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
pycompile_module="npyscreen"
depends="python"
short_desc="Python2 widget library and application framework for TUIs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/bad-day/npyscreen"
distfiles="https://github.com/bad-day/npyscreen/archive/${version}.tar.gz"
checksum=6703c22d6bad3131b075d7d242c611a3c7ba8eae03f6d3cb414e3d35dae94b29
archs=noarch
post_install() {
vlicense LICENCE
}
python3-npyscreen_package() {
archs=noarch
pycompile_module="npyscreen"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENCE
}
}

View file

@ -1 +0,0 @@
python-npyscreen

View file

@ -0,0 +1,18 @@
# Template file for 'python3-npyscreen'
pkgname=python3-npyscreen
version=4.10.5.1
revision=3
wrksrc="npyscreen-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 widget library and application framework for TUIs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/bad-day/npyscreen"
distfiles="https://github.com/bad-day/npyscreen/archive/${version}.tar.gz"
checksum=6703c22d6bad3131b075d7d242c611a3c7ba8eae03f6d3cb414e3d35dae94b29
post_install() {
vlicense LICENCE
}