public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/python-updater:master commit in: /
Date: Wed, 12 Mar 2014 21:59:17 +0000 (UTC)	[thread overview]
Message-ID: <1394661513.11625489469dd9675565e6eb7d0546f31c083c57.floppym@gentoo> (raw)

commit:     11625489469dd9675565e6eb7d0546f31c083c57
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 12 21:42:01 2014 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Mar 12 21:58:33 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/python-updater.git;a=commit;h=11625489

Add a check for dev-python/python-exec rev-deps.

---
 man.include    |  5 +++++
 python-updater | 23 +++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/man.include b/man.include
index d07ffa3..4ae051e 100644
--- a/man.include
+++ b/man.include
@@ -28,6 +28,11 @@ need_rebuild
     python_need_rebuild function from python.eclass.
     Enabled by default.
 
+python-exec
+    This check looks for packages that depend on dev-python/python-exec
+    rather than new dev-lang/python-exec.
+    Enabled by default.
+
 Checks can be enabled/disabled on command line with -e/--enable and -d/--disable
 switches.
 

diff --git a/python-updater b/python-updater
index 6597ce2..2d44706 100755
--- a/python-updater
+++ b/python-updater
@@ -101,6 +101,7 @@ done)
                     * manual         (Enabled by default)
                     * need_rebuild   (Enabled by default)
                     * pylibdir       (Enabled by default)
+                    * python-exec    (Enabled by default)
                     * PYTHON_ABIS    (Enabled by default)
                     * shared_linking (Enabled by default)
                     * static_linking (Enabled by default)
@@ -427,6 +428,7 @@ while (($#)); do
 			CHECK_NEED_REBUILD="1"
 			CHECK_PYLIBDIR="1"
 			CHECK_PYTHON_ABIS="1"
+			CHECK_PYTHON_EXEC="1"
 			CHECK_SHARED_LINKING="1"
 			CHECK_STATIC_LINKING="1"
 			;;
@@ -435,6 +437,7 @@ while (($#)); do
 			CHECK_NEED_REBUILD="0"
 			CHECK_PYLIBDIR="0"
 			CHECK_PYTHON_ABIS="0"
+			CHECK_PYTHON_EXEC="0"
 			CHECK_SHARED_LINKING="0"
 			CHECK_STATIC_LINKING="0"
 			;;
@@ -462,6 +465,12 @@ while (($#)); do
 		-dPYTHON_ABIS|--disable-PYTHON_ABIS)
 			CHECK_PYTHON_ABIS="0"
 			;;
+		-epython-exec|--enable-python-exec)
+			CHECK_PYTHON_EXEC="1"
+			;;
+		-dpython-exec|--disable-python-exec)
+			CHECK_PYTHON_EXEC="0"
+			;;
 		-eshared_linking|--enable-shared_linking)
 			CHECK_SHARED_LINKING="1"
 			;;
@@ -723,6 +732,20 @@ for contents_file in $(find ${PKG_DBDIR}/ -name CONTENTS | sort); do
 		continue
 	fi
 
+	if [[ "${CHECK_PYTHON_EXEC}" -ne 0 ]]; then
+		RDEPEND="$(<"${contents_file%CONTENTS}RDEPEND")"
+
+		if [[ ${RDEPEND} == *dev-python/python-exec* ]]; then
+			PKGS_TO_REMERGE+=" ${CATPKGVER}"
+			eindent
+			einfo "Adding to list: ${CATPKGVER}"
+			eindent
+			veinfo 1 "check: python-exec [ Package depending on dev-python/python-exec ]"
+			eoutdent && eoutdent
+		fi
+		continue
+	fi
+
 	if [[ ${IUSE} =~ python_targets_ ]]; then
 		eindent
 		veinfo 2 "Skipping ${CATPKGVER}, reason: python_targets_ in IUSE"


             reply	other threads:[~2014-03-12 21:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-12 21:59 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-12-10 19:26 [gentoo-commits] proj/python-updater:master commit in: / Mike Gilbert
2015-12-10 19:26 Mike Gilbert
2014-04-07 14:11 Mike Gilbert
2014-04-07 14:11 Mike Gilbert
2014-03-17  3:46 Mike Gilbert
2014-03-16 18:09 Mike Gilbert
2014-03-16 18:09 Mike Gilbert
2014-03-16 18:09 Mike Gilbert
2014-03-16 18:09 Mike Gilbert
2013-03-24 15:30 Mike Gilbert
2013-03-24 15:28 Mike Gilbert
2013-03-24 15:17 Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1394661513.11625489469dd9675565e6eb7d0546f31c083c57.floppym@gentoo \
    --to=floppym@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox