upgrade to 0.3.1
This commit is contained in:
parent
c3575c1c30
commit
4369d3d7fb
@ -1,6 +1,6 @@
|
||||
From 0a21e67970593968f48770f12d52e40af110c823 Mon Sep 17 00:00:00 2001
|
||||
From: penelope <anchor_cool@163.com>
|
||||
Date: Sat, 7 May 2022 14:19:53 +0800
|
||||
From 84f20338bd2c3a54143256115db91cb9f1d01289 Mon Sep 17 00:00:00 2001
|
||||
From: lvfei <lvfei@kylinos.cn>
|
||||
Date: Tue, 28 Feb 2023 17:26:04 +0800
|
||||
Subject: [PATCH] test_no_file
|
||||
|
||||
---
|
||||
@ -8,15 +8,15 @@ Subject: [PATCH] test_no_file
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/test_cli.py b/tests/test_cli.py
|
||||
index 7b42724..316e4e1 100644
|
||||
index d190a2c..b9e9563 100644
|
||||
--- a/tests/test_cli.py
|
||||
+++ b/tests/test_cli.py
|
||||
@@ -54,7 +54,7 @@ class TestConvert(TestCase):
|
||||
message = buffer.read().decode()
|
||||
self.assertIn('usage', message)
|
||||
@@ -51,7 +51,7 @@ class TestConvert(TestCase):
|
||||
self.assertIn('underscore-emphasis', message)
|
||||
- self.assertIn('optional arguments:', message)
|
||||
+ self.assertRegex(message,r'option(s|al arguments):')
|
||||
self.assertIn('anonymous-references', message)
|
||||
self.assertIn('inline-math', message)
|
||||
- self.assertIn('options:', message)
|
||||
+ self.assertRegex(message, r'option(s|al arguments):')
|
||||
|
||||
def test_parse_file(self):
|
||||
output = parse_from_file(test_md)
|
||||
|
||||
Binary file not shown.
BIN
m2r-0.3.1.tar.gz
Normal file
BIN
m2r-0.3.1.tar.gz
Normal file
Binary file not shown.
@ -1,12 +1,12 @@
|
||||
Name: python-m2r
|
||||
Version: 0.1.15
|
||||
Release: 5
|
||||
Version: 0.3.1
|
||||
Release: 1
|
||||
Summary: A converter for markdown to reStructuredText
|
||||
License: MIT
|
||||
URL: https://github.com/miyakogi/m2r
|
||||
Source0: https://github.com/miyakogi/m2r/archive/v%{version}/m2r-%{version}.tar.gz
|
||||
#https://github.com/miyakogi/m2r/pull/62
|
||||
Patch0: 0001-test_no_file.patch
|
||||
Patch0: 0001-test_no_file.patch
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -42,6 +42,9 @@ PYTHONPATH=$(pwd) %{__python3} setup.py test -s tests
|
||||
%exclude %{python3_sitelib}/tests
|
||||
|
||||
%changelog
|
||||
* Tue Feb 28 2023 lvfei <lvfei@kylinos.cn> - 0.3.1-1
|
||||
- upgrade to 0.3.1
|
||||
|
||||
* Sat May 07 2022 yangping <yangping69@h-partners.com> - 0.1.15-5
|
||||
- Fix error caused by options arguments
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user