[Python-modules-commits] r26821 - in packages/plainbox/trunk/debian/patches (2 files)

zyga-guest at users.alioth.debian.org zyga-guest at users.alioth.debian.org
Thu Dec 19 22:22:56 UTC 2013


    Date: Thursday, December 19, 2013 @ 22:22:55
  Author: zyga-guest
Revision: 26821

Remove unused patches

Deleted:
  packages/plainbox/trunk/debian/patches/01-add-main-module
  packages/plainbox/trunk/debian/patches/02-executable-laucher1

Deleted: packages/plainbox/trunk/debian/patches/01-add-main-module
===================================================================
--- packages/plainbox/trunk/debian/patches/01-add-main-module	2013-12-19 22:08:56 UTC (rev 26820)
+++ packages/plainbox/trunk/debian/patches/01-add-main-module	2013-12-19 22:22:55 UTC (rev 26821)
@@ -1,47 +0,0 @@
-Description: Add plainbox.__main__ to make `python3 -m plainbox` work
- This patch adds a trivial plainbox.__main__ module so that the plainbox
- python package can be executed directly with `python3 -m plainbox`.
- This is useful to generate the plainbox.1 manual page with help2man
-
-Author: Zygmunt Krynicki <zygmunt.krynicki at canonical.com>
-Bug: https://bugs.launchpad.net/checkbox/+bug/1255066
-Last-Update: 2013-11-26
-Forwarded: yes
-Applied-Upstream: http://bazaar.launchpad.net/~checkbox-dev/checkbox/trunk/revision/2534.1.1 
-
---- /dev/null
-+++ plainbox-0.4~b1/plainbox/__main__.py
-@@ -0,0 +1,33 @@
-+# This file is part of Checkbox.
-+#
-+# Copyright 2013 Canonical Ltd.
-+# Written by:
-+#   Zygmunt Krynicki <zygmunt.krynicki at canonical.com>
-+#
-+# Checkbox is free software: you can redistribute it and/or modify
-+# it under the terms of the GNU General Public License as published by
-+# the Free Software Foundation, either version 3 of the License, or
-+# (at your option) any later version.
-+#
-+# Checkbox is distributed in the hope that it will be useful,
-+# but WITHOUT ANY WARRANTY; without even the implied warranty of
-+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-+# GNU General Public License for more details.
-+#
-+# You should have received a copy of the GNU General Public License
-+# along with Checkbox.  If not, see <http://www.gnu.org/licenses/>.
-+
-+"""
-+:mod:`plainbox.__main__` -- execute plainbox 
-+============================================
-+
-+This module allows plainbox to be executed with:
-+
-+    python3 -m plainbox
-+"""
-+
-+from plainbox.public import main
-+
-+
-+if __name__ == '__main__':
-+    main()

Deleted: packages/plainbox/trunk/debian/patches/02-executable-laucher1
===================================================================
--- packages/plainbox/trunk/debian/patches/02-executable-laucher1	2013-12-19 22:08:56 UTC (rev 26820)
+++ packages/plainbox/trunk/debian/patches/02-executable-laucher1	2013-12-19 22:22:55 UTC (rev 26821)
@@ -1,22 +0,0 @@
-Description: Make plainbox.impl.secure.launcher1 executable via `python -m`
- This patch adds a simple if __name__ == '__main__': main() statement
- a the end of plainbox.impl.secure.launcher1 module so that it can be
- executed directly with `python3 -m ...`. This is useful to generate
- the plainbox-trusted-launcher-1.1 manual page with help2man
-
-Author: Zygmunt Krynicki <zygmunt.krynicki at canonical.com>
-Bug: https://bugs.launchpad.net/checkbox/+bug/1255085
-Last-Update: 2013-11-26
-Forwarded: yes
-Applied-Upstream: http://bazaar.launchpad.net/~checkbox-dev/checkbox/trunk/revision/2534.1.2
-
---- plainbox-0.4~b1.orig/plainbox/impl/secure/launcher1.py
-+++ plainbox-0.4~b1/plainbox/impl/secure/launcher1.py
-@@ -173,3 +173,7 @@ def main(argv=None):
-             return launcher.run_shell_from_job(ns.hash, env)
-         except LookupError as exc:
-             raise SystemExit(str(exc))
-+
-+
-+if __name__ == "__main__":
-+    main()




More information about the Python-modules-commits mailing list