mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
python-urwidtrees: fix python3 flavor, noarch=yes
This commit is contained in:
parent
9f42d712a8
commit
aaa8d2ea5f
1 changed files with 8 additions and 4 deletions
|
@ -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*
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue