From 288b2b760300c1b4c302fba91c532c46e585a0df Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 27 Mar 2017 19:47:22 +0200 Subject: dev-python/pynotifier: Support combined dev-python/twisted --- dev-python/pynotifier/pynotifier-0.7.0-r2.ebuild | 27 --------------------- dev-python/pynotifier/pynotifier-0.7.0-r3.ebuild | 31 ++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 27 deletions(-) delete mode 100644 dev-python/pynotifier/pynotifier-0.7.0-r2.ebuild create mode 100644 dev-python/pynotifier/pynotifier-0.7.0-r3.ebuild (limited to 'dev-python/pynotifier') diff --git a/dev-python/pynotifier/pynotifier-0.7.0-r2.ebuild b/dev-python/pynotifier/pynotifier-0.7.0-r2.ebuild deleted file mode 100644 index 005920f84a60..000000000000 --- a/dev-python/pynotifier/pynotifier-0.7.0-r2.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="pyNotifier provides an implementation of a notifier/event scheduler" -HOMEPAGE="http://www.bitkipper.net/" -SRC_URI="http://www.bitkipper.net/bytes/debian/dists/unstable/source/${PN}_${PV}.orig.tar.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="qt4 gtk" - -DEPEND="" -RDEPEND="dev-python/twisted-core - gtk? ( dev-python/pygobject:2[${PYTHON_USEDEP}] ) - qt4? ( dev-python/PyQt4[X,${PYTHON_USEDEP}] )" - -python_prepare_all() { - use gtk || rm notifier/nf_gtk.py - use qt4 || rm notifier/nf_qt.py - distutils-r1_python_prepare_all -} diff --git a/dev-python/pynotifier/pynotifier-0.7.0-r3.ebuild b/dev-python/pynotifier/pynotifier-0.7.0-r3.ebuild new file mode 100644 index 000000000000..54dbdb9aaf2a --- /dev/null +++ b/dev-python/pynotifier/pynotifier-0.7.0-r3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="pyNotifier provides an implementation of a notifier/event scheduler" +HOMEPAGE="http://www.bitkipper.net/" +SRC_URI="http://www.bitkipper.net/bytes/debian/dists/unstable/source/${PN}_${PV}.orig.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="qt4 gtk" + +DEPEND="" +RDEPEND=" + || ( + dev-python/twisted[${PYTHON_USEDEP}] + dev-python/twisted-core[${PYTHON_USEDEP}] + ) + gtk? ( dev-python/pygobject:2[${PYTHON_USEDEP}] ) + qt4? ( dev-python/PyQt4[X,${PYTHON_USEDEP}] )" + +python_prepare_all() { + use gtk || rm notifier/nf_gtk.py + use qt4 || rm notifier/nf_qt.py + distutils-r1_python_prepare_all +} -- cgit v1.2.3-65-gdbad