From 0451d456962220caa833bd977eb044e6924c5730 Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Jan 20 2025 15:57:09 +0000 Subject: Update to 0.5 Related-to: https://review.rdoproject.org/r/q/Ia47921cbe9817fefc61e15b1b1074f8ae22584d0 --- diff --git a/.python-editables.metadata b/.python-editables.metadata new file mode 100644 index 0000000..886ef89 --- /dev/null +++ b/.python-editables.metadata @@ -0,0 +1 @@ +89d979f9c6ce02231877613fde5240f41e2dc041 SOURCES/editables-0.5.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-editables.spec b/SPECS/python-editables.spec new file mode 100644 index 0000000..36bae11 --- /dev/null +++ b/SPECS/python-editables.spec @@ -0,0 +1,125 @@ +Name: python-editables +Version: 0.5 +Release: 7%{?dist} +Summary: Editable installations + +# SPDX +License: MIT +URL: https://github.com/pfmoore/editables +# PyPI source distributions lack tests; use the GitHub archive +Source: %{url}/archive/%{version}/editables-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros + +# Most of the dependencies, and all of the pytest options, in tox.ini are for +# coverage analysis and for installation with pip/virtualenv. Rather than +# working around all of these, it is simpler not to use tox for dependency +# generation or testing. +BuildRequires: python3dist(pytest) + +%global common_description %{expand: +A Python library for creating “editable wheels” + +This library supports the building of wheels which, when installed, will expose +packages in a local directory on sys.path in “editable mode”. In other words, +changes to the package source will be reflected in the package visible to +Python, without needing a reinstall.} + +%description %{common_description} + + +%package -n python3-editables +Summary: %{summary} + +# Dropped in F41 +Obsoletes: python-editables-doc < 0.5-5 + +%description -n python3-editables %{common_description} + + +%prep +%autosetup -n editables-%{version} + + +%generate_buildrequires +%pyproject_buildrequires + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files editables + + +%check +%pytest + + +%files -n python3-editables -f %{pyproject_files} +%license LICENSE.txt +%doc CHANGELOG.md +%doc README.md + + +%changelog +* Fri Jul 19 2024 Fedora Release Engineering - 0.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 0.5-6 +- Rebuilt for Python 3.13 + +* Fri Mar 29 2024 Benjamin A. Beasley - 0.5-5 +- F41+: For simplicity, drop the -doc subpackage and PDF documentation + +* Fri Jan 26 2024 Fedora Release Engineering - 0.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Jul 25 2023 Benjamin A. Beasley - 0.5-1 +- Update to 0.5 (close RHBZ#2225249) + +* Fri Jul 21 2023 Fedora Release Engineering - 0.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jul 08 2023 Benjamin A. Beasley - 0.4-3 +- When we don’t build PDF docs, don’t build a -doc subpacakge at all + +* Fri Jul 07 2023 Yaakov Selkowitz - 0.4-2 +- Disable docs by default in RHEL builds + +* Thu Jul 06 2023 Benjamin A. Beasley - 0.4-1 +- Update to 0.4 (close RHBZ#2220948) +- Upstream switched from setuptools to flit_core: pyproject-rpm-macros no + longer handles LICENSE.txt + +* Thu Jul 06 2023 Benjamin A. Beasley - 0.3-8 +- Add a -doc subpackage with PDF documentations + +* Tue Jun 13 2023 Python Maint - 0.3-7 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Oct 22 2022 Benjamin A. Beasley - 0.3-4 +- Confirm License is SPDX MIT + +* Fri Jul 22 2022 Fedora Release Engineering - 0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.3-2 +- Rebuilt for Python 3.11 + +* Mon Apr 11 2022 Benjamin A. Beasley - 0.3-1 +- Update to 0.3 (close RHBZ#2073823) + +* Thu Feb 17 2022 Benjamin A. Beasley - 0.2.0-1 +- Initial package (close RHBZ#2050876)