From f0e15f9d1dd92172e5124fe6fe556577e97d41a8 Mon Sep 17 00:00:00 2001 From: tigro Date: Sat, 4 Jan 2025 11:50:02 +0300 Subject: [PATCH] import python-linkify-it-py-2.0.3-3.el10 --- .gitignore | 1 + .python-linkify-it-py.metadata | 1 + SOURCES/0001-pyproject.toml.patch | 11 ++++ SPECS/python-linkify-it-py.spec | 100 ++++++++++++++++++++++++++++++ 4 files changed, 113 insertions(+) create mode 100644 .gitignore create mode 100644 .python-linkify-it-py.metadata create mode 100644 SOURCES/0001-pyproject.toml.patch create mode 100644 SPECS/python-linkify-it-py.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..894a862 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/linkify-it-py-2.0.3.tar.gz diff --git a/.python-linkify-it-py.metadata b/.python-linkify-it-py.metadata new file mode 100644 index 0000000..5dd3dd4 --- /dev/null +++ b/.python-linkify-it-py.metadata @@ -0,0 +1 @@ +3378eb633590b967c70eec82d1d7fed560eeb2ae SOURCES/linkify-it-py-2.0.3.tar.gz diff --git a/SOURCES/0001-pyproject.toml.patch b/SOURCES/0001-pyproject.toml.patch new file mode 100644 index 0000000..fa62dd1 --- /dev/null +++ b/SOURCES/0001-pyproject.toml.patch @@ -0,0 +1,11 @@ +--- linkify-it-py-2.0.3/pyproject.toml.orig 2024-11-21 08:48:19.826501457 -0500 ++++ linkify-it-py-2.0.3/pyproject.toml 2024-11-21 08:48:45.409057820 -0500 +@@ -28,7 +28,7 @@ + dynamic = ["version"] + + [project.optional-dependencies] +-test = ["pytest", "coverage", "pytest-cov"] ++test = ["pytest", "coverage"] + dev = ["pre-commit", "isort", "flake8", "black", "pyproject-flake8"] + benchmark = ["pytest", "pytest-benchmark"] + doc = ["sphinx", "sphinx_book_theme", "myst-parser"] diff --git a/SPECS/python-linkify-it-py.spec b/SPECS/python-linkify-it-py.spec new file mode 100644 index 0000000..dc8df98 --- /dev/null +++ b/SPECS/python-linkify-it-py.spec @@ -0,0 +1,100 @@ +# It is not currently possible to build the documentation, because Fedora +# lacks sphinx_book_theme. + +%global giturl https://github.com/tsutsu3/linkify-it-py + +Name: python-linkify-it-py +Version: 2.0.3 +Release: 3%{?dist} +Summary: Link recognition library with full Unicode support + +License: MIT +URL: https://linkify-it-py.readthedocs.io/ +VCS: git:%{giturl}.git +Source: %{giturl}/archive/v%{version}/linkify-it-py-%{version}.tar.gz +Patch0001: 0001-pyproject.toml.patch + +BuildArch: noarch + +BuildRequires: python3-devel + +%global _description %{expand: +This is a Python port of linkify-it [1], a link recognition library with +FULL unicode support. It is focused on high quality link pattern +detection in plain text. See a JavaScript demo [2]. + +References: +[1] https://github.com/markdown-it/linkify-it +[2] https://markdown-it.github.io/linkify-it/} + +%description %_description + +%package -n python3-linkify-it-py +Summary: Link recognition library with full Unicode support + +%description -n python3-linkify-it-py %_description + +%prep +%autosetup -n linkify-it-py-%{version} + +%generate_buildrequires +%pyproject_buildrequires -x test + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files linkify_it + +%check +%pytest + +%files -n python3-linkify-it-py -f %{pyproject_files} +%doc CHANGELOG.md README.md + +%changelog +* Sat Jan 04 2025 Arkady L. Shane - 2.0.3-3 +- Rebuilt for MSVSphere 10 + +* Fri Jul 19 2024 Fedora Release Engineering - 2.0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 2.0.3-2 +- Rebuilt for Python 3.13 + +* Sun Feb 4 2024 Jerry James - 2.0.3-1 +- Version 2.0.3 + +* Fri Jan 26 2024 Fedora Release Engineering - 2.0.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 2.0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Oct 24 2023 Karolina Surma - 2.0.2-4 +- Stop removing the SPECPARTS directory, it doesn't exist + +* Fri Jul 21 2023 Fedora Release Engineering - 2.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 21 2023 Orion Poplawski - 2.0.2-2 +- Remove empty SPECPARTS directory that breaks build + +* Wed Jun 14 2023 Python Maint - 2.0.2-2 +- Rebuilt for Python 3.12 + +* Tue May 2 2023 Jerry James - 2.0.2-1 +- Version 2.0.2 + +* Mon May 1 2023 Jerry James - 2.0.1-1 +- Version 2.0.1 + +* Thu Feb 23 2023 Jerry James - 2.0.0-2 +- Dynamically generate BuildRequires + +* Fri Jan 20 2023 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Aug 25 2022 Jerry James - 2.0.0-1 +- Initial RPM