Init package with version 2.0.0
This commit is contained in:
parent
67b08ffb23
commit
5b5517685a
27
0001-modify-the-operator-of-version-required-to-gt.patch
Normal file
27
0001-modify-the-operator-of-version-required-to-gt.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From f2fc63ffd0aae72a480a2661f941dd7bf0a2d336 Mon Sep 17 00:00:00 2001
|
||||
From: desert-sailor <dxwangk@isoftstone.com>
|
||||
Date: Thu, 20 Jul 2023 17:13:34 +0800
|
||||
Subject: [PATCH] modify the operator of version required to gt
|
||||
|
||||
---
|
||||
pyproject.toml | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index ed6db11..ac6bf31 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -36,8 +36,8 @@ requires-python = ">=3.8"
|
||||
dependencies = [
|
||||
"docutils>=0.16,<0.21",
|
||||
"jinja2", # required for substitutions, but let sphinx choose version
|
||||
- "markdown-it-py~=3.0",
|
||||
- "mdit-py-plugins~=0.4",
|
||||
+ "markdown-it-py>=3.0",
|
||||
+ "mdit-py-plugins>=0.4",
|
||||
"pyyaml",
|
||||
"sphinx>=6,<8",
|
||||
]
|
||||
--
|
||||
2.33.0
|
||||
|
||||
BIN
myst_parser-2.0.0.tar.gz
Normal file
BIN
myst_parser-2.0.0.tar.gz
Normal file
Binary file not shown.
55
python-myst-parser.spec
Normal file
55
python-myst-parser.spec
Normal file
@ -0,0 +1,55 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
|
||||
Name: python-myst-parser
|
||||
Version: 2.0.0
|
||||
Release: 1
|
||||
Summary: A rich and extensible flavor of Markdown meant for technical documentation and publishing.
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/executablebooks/MyST-Parser
|
||||
Source: %{pypi_source myst_parser}
|
||||
Patch1: 0001-modify-the-operator-of-version-required-to-gt.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-hatchling
|
||||
BuildRequires: python3-flit-core
|
||||
|
||||
%global _description %{expand:
|
||||
MyST is a flavor of markdown that is designed for simplicity, flexibility, and extensibility.
|
||||
This repository serves as the reference implementation of MyST Markdown,
|
||||
as well as a collection of tools to support working with MyST in Python and Sphinx.
|
||||
It contains an extended CommonMark-compliant parser using markdown-it-py,
|
||||
as well as a Sphinx extension that allows you to write MyST Markdown in Sphinx.}
|
||||
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-myst-parser
|
||||
Summary: %{summary}
|
||||
|
||||
%description -n python3-myst-parser %_description
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n myst_parser-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
|
||||
%files -n python3-myst-parser
|
||||
%doc README.md example-include.md CHANGELOG.md
|
||||
%license LICENSE
|
||||
%{_bindir}/myst-*
|
||||
%{python3_sitelib}/myst_parser
|
||||
%{python3_sitelib}/myst_parser*.dist-info/
|
||||
|
||||
%changelog
|
||||
* Tue Jul 11 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2.0.0-1
|
||||
- Initial package
|
||||
Loading…
x
Reference in New Issue
Block a user