From d525cf3858e326a192b9b473aa2c8878dbb89cba Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 24 Oct 2017 17:10:42 -0200 Subject: [PATCH] New package: python-ewmh-0.1.6. Closes: #8523 [via git-merge-pr] --- srcpkgs/python-ewmh/template | 26 ++++++++++++++++++++++++++ srcpkgs/python3-ewmh | 1 + 2 files changed, 27 insertions(+) create mode 100644 srcpkgs/python-ewmh/template create mode 120000 srcpkgs/python3-ewmh diff --git a/srcpkgs/python-ewmh/template b/srcpkgs/python-ewmh/template new file mode 100644 index 00000000000..bb8425d654b --- /dev/null +++ b/srcpkgs/python-ewmh/template @@ -0,0 +1,26 @@ +# Template file for 'python-ewmh' +pkgname=python-ewmh +version=0.1.6 +revision=1 +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" +maintainer="maxice8 " +license="GPL-3" +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" + pycompile_module="ewmh" + short_desc="${short_desc/Python/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-ewmh b/srcpkgs/python3-ewmh new file mode 120000 index 00000000000..4b4b900b4fb --- /dev/null +++ b/srcpkgs/python3-ewmh @@ -0,0 +1 @@ +python-ewmh \ No newline at end of file