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

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

From CentOS Stream 9 CRB for x86_64

Name: pyproject-rpm-macros Distribution: CentOS
Version: 1.2.0 Vendor: CentOS
Release: 1.el9 Build date: Fri May 6 14:43:03 2022
Group: Unspecified Build host: x86-04.stream.rdu2.redhat.com
Size: 88142 Source RPM: pyproject-rpm-macros-1.2.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

* 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
* Tue Jan 25 2022 Miro Hrončok <mhroncok@redhat.com> - 1.0.0~rc1-1
  - Release version 1.0.0, first release candidate
* Mon Jan 24 2022 Miro Hrončok <mhroncok@redhat.com> - 0-55
  - %pyproject_buildrequires: Generate BuildRequires for this package
    This package is already installed, but this way, the resulting SRPM explicitly BuildRequires it
* Wed Jan 19 2022 Karolina Surma <ksurma@redhat.com> - 0-54
  - Include compressed manpages to the package if flag '+auto' is provided to %pyproject_save_files
* Fri Jan 14 2022 Miro Hrončok <mhroncok@redhat.com> - 0-53
  - %pyproject_buildrequires: Make -r (include runtime) the default, use -R to opt-out
* Sun Dec 19 2021 Gordon Messmer <gordon.messmer@gmail.com> - 0-52
  - Handle legacy version specifiers that would previously raise exceptions.
* Wed Dec 08 2021 Miro Hrončok <mhroncok@redhat.com> - 0-51
  - Define provisional %pyproject_build_lib
* Mon Nov 01 2021 Gordon Messmer <gordon.messmer@gmail.com> - 0-50
  - Improve handling of > operator, preventing post-release from satisfying most rpm requirements
  - Improve handling of < operator, preventing pre-release from satisfying rpm requirement
  - Improve handling of != operator with prefix matching, preventing pre-release from satisfying rpm requirements
* Tue Oct 19 2021 Karolina Surma <ksurma@redhat.com> - 0-49
  - %pyproject_save_files: Save %_pyproject_modules file with importable module names
  - Introduce %pyproject_check_import which passes %_pyproject_modules to %py3_check_import
  - Introduce -t, -e filtering options to %pyproject_check_import
* Sat Oct 16 2021 Miro Hrončok <mhroncok@redhat.com> - 0-48
  - %pyproject_buildrequires: Accept installed pre-releases for all requirements
* Thu Sep 09 2021 Miro Hrončok <mhroncok@redhat.com> - 0-47
  - %pyproject_save_files: Expand the namespace error message, also display it with /
  - %pyproject_save_files: Add a workaround error for spaces and [brackets]
* Fri Jul 23 2021 Miro Hrončok <miro@hroncok.cz> - 0-46
  - %pyproject_buildrequires now fails when it encounters an invalid requirement
  - Rename %_pyproject_ghost_distinfo and %_pyproject_record to indicate they are private
  - Automatically detect LICENSE files and mark them with %license macro
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-45
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jul 09 2021 Python Maint <python-maint@redhat.com> - 0-44
  - Escape weird paths generated by %pyproject_save_files
  - Support x.* versions in %pyproject_buildrequires
  - %pyproject_buildrequires fallbacks to setuptools only if setup.py exists
  - Explicitly require the "basic" Python RPM macros
  - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
    Related: rhbz#1991688
* Thu Jul 01 2021 Tomas Hrnciar <thrnciar@redhat.com> - 0-43
  - Generate BuildRequires from file
* Tue Jun 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0-42
  - Don't accidentally treat "~= X.0" requirement as "~= X"
  - Fixes rhzb#1977060
* Mon Jun 28 2021 Miro Hrončok <mhroncok@redhat.com> - 0-41
  - Don't leak %{_pyproject_builddir} to pytest collection
* Thu May 27 2021 Miro Hrončok <mhroncok@redhat.com> - 0-40
  - Don't leak $TMPDIR outside of pyproject macros
  - Set %_pyproject_wheeldir and %_pyproject_builddir relative to the source tree, not $PWD
* Thu Apr 22 2021 Miro Hrončok <mhroncok@redhat.com> - 0-39.2
  - Handle tox provision (tox.requires / tox.minversion)
  - Generate BuildRequires on extras in lower case
  - Fixes: rhbz#1947074
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0-39.1
  - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Mon Mar 08 2021 Charalampos Stratakis <cstratak@redhat.com> - 0-38.1
  - Disable tests on RHEL9 to remove tox dependency
