Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

pyproject-rpm-macros-1.12.0-1.el9 RPM for noarch

From CentOS Stream 9 CRB for x86_64

Name: pyproject-rpm-macros Distribution: CentOS
Version: 1.12.0 Vendor: CentOS
Release: 1.el9 Build date: Tue Feb 6 10:54:32 2024
Group: Unspecified Build host: x86-01.stream.rdu2.redhat.com
Size: 101196 Source RPM: pyproject-rpm-macros-1.12.0-1.el9.src.rpm
Packager: builder@centos.org
Url: https://src.fedoraproject.org/rpms/pyproject-rpm-macros
Summary: RPM macros for PEP 517 Python packages
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.

Provides

Requires

License

MIT

Changelog

* Fri Jan 26 2024 Miro Hrončok <miro@hroncok.cz> - 1.12.0-1
  - 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
* Wed Sep 27 2023 Miro Hrončok <mhroncok@redhat.com> - 1.11.0-1
  - 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)
  - Prevent incorrect usage of %pyproject_buildrequires -R with -x/-e/-t
  - Fixes: rhbz#2244282
  - Show a better error message when %pyproject_install finds no wheel
  - Fixes: rhbz#2242452
  - Fix %pyproject_buildrequires -w when the build backend is already installed and pip isn't
  - Fixes: rhbz#2169855
* Wed Sep 13 2023 Python Maint <python-maint@redhat.com> - 1.10.0-1
  - Add %_pyproject_check_import_allow_no_modules for automated environments
  - Fix handling of tox 4 provision without an explicit tox minversion
  - Fixes: rhbz#2240590
* Wed May 31 2023 Maxwell G <maxwell@gtmx.me> - 1.9.0-1
  - Allow passing config_settings to the build backend.
* Wed May 31 2023 Miro Hrončok <mhroncok@redhat.com> - 1.8.1-1
  - On Python older than 3.11, use tomli instead of deprecated toml
  - Fix literal % handling in %{pyproject_files} on RPM 4.19
* Tue May 23 2023 Miro Hrončok <mhroncok@redhat.com> - 1.8.0-2
  - Rebuilt for ELN dependency changes
* Thu Apr 27 2023 Miro Hrončok <mhroncok@redhat.com> - 1.8.0-1
  - %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/
* Fri Mar 31 2023 Miro Hrončok <mhroncok@redhat.com> - 1.7.0-1
  - %pyproject_buildrequires: Redirect stdout to stderr via Shell
  - Dependencies are recorded to a text file that is catted at the end
* Mon Feb 13 2023 Lumír Balhar <lbalhar@redhat.com> - 1.6.3-1
  - Remove .dist-info directory at the end of %pyproject_buildrequires
  - An incomplete .dist-info directory in $PWD can confuse tests in %check
* Wed Feb 08 2023 Lumír Balhar <lbalhar@redhat.com> - 1.6.2-1
  - Improve detection of lang files
* Fri Feb 03 2023 Miro Hrončok <mhroncok@redhat.com> - 1.6.1-1
  - %pyproject_buildrequires: Avoid leaking stdout from subprocesses
* Fri Jan 20 2023 Miro Hrončok <miro@hroncok.cz> - 1.6.0-1
  - Add pyproject-srpm-macros with a minimal %pyproject_buildrequires macro
* Fri Jan 13 2023 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-1
  - Adjusts %pyproject_buildrequires tests for tox 4
* Mon Nov 28 2022 Miro Hrončok <mhroncok@redhat.com> - 1.5.0-1
  - Use %py3_test_envvars in %tox when available
* Mon Sep 19 2022 Python Maint <python-maint@redhat.com> - 1.4.0-1
  - %pyproject_save_files: Support License-Files installed into the *Root License Directory* from PEP 639
  
  - %pyproject_check_import: Import only the modules whose top-level names
    match any of the globs provided to %pyproject_save_files
* Tue Aug 30 2022 Otto Liljalaakso <otto.liljalaakso@iki.fi> - 1.3.4-1
  - Fix typo in internal function name
* Tue Aug 09 2022 Karolina Surma <ksurma@redhat.com> - 1.3.3-1
  - Don't fail %pyproject_save_files '*' if no modules are detected
* Wed Jun 15 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.3.2-1
  - 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
* Fri May 27 2022 Owen Taylor <otaylor@redhat.com> - 1.3.1-1
  - %pyproject_install: pass %{_prefix} explicitly to pip install
* Thu May 12 2022 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-1
  - Use tomllib from the standard library on Python 3.11+
* Wed Apr 27 2022 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-1
  - %pyproject_buildrequires: Add provisional -w flag for build backends without
    prepare_metadata_for_build_wheel hook
    When used, the wheel is built in %pyproject_buildrequires
    and information about runtime requires and extras is read from that wheel.
* Tue Apr 12 2022 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-1
  - %pyproject_save_files: Support nested directories in dist-info
* Tue Mar 22 2022 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-1
  - Prefix paths of intermediate files (such as %{pyproject_files}) with NVRA
* Tue Mar 01 2022 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-1
  - Release final version 1.0.0
* Mon Feb 07 2022 Lumír Balhar <lbalhar@redhat.com> - 1.0.0~rc2-1
  - Updated compatibility with tox4

Files

/usr/lib/rpm/macros.d/macros.pyproject
/usr/lib/rpm/redhat/pyproject_buildrequires.py
/usr/lib/rpm/redhat/pyproject_construct_toxenv.py
/usr/lib/rpm/redhat/pyproject_convert.py
/usr/lib/rpm/redhat/pyproject_preprocess_record.py
/usr/lib/rpm/redhat/pyproject_requirements_txt.py
/usr/lib/rpm/redhat/pyproject_save_files.py
/usr/lib/rpm/redhat/pyproject_wheel.py
/usr/share/doc/pyproject-rpm-macros
/usr/share/doc/pyproject-rpm-macros/README.md
/usr/share/licenses/pyproject-rpm-macros
/usr/share/licenses/pyproject-rpm-macros/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Wed Apr 24 05:32:51 2024