Init package with version 3.0.0

This commit is contained in:
desert-sailor 2023-08-01 15:37:31 +08:00
parent 4747df7bb5
commit 088c91bb99
3 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From 9974de9e5644ef9265fc8dc2a0a439ceebce519f Mon Sep 17 00:00:00 2001
From: desert-sailor <dxwangk@isoftstone.com>
Date: Tue, 1 Aug 2023 15:54:33 +0800
Subject: [PATCH] modify the operator of version required to gt
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index 633eef2..6bccace 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -26,7 +26,7 @@ classifiers = [
keywords = ["markdown", "lexer", "parser", "commonmark", "markdown-it"]
requires-python = ">=3.8"
dependencies = [
- "mdurl~=0.1",
+ "mdurl>=0.1",
]
[project.urls]
--
2.33.0

BIN
markdown-it-py-3.0.0.tar.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,52 @@
%global _empty_manifest_terminate_build 0
Name: python-markdown-it-py
Version: 3.0.0
Release: 1
Summary: Python port of markdown-it and some of its associated plugins.
License: MIT
URL: https://github.com/executablebooks/markdown-it-py
Source: https://files.pythonhosted.org/packages/38/71/3b932df36c1a044d397a1f92d1cf91ee0a503d91e470cbd670aa66b07ed0/markdown-it-py-3.0.0.tar.gz
Patch1: 0001-modify-the-operator-of-version-required-to-gt.patch
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
BuildRequires: python3-flit-core
%global _description %{expand:
Python port of markdown-it and some of its associated plugins.}
%description %_description
%package -n python3-markdown-it-py
Summary: %{summary}
%description -n python3-markdown-it-py %_description
%prep
%autosetup -p1 -n markdown-it-py-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-markdown-it-py
%doc README.md
%license LICENSE*
%{_bindir}/markdown-it
%{python3_sitelib}/markdown_it
%{python3_sitelib}/markdown_it_py*.dist-info/
%changelog
* Tue Aug 1 2023 Dongxing Wang <dxwangk@isoftstone.com> - 3.0.0-1
- Initial package