* Sun Feb 07 2021 Miro Hrončok <mhroncok@redhat.com> - 0-38
  - Include nested __pycache__ directories in %pyproject_save_files
  - Fixes: rhbz#1925963
* Tue Feb 02 2021 Miro Hrončok <mhroncok@redhat.com> - 0-37
  - Remove support for Python 3.7 from %pyproject_buildrequires
  - Generate python3dist(toml) BR with pyproject.toml earlier to avoid extra install round
  - Generate python3dist(setutpools/wheel) BR without pyproject.toml earlier as well
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-36
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jan 15 2021 Miro Hrončok <mhroncok@redhat.com> - 0-35
  - Update the description of the package to match the new README content
* Fri Dec 04 2020 Miro Hrončok <miro@hroncok.cz> - 0-34
  - List all files in %pyproject_files explicitly to avoid duplicate %lang entries
  - If you amend the installed files after %pyproject_install, %pyproject_files might break
* Fri Nov 27 2020 Miro Hrončok <mhroncok@redhat.com> - 0-33
  - Pass PYTHONDONTWRITEBYTECODE=1 to %tox to avoid packaged PYTEST bytecode
* Tue Nov 03 2020 Miro Hrončok <mhroncok@redhat.com> - 0-32
  - Allow multiple -e in %pyproject_buildrequires
  - Fixes: rhbz#1886509
* Mon Oct 05 2020 Miro Hrončok <mhroncok@redhat.com> - 0-31
  - Support PEP 517 list based backend-path
* Tue Sep 29 2020 Lumír Balhar <lbalhar@redhat.com> - 0-30
  - Process RECORD files in %pyproject_install and remove them
  - Support the extras configuration option of tox in %pyproject_buildrequires -t
  - Support multiple -x options for %pyproject_buildrequires
  - Fixes: rhbz#1877977
  - Fixes: rhbz#1877978
* Wed Sep 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0-29
  - Check the requirements after installing "requires_for_build_wheel"
  - If not checked, installing runtime requirements might fail
* Tue Sep 08 2020 Gordon Messmer <gordon.messmer@gmail.com> - 0-28
  - Support more Python version specifiers in generated BuildRequires
  - This adds support for the '~=' operator and wildcards
* Fri Sep 04 2020 Miro Hrončok <miro@hroncok.cz> - 0-27
  - Make code in $PWD importable from %pyproject_buildrequires
  - Only require toml for projects with pyproject.toml
  - Remove a no longer useful warning for unrecognized files in %pyproject_save_files
* Mon Aug 24 2020 Tomas Hrnciar <thrnciar@redhat.com> - 0-26
  - Implement automatic detection of %lang files in %pyproject_save_files
    and mark them with %lang in filelist
* Fri Aug 14 2020 Miro Hrončok <mhroncok@redhat.com> - 0-25
  - Handle Python Extras in %pyproject_buildrequires on Fedora 33+
* Tue Aug 11 2020 Miro Hrončok <mhroncok@redhat.com> - 0-24
  - Allow multiple, comma-separated extras in %pyproject_buildrequires -x
* Mon Aug 10 2020 Lumír Balhar <lbalhar@redhat.com> - 0-23
  - Make macros more universal for alternative Python stacks
* Thu Aug 06 2020 Tomas Hrnciar <thrnciar@redhat.com> - 0-22
  - Change %pyproject_save_files +bindir argument to +auto
    to list all unclassified files in filelist
* Tue Aug 04 2020 Miro Hrončok <mhroncok@redhat.com> - 0-21
  - Actually implement %pyproject_extras_subpkg
* Wed Jul 29 2020 Miro Hrončok <mhroncok@redhat.com> - 0-20
  - Implement %pyproject_extras_subpkg
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-19
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jul 16 2020 Miro Hrončok <mhroncok@redhat.com> - 0-18
  - %pyproject_buildrequires -x (extras requires for tests) now implies -r
    (runtime requires) instead of erroring without it for better UX.
* Wed Jul 15 2020 Miro Hrončok <mhroncok@redhat.com> - 0-17
  - Set HOSTNAME to prevent tox 3.17+ from a DNS query
  - Fixes rhbz#1856356
* Fri Jun 19 2020 Miro Hrončok <mhroncok@redhat.com> - 0-16
  - Switch from upstream deprecated pytoml to toml
* Thu May 07 2020 Tomas Hrnciar <thrnciar@redhat.com> - 0-15
  - Adapt %pyproject_install not to create a PEP 610 direct_url.json file

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, Tue Oct 29 07:46:58 2024