mv cmark to commonmark
This commit is contained in:
parent
1923a943d1
commit
ea19728248
69
0001-mv-cmark-to-commonmark.patch
Normal file
69
0001-mv-cmark-to-commonmark.patch
Normal file
@ -0,0 +1,69 @@
|
||||
From 0fa87b0293971e498f13354aae410bcc35523a13 Mon Sep 17 00:00:00 2001
|
||||
From: peijiankang <peijiankang@kylinos.cn>
|
||||
Date: Mon, 27 Feb 2023 10:11:48 +0800
|
||||
Subject: [PATCH] mv cmark to commonmark
|
||||
|
||||
---
|
||||
PKG-INFO | 10 +++++-----
|
||||
README.rst | 10 +++++-----
|
||||
setup.py | 2 +-
|
||||
3 files changed, 11 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/PKG-INFO b/PKG-INFO
|
||||
index 8b7208e..65753a9 100644
|
||||
--- a/PKG-INFO
|
||||
+++ b/PKG-INFO
|
||||
@@ -62,11 +62,11 @@ Description: commonmark.py
|
||||
|
||||
::
|
||||
|
||||
- $ cmark README.md -o README.html
|
||||
- $ cmark README.md -o README.json -aj # output AST as JSON
|
||||
- $ cmark README.md -a # pretty print generated AST structure
|
||||
- $ cmark -h
|
||||
- usage: cmark [-h] [-o [O]] [-a] [-aj] [infile]
|
||||
+ $ commonmark README.md -o README.html
|
||||
+ $ commonmark README.md -o README.json -aj # output AST as JSON
|
||||
+ $ commonmark README.md -a # pretty print generated AST structure
|
||||
+ $ commonmark -h
|
||||
+ usage: commonmark [-h] [-o [O]] [-a] [-aj] [infile]
|
||||
|
||||
Process Markdown according to the CommonMark specification.
|
||||
|
||||
diff --git a/README.rst b/README.rst
|
||||
index 68c4a61..a3da1c5 100644
|
||||
--- a/README.rst
|
||||
+++ b/README.rst
|
||||
@@ -52,11 +52,11 @@ There is also a CLI:
|
||||
|
||||
::
|
||||
|
||||
- $ cmark README.md -o README.html
|
||||
- $ cmark README.md -o README.json -aj # output AST as JSON
|
||||
- $ cmark README.md -a # pretty print generated AST structure
|
||||
- $ cmark -h
|
||||
- usage: cmark [-h] [-o [O]] [-a] [-aj] [infile]
|
||||
+ $ commonmark README.md -o README.html
|
||||
+ $ commonmark README.md -o README.json -aj # output AST as JSON
|
||||
+ $ commonmark README.md -a # pretty print generated AST structure
|
||||
+ $ commonmark -h
|
||||
+ usage: commonmark [-h] [-o [O]] [-a] [-aj] [infile]
|
||||
|
||||
Process Markdown according to the CommonMark specification.
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 71ac8bc..d82c4fb 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -48,7 +48,7 @@ setup(
|
||||
keywords=["markup", "markdown", "commonmark"],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
- 'cmark = commonmark.cmark:main',
|
||||
+ 'commonmark = commonmark.cmark:main',
|
||||
]
|
||||
},
|
||||
cmdclass={'test': Test},
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,10 +1,13 @@
|
||||
Name: python-commonmark
|
||||
Version: 0.9.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Python parser for the CommonMark Markdown spec
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/rtfd/commonmark.py
|
||||
Source0: https://files.pythonhosted.org/packages/60/48/a60f593447e8f0894ebb7f6e6c1f25dafc5e89c5879fdc9360ae93ff83f0/commonmark-0.9.1.tar.gz
|
||||
|
||||
Patch0: 0001-mv-cmark-to-commonmark.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: python3-future >= 0.14.0
|
||||
@ -82,5 +85,8 @@ mv %{buildroot}/filelist.lst .
|
||||
%{_pkgdocdir}
|
||||
|
||||
%changelog
|
||||
* Thu Jun 04 2020 Python_Bot <Python_Bot@openeuler.org>
|
||||
* Mon Feb 27 2023 peijiankang <peijiankang@kylinos.cn> - 0.9.1-2
|
||||
- mv cmark to commonmark
|
||||
|
||||
* Thu Jun 04 2020 Python_Bot <Python_Bot@openeuler.org> - 0.9.1-1
|
||||
- Package Spec generated
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user