32 lines
840 B
Bash
32 lines
840 B
Bash
# 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
|
|
}
|
|
}
|