# 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.
-# 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"
-# 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"
--- /dev/null
+# 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
+}