python-pyte: noarch=yes

This commit is contained in:
Alessio Sergi 2017-09-20 19:43:13 +02:00
parent 09a9edd5d6
commit f98de68632
1 changed files with 8 additions and 3 deletions

View File

@ -1,19 +1,24 @@
# Template file for 'python-pyte' # Template file for 'python-pyte'
pkgname=python-pyte pkgname=python-pyte
version=0.6.0 version=0.6.0
revision=1 revision=2
noarch=yes
wrksrc="pyte-${version}" wrksrc="pyte-${version}"
build_style=python-module build_style=python-module
pycompile_module="pyte" pycompile_module="pyte"
hostmakedepends="python3-setuptools python-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python-wcwidth" depends="python-wcwidth"
short_desc="A Simple Python2 VTXXX-compatible linux terminal emulator" short_desc="Simple Python2 VTXXX-compatible linux terminal emulator"
maintainer="Sir_Boops <admin@boops.me>" maintainer="Sir_Boops <admin@boops.me>"
license="LGPL-3" license="LGPL-3"
homepage="https://github.com/selectel/pyte" homepage="https://github.com/selectel/pyte"
distfiles="https://github.com/selectel/pyte/archive/${version}.tar.gz" distfiles="https://github.com/selectel/pyte/archive/${version}.tar.gz"
checksum=cc364b4f84bf86eebe2fe9fb49008a6cba1dbda3def5e89540cd2416e5a2d763 checksum=cc364b4f84bf86eebe2fe9fb49008a6cba1dbda3def5e89540cd2416e5a2d763
pre_build() {
sed -i '/setup_requires/d' setup.py
}
python3-pyte_package() { python3-pyte_package() {
noarch=yes noarch=yes
pycompile_module="pyte" pycompile_module="pyte"