32 lines
843 B
Bash
32 lines
843 B
Bash
# Template file for 'python-npyscreen'
|
|
pkgname=python-npyscreen
|
|
version=4.10.5.1
|
|
revision=1
|
|
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="maxice8 <thinkabit.ukim@gmail.com>"
|
|
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
|
|
}
|
|
}
|