From: "Brian Dolbec" <dolsen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:repoman commit in: /, repoman/
Date: Sun, 15 May 2016 08:40:51 +0000 (UTC) [thread overview]
Message-ID: <1463301558.b1b36b1a276ebffb1ab161b8ade3d497c897dca4.dolsen@gentoo> (raw)
commit: b1b36b1a276ebffb1ab161b8ade3d497c897dca4
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun May 15 05:16:33 2016 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sun May 15 08:39:18 2016 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=b1b36b1a
repoman: Set current working directory in repoman's setup.py
Fixes issues with running it from the portage parent directory.
.travis.yml | 6 ++----
repoman/setup.py | 2 ++
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 53e60bc..c098c4d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,9 +18,7 @@ script:
- sudo rsync -a /tmp/install-root/. /
- python -b -Wd -m portage.tests.runTests
# repoman test block
- - cd repoman
- - ./setup.py test
- - ./setup.py install --root=/tmp/install-root
- - cd ..
+ - repoman/setup.py test
+ - repoman/setup.py install --root=/tmp/install-root
- sudo rsync -a /tmp/install-root/. /
- python -b -Wd -m repoman.tests.runTests
diff --git a/repoman/setup.py b/repoman/setup.py
index 62c5b62..a4726ba 100755
--- a/repoman/setup.py
+++ b/repoman/setup.py
@@ -23,6 +23,8 @@ import os.path
import subprocess
import sys
+# change the cwd to this one
+os.chdir(os.path.dirname(os.path.realpath(__file__)))
# TODO:
# - smarter rebuilds of docs w/ 'install_docbook' and 'install_epydoc'.
next reply other threads:[~2016-05-15 8:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-15 8:40 Brian Dolbec [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-05-15 23:51 [gentoo-commits] proj/portage:master commit in: /, repoman/ Brian Dolbec
2016-05-15 18:34 ` [gentoo-commits] proj/portage:repoman " Brian Dolbec
2016-05-15 19:30 Brian Dolbec
2016-05-14 18:33 Brian Dolbec
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=1463301558.b1b36b1a276ebffb1ab161b8ade3d497c897dca4.dolsen@gentoo \
--to=dolsen@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