python-urwidtrees: fix python3 flavor, noarch=yes

This commit is contained in:
Alessio Sergi 2018-10-18 19:23:11 +02:00
parent 9f42d712a8
commit aaa8d2ea5f
1 changed files with 8 additions and 4 deletions

View File

@ -1,21 +1,25 @@
# Template file for 'python-urwidtrees'
pkgname=python-urwidtrees
version=1.0.2
revision=1
revision=2
noarch=yes
wrksrc="urwidtrees-${version}"
build_style=python-module
hostmakedepends="python-devel python3-devel python-urwid python3-urwid"
pycompile_module="urwidtrees"
hostmakedepends="python-devel python3-devel python-urwid python3-urwid"
depends="python-urwid"
short_desc="Tree widgets for urwid"
license="GPL-3"
short_desc="Tree widgets for urwid (Python2)"
license="GPL-3.0-or-later"
maintainer="Felix Van der Jeugt <felix.vanderjeugt@gmail.com>"
homepage="https://github.com/pazz/urwidtrees"
distfiles="https://github.com/pazz/urwidtrees/archive/${version}.tar.gz"
checksum=703f4b161b930a26a461a3e3e695f94237ac75e2a52b87613e49093d9aa76034
python3-urwidtrees_package() {
noarch=yes
pycompile_module="urwidtrees"
depends="python3-urwid"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}