python-urwid: update to 1.2.1; add python3.4 subpkg
This commit is contained in:
parent
e47a029995
commit
a717321a06
|
@ -1,15 +1,31 @@
|
|||
# Template file for 'python-urwid'
|
||||
pkgname=python-urwid
|
||||
version=1.1.1
|
||||
revision=2
|
||||
wrksrc="urwid-${version}"
|
||||
build_style=python-module
|
||||
hostmakedepends="python-devel"
|
||||
makedepends="python-devel"
|
||||
version=1.2.1
|
||||
revision=1
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style="python-module"
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
makedepends="python-devel python3.4-devel"
|
||||
depends="python"
|
||||
pycompile_module="urwid"
|
||||
short_desc="Console user interface library for Python"
|
||||
short_desc="Console user interface library for Python2"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://excess.org/urwid/"
|
||||
homepage="http://urwid.org/"
|
||||
license="LGPL-2.1"
|
||||
distfiles="http://excess.org/urwid/urwid-$version.tar.gz"
|
||||
checksum=b301b4e0c2cd1634390cda80149d8aa2a07365af81a281ecf258770e47d30e99
|
||||
distfiles="https://pypi.python.org/packages/source/u/urwid/urwid-${version}.tar.gz"
|
||||
checksum=9b9b5dabb7df6c0f12e84feed488f9a9ddd5c2d66d1b7c7c087055720b87c68c
|
||||
|
||||
pre_build() {
|
||||
sed -i '/^#!\//, 1d' urwid/*.py
|
||||
}
|
||||
|
||||
python3.4-urwid_package() {
|
||||
depends="python3.4"
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="urwid"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
python-urwid
|
Loading…
Reference in New Issue