commit d6856f323117fe018ca528e3b5ddba31dbd009d3 Author: tigro Date: Sat Jan 4 15:26:44 2025 +0300 import python-uc-micro-py-1.0.3-3.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d93f15f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/uc.micro-py-1.0.3.tar.gz diff --git a/.python-uc-micro-py.metadata b/.python-uc-micro-py.metadata new file mode 100644 index 0000000..8f6240f --- /dev/null +++ b/.python-uc-micro-py.metadata @@ -0,0 +1 @@ +a76266e9348467aeff165a0ccf839dce8f603191 SOURCES/uc.micro-py-1.0.3.tar.gz diff --git a/SOURCES/0001-pyproject.toml.patch b/SOURCES/0001-pyproject.toml.patch new file mode 100644 index 0000000..5f1e1dd --- /dev/null +++ b/SOURCES/0001-pyproject.toml.patch @@ -0,0 +1,11 @@ +--- uc.micro-py-1.0.3/pyproject.toml.orig 2024-11-21 07:55:47.093163826 -0500 ++++ uc.micro-py-1.0.3/pyproject.toml 2024-11-21 07:56:09.744774553 -0500 +@@ -27,7 +27,7 @@ + dynamic = ["version"] + + [project.optional-dependencies] +-test = ["pytest", "coverage", "pytest-cov"] ++test = ["pytest", "coverage"] + + [tool.setuptools.packages.find] + include = ["uc_micro*"] diff --git a/SPECS/python-uc-micro-py.spec b/SPECS/python-uc-micro-py.spec new file mode 100644 index 0000000..4e1624f --- /dev/null +++ b/SPECS/python-uc-micro-py.spec @@ -0,0 +1,80 @@ +Name: python-uc-micro-py +Version: 1.0.3 +Release: 3%{?dist} +Summary: Micro subset of Unicode data files for linkify-it.py projects + +License: MIT +URL: https://github.com/tsutsu3/uc.micro-py +VCS: git:%{url}.git +Source: %{url}/archive/v%{version}/uc.micro-py-%{version}.tar.gz +Patch0001: 0001-pyproject.toml.patch + +BuildArch: noarch +BuildRequires: python3-devel + +%global _description %{expand: +Micro subset of Unicode data files for linkify-it.py projects. This is +a Python port of uc.micro (https://github.com/markdown-it/uc.micro).} + +%description %_description + +%package -n python3-uc-micro-py +Summary: Micro subset of Unicode data files for linkify-it.py projects + +%description -n python3-uc-micro-py %_description + +%prep +%autosetup -n uc.micro-py-%{version} + +%generate_buildrequires +%pyproject_buildrequires -x test + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files uc_micro + +%check +%pytest + +%files -n python3-uc-micro-py -f %{pyproject_files} +%doc CHANGELOG.md README.md + +%changelog +* Sat Jan 04 2025 Arkady L. Shane - 1.0.3-3 +- Rebuilt for MSVSphere 10 + +* Fri Jul 19 2024 Fedora Release Engineering - 1.0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 1.0.3-2 +- Rebuilt for Python 3.13 + +* Fri Feb 9 2024 Jerry James - 1.0.3-1 +- Version 1.0.3 + +* Fri Jan 26 2024 Fedora Release Engineering - 1.0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 1.0.2-2 +- Rebuilt for Python 3.12 + +* Tue May 2 2023 Jerry James - 1.0.2-1 +- Version 1.0.2 + +* Thu Feb 23 2023 Jerry James - 1.0.1-2 +- Dynamically generate BuildRequires + +* Fri Jan 20 2023 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Aug 25 2022 Jerry James - 1.0.1-1 +- Initial RPM