summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-12-27 16:51:04 +0000
committerMichał Górny <mgorny@gentoo.org>2014-12-27 16:51:04 +0000
commit6aaac959578047dfb4953558bc19373685fc9851 (patch)
tree57e4029f677e61bb416c5eddd02010ee75d062ce /app-misc/specto
parentConvert to python-single-r1. (diff)
downloadgentoo-2-6aaac959578047dfb4953558bc19373685fc9851.tar.gz
gentoo-2-6aaac959578047dfb4953558bc19373685fc9851.tar.bz2
gentoo-2-6aaac959578047dfb4953558bc19373685fc9851.zip
Convert to distutils-r1.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'app-misc/specto')
-rw-r--r--app-misc/specto/ChangeLog10
-rw-r--r--app-misc/specto/specto-0.4.1-r1.ebuild40
2 files changed, 47 insertions, 3 deletions
diff --git a/app-misc/specto/ChangeLog b/app-misc/specto/ChangeLog
index 8db50823ffea..26037b240fbc 100644
--- a/app-misc/specto/ChangeLog
+++ b/app-misc/specto/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/specto
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/specto/ChangeLog,v 1.7 2012/05/20 15:26:37 xmw Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/specto/ChangeLog,v 1.8 2014/12/27 16:51:04 mgorny Exp $
+
+*specto-0.4.1-r1 (27 Dec 2014)
+
+ 27 Dec 2014; Michał Górny <mgorny@gentoo.org> +specto-0.4.1-r1.ebuild:
+ Convert to distutils-r1.
*specto-0.4.1 (20 May 2012)
@@ -31,4 +36,3 @@
+files/specto-0.3.1-icon-theme.patch, +metadata.xml:
Initial import fixes bug #174604 (thanks to unnamedrambler@gmail.com).
Thanks to Jakub and Thomas in sunrise.
-
diff --git a/app-misc/specto/specto-0.4.1-r1.ebuild b/app-misc/specto/specto-0.4.1-r1.ebuild
new file mode 100644
index 000000000000..e10a79f7bde2
--- /dev/null
+++ b/app-misc/specto/specto-0.4.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/specto/specto-0.4.1-r1.ebuild,v 1.1 2014/12/27 16:51:04 mgorny Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 eutils
+
+DESCRIPTION="watch configurable events and trigger notifications"
+HOMEPAGE="http://specto.sourceforge.net/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="linguas_cs linguas_de linguas_es linguas_fr linguas_it
+ linguas_pt_BR linguas_ro linguas_sv linguas_tr"
+
+RDEPEND="dev-python/gconf-python[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/libgnome-python[${PYTHON_USEDEP}]
+ dev-python/notify-python[${PYTHON_USEDEP}]
+ >=dev-python/pygtk-2.10[${PYTHON_USEDEP}]"
+DEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-icon-theme.patch
+
+ sed -e "s:share/doc/specto:share/doc/${PF}:" \
+ -i setup.py spectlib/util.py || die
+
+ if [ -n "${LINGUAS}" ] ; then
+ sed -e "/^i18n_languages = /s: = .*: = \"${LINGUAS}\":" \
+ -i setup.py || die
+ fi
+
+ distutils-r1_src_prepare
+}