8ddd61d984
[ci skip]
30 lines
810 B
Bash
30 lines
810 B
Bash
# Template file for 'python-pyte'
|
|
pkgname=python-pyte
|
|
version=0.8.0
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="pyte-${version}"
|
|
build_style=python-module
|
|
pycompile_module="pyte"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-wcwidth"
|
|
short_desc="Simple Python2 VTXXX-compatible linux terminal emulator"
|
|
maintainer="Sir_Boops <admin@boops.me>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://github.com/selectel/pyte"
|
|
distfiles="https://github.com/selectel/pyte/archive/${version}.tar.gz"
|
|
checksum=80f77a4f8a325faf761c22eb8ad597671e25d0de524c68d42dc765c52bf5be70
|
|
|
|
pre_build() {
|
|
sed -i '/setup_requires/d' setup.py
|
|
}
|
|
|
|
python3-pyte_package() {
|
|
archs=noarch
|
|
pycompile_module="pyte"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
depends="python3-wcwidth"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|