| Name: | pyproject-rpm-macros |
|---|---|
| Version: | 1.6.2 |
| Release: | 1.el9 |
| Architecture: | noarch |
| Group: | Unspecified |
| Size: | 95295 |
| License: | MIT |
| RPM: | pyproject-rpm-macros-1.6.2-1.el9.noarch.rpm |
| Source RPM: | pyproject-rpm-macros-1.6.2-1.el9.src.rpm |
| Build Date: | Sat Apr 01 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. |
- 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
- Use %py3_test_envvars in %tox when available
- %pyproject_save_files: Support License-Files installed into the *Root License Directory* from PEP 369 - %pyproject_check_import: Import only the modules whose top-level names match any of the globs provided to %pyproject_save_files
- Fix typo in internal function name
- Don't fail %pyproject_save_files '*' if no modules are detected
- Update %pyproject_build_lib to support setuptools 62.1.0 and later - %pyproject_buildrequires: When extension modules are built, support https://fedoraproject.org/wiki/Changes/Package_information_on_ELF_objects
- %pyproject_install: pass %{_prefix} explicitly to pip install