From 0ce4aaf5e0fa7966f84458d7463ecbdb953b443d Mon Sep 17 00:00:00 2001 From: tigro Date: Sat, 4 Jan 2025 16:37:26 +0300 Subject: [PATCH] import python-mdit-py-plugins-0.4.2-1.el10 --- .gitignore | 1 + .python-mdit-py-plugins.metadata | 1 + SPECS/python-mdit-py-plugins.spec | 122 ++++++++++++++++++++++++++++++ 3 files changed, 124 insertions(+) create mode 100644 .gitignore create mode 100644 .python-mdit-py-plugins.metadata create mode 100644 SPECS/python-mdit-py-plugins.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..48c9a09 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/mdit-py-plugins-0.4.2.tar.gz diff --git a/.python-mdit-py-plugins.metadata b/.python-mdit-py-plugins.metadata new file mode 100644 index 0000000..d3a5420 --- /dev/null +++ b/.python-mdit-py-plugins.metadata @@ -0,0 +1 @@ +b6a31cd139ca7cba761347ec22beadf300632120 SOURCES/mdit-py-plugins-0.4.2.tar.gz diff --git a/SPECS/python-mdit-py-plugins.spec b/SPECS/python-mdit-py-plugins.spec new file mode 100644 index 0000000..c98e1ca --- /dev/null +++ b/SPECS/python-mdit-py-plugins.spec @@ -0,0 +1,122 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +%global pypi_name mdit-py-plugins + +Name: python-%{pypi_name} +Version: 0.4.2 +Release: %autorelease +Summary: Collection of plugins for markdown-it-py + +# SPDX +# Both the package and its plugins are licensed under MIT +License: MIT +URL: https://github.com/executablebooks/mdit-py-plugins +Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(pytest-regressions) + +%global _description %{expand: +Collection of core plugins for markdown-it-py. +} + +%description %_description + +%package -n python3-%{pypi_name} +Summary: %{summary} + +%description -n python3-%{pypi_name} %_description + +%prep +%autosetup -p1 -n %{pypi_name}-%{version} + +%generate_buildrequires +%pyproject_buildrequires + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files mdit_py_plugins + +%check +%pytest + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%license LICENSE +%doc README.md + +%changelog +* Sat Jan 04 2025 Arkady L. Shane - 0.4.2-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Sep 20 2024 Karolina Surma - 0.4.2-1 +- Update to 0.4.2 (Resolves: rbz#2310952) + +* Fri Jul 19 2024 Fedora Release Engineering - 0.4.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sun Jun 09 2024 Python Maint - 0.4.0-5 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.4.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jul 07 2023 Karolina Surma - 0.4.0-1 +- Update to 0.4.0 +Resolves: rhbz#2212522 + +* Thu Jun 29 2023 Python Maint - 0.3.5-2 +- Rebuilt for Python 3.12 + +* Wed Mar 08 2023 Karolina Surma - 0.3.5-1 +- Update to 0.3.5 +Resolves: rhbz#2150911 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Oct 03 2022 Karolina Surma - 0.3.1-1 +- Update to 0.3.1 +Resolves: rhbz#2130161 + +* Fri Jul 22 2022 Fedora Release Engineering - 0.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jun 15 2022 Python Maint - 0.3.0-3 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Dec 06 2021 Karolina Surma - 0.3.0-1 +- Update to 0.3.0 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.2.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 0.2.8-2 +- Rebuilt for Python 3.10 + +* Thu May 13 2021 Karolina Surma - 0.2.8-1 +- Initial package. + +## END: Generated by rpmautospec