Name: | pyproject-rpm-macros |
---|---|
Version: | 1.9.0 |
Release: | 1.el9 |
Architecture: | noarch |
Group: | Unspecified |
Size: | 98276 |
License: | MIT |
RPM: | pyproject-rpm-macros-1.9.0-1.el9.noarch.rpm |
Source RPM: | pyproject-rpm-macros-1.9.0-1.el9.src.rpm |
Build Date: | Wed Oct 25 2023 |
Build Host: | build-ol9-x86_64.oracle.com |
Vendor: | Oracle America |
URL: | https://src.fedoraproject.org/rpms/pyproject-rpm-macros |
Summary: | RPM macros for PEP 517 Python packages |
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. |
- Allow passing config_settings to the build backend.
- On Python older than 3.11, use tomli instead of deprecated toml - Fix literal % handling in %{pyproject_files} on RPM 4.19
- Rebuilt for ELN dependency changes
- %pyproject_buildrequires: Add support for self-referential extras requirements - 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
- 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
- %pyproject_buildrequires: Avoid leaking stdout from subprocesses
- Add pyproject-srpm-macros with a minimal %pyproject_buildrequires macro
- Adjusts %pyproject_buildrequires tests for tox 4