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

View file

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