python-ewmh: minor fixes (fix license, fix short_desc)

This commit is contained in:
Alessio Sergi 2018-05-24 19:51:50 +02:00
parent a8cd0f232d
commit 39963016d0

View file

@ -1,25 +1,25 @@
# Template file for 'python-ewmh'
pkgname=python-ewmh
version=0.1.6
revision=1
revision=2
noarch=yes
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
pycompile_module="ewmh"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-xlib"
short_desc="Python implementation of Extended Window Manager Hints, based on Xlib"
short_desc="Python2 implementation of EWMH (Extended Window Manager Hints)"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-3"
license="LGPL-3.0-or-later"
homepage="https://github.com/parkouss/pyewmh"
distfiles="${PYPI_SITE}/e/ewmh/ewmh-${version}.tar.gz"
checksum=c56b093f7d575181e979bb3a7d15c34065755f811c351ff0a31fede12b09343d
noarch=yes
python3-ewmh_package() {
noarch="yes"
depends="python3 python3-xlib"
noarch=yes
depends="python3-xlib"
pycompile_module="ewmh"
short_desc="${short_desc/Python/Python3}"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}