summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-06-16 17:10:06 +0000
committerMichał Górny <mgorny@gentoo.org>2013-06-16 17:10:06 +0000
commitdd1283e4899a8fa24d1aa3fd271733b75c497c44 (patch)
tree372595a54542daa0a6bee1e65198a25cc7c267a3 /app-portage
parentMigrate 9999 to distutils-r1 fix bad header commited to 2.2.0.1 (diff)
downloadgentoo-2-dd1283e4899a8fa24d1aa3fd271733b75c497c44.tar.gz
gentoo-2-dd1283e4899a8fa24d1aa3fd271733b75c497c44.tar.bz2
gentoo-2-dd1283e4899a8fa24d1aa3fd271733b75c497c44.zip
Add a portage set @install_mask for rebuilding packages with changed INSTALL_MASK.
(Portage version: 2.2.0_alpha180/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/install-mask/ChangeLog12
-rw-r--r--app-portage/install-mask/files/install-mask.conf6
-rw-r--r--app-portage/install-mask/install-mask-0.0.2-r3.ebuild (renamed from app-portage/install-mask/install-mask-0.0.2-r2.ebuild)11
-rw-r--r--app-portage/install-mask/install-mask-9999.ebuild11
4 files changed, 34 insertions, 6 deletions
diff --git a/app-portage/install-mask/ChangeLog b/app-portage/install-mask/ChangeLog
index d1f0d7c6fd08..46a1868a09fd 100644
--- a/app-portage/install-mask/ChangeLog
+++ b/app-portage/install-mask/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-portage/install-mask
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/install-mask/ChangeLog,v 1.17 2012/12/17 20:02:40 mgorny Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/install-mask/ChangeLog,v 1.18 2013/06/16 17:10:05 mgorny Exp $
+
+*install-mask-0.0.2-r3 (16 Jun 2013)
+
+ 16 Jun 2013; Michał Górny <mgorny@gentoo.org> +files/install-mask.conf,
+ +install-mask-0.0.2-r3.ebuild, -install-mask-0.0.2-r2.ebuild,
+ install-mask-9999.ebuild:
+ Add a portage set @install_mask for rebuilding packages with changed
+ INSTALL_MASK.
17 Dec 2012; Michał Górny <mgorny@gentoo.org> install-mask-0.0.2-r2.ebuild,
install-mask-9999.ebuild:
diff --git a/app-portage/install-mask/files/install-mask.conf b/app-portage/install-mask/files/install-mask.conf
new file mode 100644
index 000000000000..78b49a473427
--- /dev/null
+++ b/app-portage/install-mask/files/install-mask.conf
@@ -0,0 +1,6 @@
+# Example /etc/portage/sets.conf adding the @install-mask set.
+
+[install-mask]
+class = portage.sets.shell.CommandOutputSet
+command = install-mask -r
+world-candidate = False
diff --git a/app-portage/install-mask/install-mask-0.0.2-r2.ebuild b/app-portage/install-mask/install-mask-0.0.2-r3.ebuild
index 9e42767a4e4c..a7b171663f35 100644
--- a/app-portage/install-mask/install-mask-0.0.2-r2.ebuild
+++ b/app-portage/install-mask/install-mask-0.0.2-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/install-mask/install-mask-0.0.2-r2.ebuild,v 1.5 2012/12/17 20:02:40 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/install-mask/install-mask-0.0.2-r3.ebuild,v 1.1 2013/06/16 17:10:05 mgorny Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
@@ -18,3 +18,10 @@ IUSE=""
RDEPEND="app-portage/flaggie[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]"
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ insinto /usr/share/portage/config/sets
+ doins "${FILESDIR}"/${PN}.conf
+}
diff --git a/app-portage/install-mask/install-mask-9999.ebuild b/app-portage/install-mask/install-mask-9999.ebuild
index 889aeb77cdcc..ffbed6ad5533 100644
--- a/app-portage/install-mask/install-mask-9999.ebuild
+++ b/app-portage/install-mask/install-mask-9999.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/install-mask/install-mask-9999.ebuild,v 1.2 2012/12/17 20:02:40 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/install-mask/install-mask-9999.ebuild,v 1.3 2013/06/16 17:10:05 mgorny Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
@@ -28,3 +28,10 @@ RDEPEND="app-portage/flaggie[${PYTHON_USEDEP}]
KEYWORDS=
SRC_URI=
#endif
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ insinto /usr/share/portage/config/sets
+ newins sets.conf ${PN}.conf
+}