summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2015-01-26 07:40:55 +0000
committerBrian Dolbec <dolsen@gentoo.org>2015-01-26 07:40:55 +0000
commit7d6642b4a7590a4be70eb5ea5242dc4fb9fd6fe9 (patch)
tree4373c7fd687dee76583b78fda39a2f50a3fbab21 /app-portage
parentdev-util/nvidia-cuda-sdk: Restrict nvidia-drivers dependency for x86 to <346.... (diff)
downloadgentoo-2-7d6642b4a7590a4be70eb5ea5242dc4fb9fd6fe9.tar.gz
gentoo-2-7d6642b4a7590a4be70eb5ea5242dc4fb9fd6fe9.tar.bz2
gentoo-2-7d6642b4a7590a4be70eb5ea5242dc4fb9fd6fe9.zip
Bump EAPI, update SRC_URI, HOMEPAGE
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x65E309F2189DB0B8)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/etc-proposals/ChangeLog9
-rw-r--r--app-portage/etc-proposals/etc-proposals-1.4.3-r3.ebuild40
2 files changed, 47 insertions, 2 deletions
diff --git a/app-portage/etc-proposals/ChangeLog b/app-portage/etc-proposals/ChangeLog
index 553a90a1c648..a40ec5016c9b 100644
--- a/app-portage/etc-proposals/ChangeLog
+++ b/app-portage/etc-proposals/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-portage/etc-proposals
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/etc-proposals/ChangeLog,v 1.18 2012/03/04 04:30:05 dolsen Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/etc-proposals/ChangeLog,v 1.19 2015/01/26 07:40:55 dolsen Exp $
+
+*etc-proposals-1.4.3-r3 (26 Jan 2015)
+
+ 26 Jan 2015; Brian Dolbec <dolsen@gentoo.org> +etc-proposals-1.4.3-r3.ebuild:
+ Bump EAPI, update SRC_URI and HOMEPAGE.
04 Mar 2012; Brian Dolbec <brian.dolbec@gmail.com> metadata.xml:
Update metadata.xml. Take over as maintainer.
diff --git a/app-portage/etc-proposals/etc-proposals-1.4.3-r3.ebuild b/app-portage/etc-proposals/etc-proposals-1.4.3-r3.ebuild
new file mode 100644
index 000000000000..8a7ea08d96fb
--- /dev/null
+++ b/app-portage/etc-proposals/etc-proposals-1.4.3-r3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/etc-proposals/etc-proposals-1.4.3-r3.ebuild,v 1.1 2015/01/26 07:40:55 dolsen Exp $
+
+EAPI="5"
+PYTHON_COMPAT=(python2_7)
+
+inherit distutils-r1
+
+DESCRIPTION="a set of tools for updating gentoo config files"
+HOMEPAGE="http://sourceforge.net/projects/etc-proposals.berlios/"
+SRC_URI="http://sourceforge.net/projects/${PN}.berlios/files/${P}.tar.gz/download"
+
+IUSE="gtk qt4"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="gtk? ( >=dev-python/pygtk-2.10 )
+ qt4? ( >=dev-python/PyQt4-4.1.1[X] )"
+RDEPEND="${DEPEND}"
+
+python_install_all() {
+ distutils-r1_python_install_all
+ dosbin "${D}"/usr/bin/etc-proposals
+ rm -rf "${D}"/usr/bin
+
+ # Bug 308725: Filter out the "PreferedFrontends" based on USE Flags:
+ use qt4 || sed -i -e '/^PreferedFrontends=/ s/qt4,//' "${D}"/etc/etc-proposals.conf
+ use gtk || sed -i -e '/^PreferedFrontends=/ s/gtk2,//' "${D}"/etc/etc-proposals.conf
+}
+
+pkg_postinst() {
+ elog "The configuration file has been installed to /etc/etc-proposals.conf"
+ elog "If you are installing etc-proposals for the first time or updating"
+ elog "from a version < 1.3 you should run the following command once:"
+ elog "etc-proposals --init-db"
+ ewarn "A full backup of /etc and other files managed by CONFIG_PROTECT"
+ ewarn "is highly advised before testing this tool!"
+}