Name: | pyproject-rpm-macros |
---|---|
Version: | 0.1.8.0 |
Release: | 1.el8 |
Architecture: | noarch |
Group: | Unspecified |
Size: | 56147 |
License: | MIT |
RPM: | pyproject-rpm-macros-0.1.8.0-1.el8.noarch.rpm |
Source RPM: | pyproject-rpm-macros-0.1.8.0-1.el8.src.rpm |
Build Date: | Mon Nov 06 2023 |
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+. |
- 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
- %pyproject_buildrequires: Avoid leaking stdout from subprocesses - Fixes: rhbz#2166888
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
- Adjusts %pyproject_buildrequires tests for tox 4 - Fixes: rhbz#2160687
- Use %py3_test_envvars in %tox when available