Name: | pyproject-rpm-macros |
---|---|
Version: | 0.1.12.0 |
Release: | 1.el8 |
Architecture: | noarch |
Group: | Unspecified |
Size: | 58614 |
License: | MIT |
RPM: | pyproject-rpm-macros-0.1.12.0-1.el8.noarch.rpm |
Source RPM: | pyproject-rpm-macros-0.1.12.0-1.el8.src.rpm |
Build Date: | Thu Jun 13 2024 |
Build Host: | build-ol8-x86_64.oracle.com |
Vendor: | Oracle America |
URL: | https://src.fedoraproject.org/rpms/pyproject-rpm-macros |
Summary: | RPM macros for PEP 517 Python packages (minimal) |
Description: | These macros allow projects that follow the Python packaging specifications to be packaged as RPMs. They work for: * traditional Setuptools-based projects that use the setup.py file, * newer Setuptools-based projects that have a setup.cfg file, * general Python projects that use the PEP 517 pyproject.toml file (which allows using any build system, such as setuptools, flit or poetry). These macros replace %py3_build and %py3_install, which only work with setup.py. This is a slimmed down version of the macros that are available in Fedora, in order to be compatible with el8's RPM version. Notably, %tox and %pyproject_buildrequires are absent, so buildrequirements must be manually specified. It is only compatible with python38+. |
- Namespace pyproject-rpm-macros generated text files with %{python3_pkgversion} - That way, a single-spec can be used to build packages for multiple Python versions - Fixes: rhbz#2209055
- Add the -l/-L flag to %pyproject_save_files - The -l flag can be used to assert at least 1 License-File was detected - The -L flag explicitly disables this check (which remains the default) - Show a better error message when %pyproject_install finds no wheel - Fixes: rhbz#2242452
- Add %_pyproject_check_import_allow_no_modules for automated environments
- Add Python 3.12 RPM dependencies
- Initial stripped down macros for epel8
- Rebuilt for ELN dependency changes
- %pyproject_buildrequires: Add support for self-referential extras requirements Fixes: rhbz#2171343 - Deprecate the provisional %{pyproject_build_lib} macro See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/HMLOPAU3RZLXD4BOJHTIPKI3I4U6U7OE/
- %pyproject_buildrequires: Redirect stdout to stderr via Shell - Dependencies are recorded to a text file that is catted at the end - Fixes: rhbz#2183519
- Remove .dist-info directory at the end of %pyproject_buildrequires - An incomplete .dist-info directory in $PWD can confuse tests in %check
- Improve detection of lang files - Fixes: rhbz#2166295