From f98de68632d7dc54e2d6b24ce505a966c2b2a608 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 20 Sep 2017 19:43:13 +0200 Subject: [PATCH] python-pyte: noarch=yes --- srcpkgs/python-pyte/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python-pyte/template b/srcpkgs/python-pyte/template index 0b620f3e672..e1f9d726c79 100644 --- a/srcpkgs/python-pyte/template +++ b/srcpkgs/python-pyte/template @@ -1,19 +1,24 @@ # Template file for 'python-pyte' pkgname=python-pyte version=0.6.0 -revision=1 +revision=2 +noarch=yes wrksrc="pyte-${version}" build_style=python-module pycompile_module="pyte" -hostmakedepends="python3-setuptools python-setuptools" +hostmakedepends="python-setuptools python3-setuptools" 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 " license="LGPL-3" homepage="https://github.com/selectel/pyte" distfiles="https://github.com/selectel/pyte/archive/${version}.tar.gz" checksum=cc364b4f84bf86eebe2fe9fb49008a6cba1dbda3def5e89540cd2416e5a2d763 +pre_build() { + sed -i '/setup_requires/d' setup.py +} + python3-pyte_package() { noarch=yes pycompile_module="pyte"