From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pms-test-suite:master commit in: /, PMSTestSuite/
Date: Sun, 29 May 2011 17:55:41 +0000 (UTC) [thread overview]
Message-ID: <0c9693ac431f53b6606a1fa13ece08ee5fca4dd9.mgorny@gentoo> (raw)
commit: 0c9693ac431f53b6606a1fa13ece08ee5fca4dd9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 29 17:49:34 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 29 17:49:34 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=0c9693ac
Move remaining EbuildGenCLI code to PMSTestSuite.ebuildgen.
---
ebuild-generator => PMSTestSuite/ebuildgen.py | 7 -------
ebuild-generator | 15 +--------------
2 files changed, 1 insertions(+), 21 deletions(-)
diff --git a/ebuild-generator b/PMSTestSuite/ebuildgen.py
old mode 100755
new mode 100644
similarity index 79%
copy from ebuild-generator
copy to PMSTestSuite/ebuildgen.py
index caac6ba..4a16625
--- a/ebuild-generator
+++ b/PMSTestSuite/ebuildgen.py
@@ -1,10 +1,7 @@
-#!/usr/bin/python
# vim:fileencoding=utf-8
# (c) 2011 Michał Górny <mgorny@gentoo.org>
# Released under the terms of the 2-clause BSD license.
-import sys
-
from PMSTestSuite.cli import PMSTestSuiteCLI
class EbuildGenCLI(PMSTestSuiteCLI):
@@ -19,7 +16,3 @@ class EbuildGenCLI(PMSTestSuiteCLI):
self.repository.remanifest(files, self.pm)
return 0
-
-if __name__ == '__main__':
- cli = EbuildGenCLI()
- sys.exit(cli.main(sys.argv))
diff --git a/ebuild-generator b/ebuild-generator
index caac6ba..f11ac16 100755
--- a/ebuild-generator
+++ b/ebuild-generator
@@ -5,20 +5,7 @@
import sys
-from PMSTestSuite.cli import PMSTestSuiteCLI
-
-class EbuildGenCLI(PMSTestSuiteCLI):
- def main(self, argv):
- self._start(*argv)
-
- files = {}
- for t in self.test_library:
- files.update(t.get_output_files())
-
- self.repository.write_files(files)
- self.repository.remanifest(files, self.pm)
-
- return 0
+from PMSTestSuite.ebuildgen import EbuildGenCLI
if __name__ == '__main__':
cli = EbuildGenCLI()
next reply other threads:[~2011-05-29 17:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-29 17:55 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-01-03 15:52 [gentoo-commits] proj/pms-test-suite:master commit in: /, pmstestsuite/ Michał Górny
2011-06-27 21:24 Michał Górny
2011-06-01 12:30 [gentoo-commits] proj/pms-test-suite:master commit in: /, PMSTestSuite/ Michał Górny
2011-06-01 12:30 Michał Górny
2011-05-29 18:57 Michał Górny
2011-05-29 17:55 Michał Górny
2011-05-29 17:46 Michał Górny
2011-05-29 17:46 Michał Górny
2011-05-29 17:13 Michał Górny
2011-05-22 9:17 Michał Górny
2011-05-16 20:00 Michał Górny
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=0c9693ac431f53b6606a1fa13ece08ee5fca4dd9.mgorny@gentoo \
--to=mgorny@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