From a2620e7a3b296c58c5aa26dc78fcc5ea2229bd04 Mon Sep 17 00:00:00 2001 From: Peter Volkov Date: Tue, 19 Oct 2010 14:35:39 +0000 Subject: Version bump. Added nocdemud USE flag to avoid cdemud dependency #315491 wrt Michał Górny. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (Portage version: 2.1.9.18/cvs/Linux x86_64) --- app-cdr/cdemu/ChangeLog | 9 +++++++- app-cdr/cdemu/cdemu-1.3.0.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++ app-cdr/cdemu/metadata.xml | 3 +++ 3 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 app-cdr/cdemu/cdemu-1.3.0.ebuild (limited to 'app-cdr') diff --git a/app-cdr/cdemu/ChangeLog b/app-cdr/cdemu/ChangeLog index 6ba0cc73f7c0..80bba134cd0d 100644 --- a/app-cdr/cdemu/ChangeLog +++ b/app-cdr/cdemu/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-cdr/cdemu # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/ChangeLog,v 1.22 2010/07/06 16:55:16 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/ChangeLog,v 1.23 2010/10/19 14:35:39 pva Exp $ + +*cdemu-1.3.0 (19 Oct 2010) + + 19 Oct 2010; Peter Volkov +cdemu-1.3.0.ebuild, + metadata.xml: + Version bump. Added nocdemud USE flag to avoid cdemud dependency #315491 + wrt Michał Górny. 06 Jul 2010; Arfrever Frehtes Taifersar Arahesis cdemu-1.2.0.ebuild: diff --git a/app-cdr/cdemu/cdemu-1.3.0.ebuild b/app-cdr/cdemu/cdemu-1.3.0.ebuild new file mode 100644 index 000000000000..020dd48c5974 --- /dev/null +++ b/app-cdr/cdemu/cdemu-1.3.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/cdemu-1.3.0.ebuild,v 1.1 2010/10/19 14:35:39 pva Exp $ + +EAPI="3" +PYTHON_DEPEND="2" + +inherit python + +DESCRIPTION="Client of cdemu suite, which mounts all kinds of cd images" +HOMEPAGE="http://cdemu.org" +SRC_URI="mirror://sourceforge/cdemu/cdemu-client-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nocdemud" + +RDEPEND="dev-python/dbus-python + !nocdemud? ( ~app-cdr/cdemud-${PV} )" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.21" + +S=${WORKDIR}/cdemu-client-${PV} + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + # disable compilation of python modules + rm py-compile && \ + ln -s "$(type -P true)" py-compile || die +} + +src_install() { + emake install DESTDIR="${D}" || die "install failed" + dodoc AUTHORS ChangeLog README +} + +pkg_postinst() { + python_mod_optimize cdemu + python_need_rebuild +} + +pkg_postrm() { + python_mod_cleanup cdemu +} diff --git a/app-cdr/cdemu/metadata.xml b/app-cdr/cdemu/metadata.xml index e4fa40918efa..fad0cfd5e1ac 100644 --- a/app-cdr/cdemu/metadata.xml +++ b/app-cdr/cdemu/metadata.xml @@ -5,4 +5,7 @@ vanquirius@gentoo.org + +Don't pull app-cdr/cdemud dependency, useful in chroot environment (bug #315491) + -- cgit v1.2.3-65-gdbad