Bump, port to EAPI4, update description. The cdemu client is now a one-file script...
authorAlexandre Rostovtsev <tetromino@gentoo.org>
Wed, 23 Nov 2011 10:14:26 +0000 (10:14 +0000)
committerAlexandre Rostovtsev <tetromino@gentoo.org>
Wed, 23 Nov 2011 10:14:26 +0000 (10:14 +0000)
Package-Manager: portage-2.2.0_alpha77/cvs/Linux x86_64

app-cdr/cdemu/ChangeLog
app-cdr/cdemu/cdemu-1.2.0.ebuild
app-cdr/cdemu/cdemu-1.3.0.ebuild
app-cdr/cdemu/cdemu-1.4.0.ebuild [new file with mode: 0644]

index 7f92640da416659779e395c904a9624d26ce569d..46c6f2da6ca41248bb34442a887e992a13db8c49 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for app-cdr/cdemu
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/ChangeLog,v 1.27 2011/11/22 20:32:36 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/ChangeLog,v 1.28 2011/11/23 10:14:26 tetromino Exp $
+
+*cdemu-1.4.0 (23 Nov 2011)
+
+  23 Nov 2011; Alexandre Rostovtsev <tetromino@gentoo.org> cdemu-1.2.0.ebuild,
+  cdemu-1.3.0.ebuild, +cdemu-1.4.0.ebuild:
+  Bump, port to EAPI4, update description. The cdemu client is now a one-file
+  script, simplifying the ebuild considerably. (bug #384335)
 
   22 Nov 2011; Alexandre Rostovtsev <tetromino@gentoo.org> metadata.xml:
   Add myself as maintainer.
index 5adbc03e82e01da6d046d40f9a8bca2387d6c26d..875061c28b42b85be7bc01291e0c6b6673b621e8 100644 (file)
@@ -1,13 +1,13 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/cdemu-1.2.0.ebuild,v 1.4 2010/07/06 16:55:16 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/cdemu-1.2.0.ebuild,v 1.5 2011/11/23 10:14:26 tetromino Exp $
 
 EAPI="3"
 PYTHON_DEPEND="2"
 
 inherit python
 
-DESCRIPTION="Client of cdemu suite, which mounts all kinds of cd images"
+DESCRIPTION="Command-line tool for controlling the CDEmu daemon (cdemud)"
 HOMEPAGE="http://cdemu.org"
 SRC_URI="mirror://sourceforge/cdemu/cdemu-client-${PV}.tar.bz2"
 
index 58ce2ca005447fe47760623043264129661ae02d..991d1658f4091b0c52c4fa26e5b12c698a0f29d2 100644 (file)
@@ -1,13 +1,13 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 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.2 2010/10/25 14:23:35 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/cdemu-1.3.0.ebuild,v 1.3 2011/11/23 10:14:26 tetromino Exp $
 
 EAPI="3"
 PYTHON_DEPEND="2"
 
 inherit python
 
-DESCRIPTION="Client of cdemu suite, which mounts all kinds of cd images"
+DESCRIPTION="Command-line tool for controlling the CDEmu daemon (cdemud)"
 HOMEPAGE="http://cdemu.org"
 SRC_URI="mirror://sourceforge/cdemu/cdemu-client-${PV}.tar.gz"
 
diff --git a/app-cdr/cdemu/cdemu-1.4.0.ebuild b/app-cdr/cdemu/cdemu-1.4.0.ebuild
new file mode 100644 (file)
index 0000000..012cc20
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/cdemu-1.4.0.ebuild,v 1.1 2011/11/23 10:14:26 tetromino Exp $
+
+EAPI="4"
+PYTHON_DEPEND="2"
+
+inherit python
+
+DESCRIPTION="Command-line tool for controlling the CDEmu daemon (cdemud)"
+HOMEPAGE="http://cdemu.org"
+SRC_URI="mirror://sourceforge/cdemu/cdemu-client-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+cdemud"
+
+RDEPEND="dev-python/dbus-python
+       cdemud? ( >=app-cdr/cdemud-1.4.0 )"
+DEPEND="${RDEPEND}
+       >=dev-util/intltool-0.21"
+
+S=${WORKDIR}/cdemu-client-${PV}
+
+pkg_setup() {
+       python_set_active_version 2
+       python_pkg_setup
+}
+
+src_prepare() {
+       python_convert_shebangs -r 2 src
+}