diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-04-29 14:40:43 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-04-29 14:40:43 +0000 |
commit | d7ec8543312f5bdc6e3e036eb071c9395a49e612 (patch) | |
tree | 7d88857cdc739c58227b1ec5feeaa95fb27e3f61 /x11-plugins | |
parent | x11-themes/gtk-themes-h2o-gtk2: Fix deps for gnome3 (diff) | |
download | sunrise-d7ec8543312f5bdc6e3e036eb071c9395a49e612.tar.gz sunrise-d7ec8543312f5bdc6e3e036eb071c9395a49e612.tar.bz2 sunrise-d7ec8543312f5bdc6e3e036eb071c9395a49e612.zip |
x11-plugins/deskbar-handlers-converter: Fix deps for gnome3, Fix for New Python stuff
svn path=/sunrise/; revision=11949
Diffstat (limited to 'x11-plugins')
3 files changed, 21 insertions, 9 deletions
diff --git a/x11-plugins/deskbar-handlers-converter/ChangeLog b/x11-plugins/deskbar-handlers-converter/ChangeLog index ab7a55492..889cd493c 100644 --- a/x11-plugins/deskbar-handlers-converter/ChangeLog +++ b/x11-plugins/deskbar-handlers-converter/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for x11-plugins/deskbar-handlers-converter -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 29 Apr 2011; Justin Lecher <jlec@gentoo.org> + deskbar-handlers-converter-1.05.ebuild: + Fix deps for gnome3, Fix for New Python stuff + 22 May 2007; Alex Tarkovsky <alextarkovsky@gmail.org> deskbar-handlers-converter-1.05.ebuild: Adding ~amd64 diff --git a/x11-plugins/deskbar-handlers-converter/Manifest b/x11-plugins/deskbar-handlers-converter/Manifest index 2cd86b5ec..7df85939d 100644 --- a/x11-plugins/deskbar-handlers-converter/Manifest +++ b/x11-plugins/deskbar-handlers-converter/Manifest @@ -1,4 +1,4 @@ DIST converter.py 5149 RMD160 4bcb4d910442cf0500313a0187551373b262b961 SHA1 db7e6d246ff60e33f14ea006622bf60456274e30 SHA256 271e6474f6c4df4cc23e05047b3966f5dcf68794d16bce0e9f458fec135baff2 -EBUILD deskbar-handlers-converter-1.05.ebuild 900 RMD160 2da5b917fb954b84c44e8b9103e6c4edecd1d582 SHA1 59ea50b6ab763b226aca1458450ebe97c70f2e54 SHA256 954d4e49bae568a5dd2909a9c36dfd034a5bc7f2a3ad08e2198737949fb1171e -MISC ChangeLog 514 RMD160 76da431ce59fde788e09da58c74058428008ad73 SHA1 b652d12a4c8ea52cf5665de744870a45fae722da SHA256 c7e47684ffb87824d5e96194f3b7d4eec143c3deed3b2e273242bc4fd661d924 +EBUILD deskbar-handlers-converter-1.05.ebuild 952 RMD160 69c8a5bb5790af7c5546e46b676d67b8de3d2ace SHA1 dfd1afc73aaca0ee829d741e11078d095ee50056 SHA256 6cecbe75c702733fa05ce93d7b4ff1a32bdddbc0e85127bb3096318841378af7 +MISC ChangeLog 652 RMD160 75c52c89493735658ac210113597192f1682b0f9 SHA1 023fbad706f200d7d66f67b0d28ce5595a0fc465 SHA256 ae62a64787efc08ff43a6d2e5d8bc1d9df22afae2676b13dbe7a3e001c5a32c4 MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f diff --git a/x11-plugins/deskbar-handlers-converter/deskbar-handlers-converter-1.05.ebuild b/x11-plugins/deskbar-handlers-converter/deskbar-handlers-converter-1.05.ebuild index 403444d8f..b24b6beaa 100644 --- a/x11-plugins/deskbar-handlers-converter/deskbar-handlers-converter-1.05.ebuild +++ b/x11-plugins/deskbar-handlers-converter/deskbar-handlers-converter-1.05.ebuild @@ -1,13 +1,17 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit python multilib +EAPI="3" + +PYTHON_DEPEND="2" + +inherit multilib python MY_PN=${PN/deskbar-handlers-/} DESCRIPTION="Unit conversion handler for the GNOME Deskbar" -HOMEPAGE="http://www.kryogenix.org/days/2006/09/06/converter-deskbar" +HOMEPAGE="http://www.kryogenix.org/days/2006/09/06/converter-deskbar/" SRC_URI="http://svn.kryogenix.org/svn/deskbar-plugins/tags/${PV}/${MY_PN}.py" LICENSE="GPL-2" @@ -15,13 +19,17 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=dev-lang/python-2.3 - >=x11-libs/gtk+-2.6 +DEPEND=" + x11-libs/gtk+:2 >=dev-python/pygtk-2.6 >=gnome-extra/deskbar-applet-2.14.2" RDEPEND="${DEPEND} sci-calculators/units" +pkg_setup() { + python_set_active_version 2 +} + src_unpack() { :; } src_install() { @@ -30,7 +38,7 @@ src_install() { } pkg_postinst() { - python_mod_compile /usr/$(get_libdir)/deskbar-applet/handlers/${MY_PN}.py + python_mod_optimize /usr/$(get_libdir)/deskbar-applet/handlers/${MY_PN}.py } pkg_postrm() { |