public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/portage:repoman commit in: repoman/bin/
@ 2016-05-11  6:41 Brian Dolbec
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Dolbec @ 2016-05-11  6:41 UTC (permalink / raw
  To: gentoo-commits

commit:     d514b0f7958bdfc9881b667f3d4a3fd82244efc8
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Wed May 11 06:28:03 2016 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Wed May 11 06:28:03 2016 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=d514b0f7

repoman: Update the running from a checkout code to add both repoman and portage dirs 

 repoman/bin/repoman | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/repoman/bin/repoman b/repoman/bin/repoman
index 819e0f5..91a8d06 100755
--- a/repoman/bin/repoman
+++ b/repoman/bin/repoman
@@ -26,8 +26,13 @@ except KeyboardInterrupt:
 	sys.exit(1)
 
 from os import path as osp
-if osp.isfile(osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), ".portage_not_installed")):
-	pym_path = osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), "pym")
+here = osp.realpath(__file__)
+if osp.isfile(osp.join(osp.dirname(osp.dirname(osp.dirname(here))), ".portage_not_installed")):
+	# Add the repoman subpkg
+	pym_path = osp.join(osp.dirname(osp.dirname(here)), "pym")
+	sys.path.insert(0, pym_path)
+	# Add the base portage pkg
+	pym_path = osp.join(osp.dirname(osp.dirname(osp.dirname(here))), "pym")
 	sys.path.insert(0, pym_path)
 import portage
 portage._internal_caller = True


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/portage:repoman commit in: repoman/bin/
  2016-05-15 23:51 [gentoo-commits] proj/portage:master commit in: repoman/bin/ Brian Dolbec
@ 2016-05-14 18:33 ` Brian Dolbec
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Dolbec @ 2016-05-14 18:33 UTC (permalink / raw
  To: gentoo-commits

commit:     1ddb6931f58450667fafef58d236e45f86a2fa90
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Wed May 11 06:28:03 2016 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sat May 14 18:29:40 2016 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=1ddb6931

repoman: Update the running from a checkout code to add both repoman and portage dirs 

 repoman/bin/repoman | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/repoman/bin/repoman b/repoman/bin/repoman
index 819e0f5..91a8d06 100755
--- a/repoman/bin/repoman
+++ b/repoman/bin/repoman
@@ -26,8 +26,13 @@ except KeyboardInterrupt:
 	sys.exit(1)
 
 from os import path as osp
-if osp.isfile(osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), ".portage_not_installed")):
-	pym_path = osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), "pym")
+here = osp.realpath(__file__)
+if osp.isfile(osp.join(osp.dirname(osp.dirname(osp.dirname(here))), ".portage_not_installed")):
+	# Add the repoman subpkg
+	pym_path = osp.join(osp.dirname(osp.dirname(here)), "pym")
+	sys.path.insert(0, pym_path)
+	# Add the base portage pkg
+	pym_path = osp.join(osp.dirname(osp.dirname(osp.dirname(here))), "pym")
 	sys.path.insert(0, pym_path)
 import portage
 portage._internal_caller = True


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/portage:master commit in: repoman/bin/
@ 2016-05-15 23:51 Brian Dolbec
  2016-05-14 18:33 ` [gentoo-commits] proj/portage:repoman " Brian Dolbec
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Dolbec @ 2016-05-15 23:51 UTC (permalink / raw
  To: gentoo-commits

commit:     1ddb6931f58450667fafef58d236e45f86a2fa90
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Wed May 11 06:28:03 2016 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sat May 14 18:29:40 2016 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=1ddb6931

repoman: Update the running from a checkout code to add both repoman and portage dirs 

 repoman/bin/repoman | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/repoman/bin/repoman b/repoman/bin/repoman
index 819e0f5..91a8d06 100755
--- a/repoman/bin/repoman
+++ b/repoman/bin/repoman
@@ -26,8 +26,13 @@ except KeyboardInterrupt:
 	sys.exit(1)
 
 from os import path as osp
-if osp.isfile(osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), ".portage_not_installed")):
-	pym_path = osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), "pym")
+here = osp.realpath(__file__)
+if osp.isfile(osp.join(osp.dirname(osp.dirname(osp.dirname(here))), ".portage_not_installed")):
+	# Add the repoman subpkg
+	pym_path = osp.join(osp.dirname(osp.dirname(here)), "pym")
+	sys.path.insert(0, pym_path)
+	# Add the base portage pkg
+	pym_path = osp.join(osp.dirname(osp.dirname(osp.dirname(here))), "pym")
 	sys.path.insert(0, pym_path)
 import portage
 portage._internal_caller = True


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-15 23:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-15 23:51 [gentoo-commits] proj/portage:master commit in: repoman/bin/ Brian Dolbec
2016-05-14 18:33 ` [gentoo-commits] proj/portage:repoman " Brian Dolbec
  -- strict thread matches above, loose matches on Subject: below --
2016-05-11  6:41 Brian Dolbec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox