[Python-modules-commits] [python-textile] 02/02: Refresh patches for the new release.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Sat Jun 24 10:37:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

mitya57 pushed a commit to branch debian/master
in repository python-textile.

commit d43ee03fd13b25dc56ede9beeaa0fca17f64baf1
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Sat Jun 24 13:37:00 2017 +0300

    Refresh patches for the new release.
---
 debian/changelog                                      |  4 +++-
 ...-test-that-requires-access-to-www.google.com.patch |  1 -
 ...ath-to-README.textile-when-running-the-tests.patch | 19 +++++++------------
 3 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5eca74a..0c591e0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
-python-textile (1:2.3.5-2) UNRELEASED; urgency=medium
+python-textile (1:2.3.12-1) UNRELEASED; urgency=medium
 
+  * New upstream release.
+  * Refresh patches for the new release.
   * Set DPMT as Maintainer and add myself to Uploaders (closes: #849734).
     Thanks to Janos Guljas for his past work on this package!
 
diff --git a/debian/patches/0001-Skip-a-test-that-requires-access-to-www.google.com.patch b/debian/patches/0001-Skip-a-test-that-requires-access-to-www.google.com.patch
index 756db4b..4f7e9be 100644
--- a/debian/patches/0001-Skip-a-test-that-requires-access-to-www.google.com.patch
+++ b/debian/patches/0001-Skip-a-test-that-requires-access-to-www.google.com.patch
@@ -1,4 +1,3 @@
-From ef1c5288e280474ff144bb1965d9777cc8af3be1 Mon Sep 17 00:00:00 2001
 From: Dmitry Shachnev <mitya57 at gmail.com>
 Date: Mon, 14 Dec 2015 19:21:41 +0300
 Subject: Skip a test that requires access to www.google.com.
diff --git a/debian/patches/0002-Fix-path-to-README.textile-when-running-the-tests.patch b/debian/patches/0002-Fix-path-to-README.textile-when-running-the-tests.patch
index 1d06dea..b16abfd 100644
--- a/debian/patches/0002-Fix-path-to-README.textile-when-running-the-tests.patch
+++ b/debian/patches/0002-Fix-path-to-README.textile-when-running-the-tests.patch
@@ -1,17 +1,14 @@
-From 39ca12c5b4fe280130381e8e41bed874ad720da0 Mon Sep 17 00:00:00 2001
 From: Dmitry Shachnev <mitya57 at gmail.com>
 Date: Wed, 9 Nov 2016 20:53:04 +0300
 Subject: Fix path to README.textile when running the tests
 
-Also, use sys.executable in one of the tests instead of
-hard-coded 'python'.
 ---
  tests/test_block.py | 2 +-
- tests/test_cli.py   | 3 ++-
- 2 files changed, 3 insertions(+), 2 deletions(-)
+ tests/test_cli.py   | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/tests/test_block.py b/tests/test_block.py
-index 0e6dc14..a4aec1a 100644
+index c69105c..1fdeeb7 100644
 --- a/tests/test_block.py
 +++ b/tests/test_block.py
 @@ -56,7 +56,7 @@ def test_blockcode_extended():
@@ -24,16 +21,14 @@ index 0e6dc14..a4aec1a 100644
      result = textile.textile(readme)
      with open('tests/fixtures/README.txt') as f:
 diff --git a/tests/test_cli.py b/tests/test_cli.py
-index bc1e28d..e0a1234 100644
+index 8d37614..7dfab47 100644
 --- a/tests/test_cli.py
 +++ b/tests/test_cli.py
-@@ -1,8 +1,9 @@
- import six
-+import sys
- import subprocess
+@@ -5,7 +5,7 @@ import sys
+ import textile
  
  def test_console_script():
--    command = ['python', '-m', 'textile', 'README.textile']
+-    command = [sys.executable, '-m', 'textile', 'README.textile']
 +    command = [sys.executable, '-m', 'textile', '../../../README.textile']
      try:
          result = subprocess.check_output(command)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-textile.git



More information about the Python-modules-commits mailing list