[med-svn] [Git][med-team/python-pbcommand][master] Force Python3 in some scripts
Andreas Tille
gitlab at salsa.debian.org
Sat Dec 7 21:31:11 GMT 2019
Andreas Tille pushed to branch master at Debian Med / python-pbcommand
Commits:
32105139 by Andreas Tille at 2019-12-07T21:30:44Z
Force Python3 in some scripts
- - - - -
2 changed files:
- + debian/patches/python3.patch
- + debian/patches/series
Changes:
=====================================
debian/patches/python3.patch
=====================================
@@ -0,0 +1,47 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sat, 07 Dec 2019 21:44:15 +0100
+Description: Force Python3 in some scripts
+
+--- a/bin/extract-readme-snippets.py
++++ b/bin/extract-readme-snippets.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+
+ """
+ Pandoc filter to exact python code blocks and write each snippet out.
+--- a/pbcommand/create_bundle_manifest.py
++++ b/pbcommand/create_bundle_manifest.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # Tool to generate the manifest.xml will the correct datetime of bundle
+ # creation as well as add git sha and bamboo build metadata
+
+--- a/pbcommand/services/resolver.py
++++ b/pbcommand/services/resolver.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+
+ """
+ Utility to obtain paths to important analysis files from SMRT Link jobs,
+--- a/pbcommand/testkit/nunit.py
++++ b/pbcommand/testkit/nunit.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+
+ """
+ Generate an NUnit XML test report annotated with test issue keys, suitable
+--- a/tests/test_testkit_xunit.py
++++ b/tests/test_testkit_xunit.py
+@@ -101,7 +101,7 @@ class TestXunitOutput:
+ def test_merge_junit_files_cmdline(self):
+ x1, x2 = self._get_junit_files()
+ x_merged = tempfile.NamedTemporaryFile(suffix=".xml").name
+- args = ["python", "-m" "pbcommand.testkit.merge_junit_files",
++ args = ["python3", "-m" "pbcommand.testkit.merge_junit_files",
+ "-o", x_merged, x1, x2, "--quiet"]
+ assert subprocess.call(args) == 0
+ x = ElementTree.ElementTree(file=x_merged)
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+python3.patch
View it on GitLab: https://salsa.debian.org/med-team/python-pbcommand/commit/321051392a8906ee31269e46e5e7c182ece5af2a
--
View it on GitLab: https://salsa.debian.org/med-team/python-pbcommand/commit/321051392a8906ee31269e46e5e7c182ece5af2a
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20191207/e8c3e185/attachment-0001.html>
More information about the debian-med-commit
mailing list