support for building on opensuse
This commit is contained in:
parent
fa7c91c65d
commit
9169cddb39
345
pyproject-rpm-macros.changes
Normal file
345
pyproject-rpm-macros.changes
Normal file
@ -0,0 +1,345 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 21 11:01:14 UTC 2024 - Luna D Dragon <luna.dragon@suse.com>
|
||||||
|
|
||||||
|
- imported package from fedora for opensuse
|
||||||
|
- fedora change log:
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed May 31 2023 Maxwell G <maxwell@gtmx.me> - 1.9.0-1
|
||||||
|
- Allow passing config_settings to the build backend.
|
||||||
|
- Resolves: rhbz#2192581
|
||||||
|
|
||||||
|
* 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
|
||||||
|
Fixes: rhbz#2171343
|
||||||
|
- 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
|
||||||
|
- Fixes: rhbz#2183519
|
||||||
|
|
||||||
|
* 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
|
||||||
|
- Fixes: rhbz#2166295
|
||||||
|
|
||||||
|
* Fri Feb 03 2023 Miro Hrončok <mhroncok@redhat.com> - 1.6.1-1
|
||||||
|
- %%pyproject_buildrequires: Avoid leaking stdout from subprocesses
|
||||||
|
- Fixes: rhbz#2166888
|
||||||
|
|
||||||
|
* 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 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 13 2023 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-1
|
||||||
|
- Adjusts %%pyproject_buildrequires tests for tox 4
|
||||||
|
- Fixes: rhbz#2160687
|
||||||
|
|
||||||
|
* 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
|
||||||
|
- Fixes: rhbz#2127946
|
||||||
|
- %%pyproject_check_import: Import only the modules whose top-level names
|
||||||
|
match any of the globs provided to %%pyproject_save_files
|
||||||
|
- Fixes: rhbz#2127958
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* 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
|
||||||
|
- Fixes: rhbz#2097158
|
||||||
|
- %%pyproject_buildrequires: When extension modules are built,
|
||||||
|
support https://fedoraproject.org/wiki/Changes/Package_information_on_ELF_objects
|
||||||
|
- Fixes: rhbz#2097535
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
- Fixes: rhbz#2076994
|
||||||
|
|
||||||
|
* Tue Apr 12 2022 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-1
|
||||||
|
- %%pyproject_save_files: Support nested directories in dist-info
|
||||||
|
- Fixes: rhbz#1985340
|
||||||
|
|
||||||
|
* 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
|
||||||
|
- Fixes: rhbz#2033254
|
||||||
|
|
||||||
|
* 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 1 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
|
||||||
|
- Fixes: rhbz#2014639
|
||||||
|
|
||||||
|
* 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
|
||||||
|
- Fixes: rhbz#1983053
|
||||||
|
- 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
|
||||||
|
- Fixes rhbz#1976363
|
||||||
|
- Support x.* versions in %%pyproject_buildrequires
|
||||||
|
- Fixes rhbz#1981558
|
||||||
|
- %%pyproject_buildrequires fallbacks to setuptools only if setup.py exists
|
||||||
|
- Fixes: rhbz#1976459
|
||||||
|
- Explicitly require the "basic" Python RPM macros
|
||||||
|
|
||||||
|
* Thu Jul 01 2021 Tomas Hrnciar <thrnciar@redhat.com> - 0-43
|
||||||
|
- Generate BuildRequires from file
|
||||||
|
- Fixes: rhbz#1936448
|
||||||
|
|
||||||
|
* Tue Jun 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0-42
|
||||||
|
- Don't accidentally treat "~= X.0" requirement as "~= X"
|
||||||
|
- Fixes rhbz#1977060
|
||||||
|
|
||||||
|
* Mon Jun 28 2021 Miro Hrončok <mhroncok@redhat.com> - 0-41
|
||||||
|
- Don't leak %%{_pyproject_builddir} to pytest collection
|
||||||
|
- Fixes rhbz#1935212
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Mon Mar 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0-39
|
||||||
|
- Handle tox provision (tox.requires / tox.minversion)
|
||||||
|
- Fixes: rhbz#1922495
|
||||||
|
- Generate BuildRequires on extras in lower case
|
||||||
|
- Fixes: rhbz#1937944
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Wed Apr 15 2020 Patrik Kopkan <pkopkan@redhat.com> - 0-14
|
||||||
|
- Add %%pyproject_save_file macro for generating file section
|
||||||
|
- Handle extracting debuginfo from extension modules (#1806625)
|
||||||
|
|
||||||
|
* Mon Mar 02 2020 Miro Hrončok <mhroncok@redhat.com> - 0-13
|
||||||
|
- Tox dependency generator: Handle deps read in from a text file (#1808601)
|
||||||
|
|
||||||
|
* Wed Feb 05 2020 Miro Hrončok <mhroncok@redhat.com> - 0-12
|
||||||
|
- Fallback to setuptools.build_meta:__legacy__ backend instead of setuptools.build_meta
|
||||||
|
- Properly handle backends with colon
|
||||||
|
- Preserve existing flags in shebangs of Python files in /usr/bin
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Nov 15 2019 Patrik Kopkan <pkopkan@redhat.com> - 0-10
|
||||||
|
- Install wheel in '$PWD/pyproject-macros-wheeldir' to have more explicit path from which we install.
|
||||||
|
- The path can be changed by redefining %%_pyproject_wheeldir.
|
||||||
|
|
||||||
|
* Wed Nov 13 2019 Anna Khaitovich <akhaitov@redhat.com> - 0-9
|
||||||
|
- Remove stray __pycache__ directory from /usr/bin when running %%pyproject_install
|
||||||
|
|
||||||
|
* Fri Oct 25 2019 Miro Hrončok <mhroncok@redhat.com> - 0-8
|
||||||
|
- When tox fails, print tox output before failing
|
||||||
|
|
||||||
|
* Tue Oct 08 2019 Miro Hrončok <mhroncok@redhat.com> - 0-7
|
||||||
|
- Move a verbose line of %%pyproject_buildrequires from stdout to stderr
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Petr Viktorin <pviktori@redhat.com> - 0-6
|
||||||
|
- Use importlib_metadata rather than pip freeze
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Miro Hrončok <mhroncok@redhat.com> - 0-5
|
||||||
|
- Allow to fetch test dependencies from tox
|
||||||
|
- Add %%tox macro to invoke tests
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 02 2019 Miro Hrončok <mhroncok@redhat.com> - 0-3
|
||||||
|
- Add %%pyproject_buildrequires
|
||||||
|
|
||||||
|
* Tue Jul 02 2019 Miro Hrončok <mhroncok@redhat.com> - 0-2
|
||||||
|
- Fix shell syntax errors in %%pyproject_install
|
||||||
|
- Drop PATH warning in %%pyproject_install
|
||||||
|
|
||||||
|
* Fri Jun 28 2019 Patrik Kopkan <pkopkan@redhat.com> - 0-1
|
||||||
|
- created package
|
@ -49,27 +49,25 @@ URL: https://src.fedoraproject.org/rpms/pyproject-rpm-macros
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: python3dist(pytest)
|
BuildRequires: %{python_module pytest}
|
||||||
%if %{with pytest_xdist}
|
%if %{with pytest_xdist}
|
||||||
BuildRequires: python3dist(pytest-xdist)
|
BuildRequires: %{python_module pytest-xdist}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: python3dist(pyyaml)
|
BuildRequires: %{python_module PyYAML}
|
||||||
BuildRequires: python3dist(packaging)
|
BuildRequires: %{python_module packaging}
|
||||||
BuildRequires: python3dist(pip)
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: python3dist(setuptools)
|
BuildRequires: %{python_module setuptools}
|
||||||
%if %{with tox_tests}
|
%if %{with tox_tests}
|
||||||
BuildRequires: python3dist(tox-current-env) >= 0.0.6
|
BuildRequires: %{python_module tox-current-env}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: python3dist(wheel)
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: (python3dist(tomli) if python3 < 3.11)
|
BuildRequires: %{python_module tomli}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# We build on top of those:
|
# We build on top of those:
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-srpm-macros
|
|
||||||
BuildRequires: python3-rpm-macros
|
BuildRequires: python3-rpm-macros
|
||||||
Requires: python-rpm-macros
|
Requires: python-rpm-macros
|
||||||
Requires: python-srpm-macros
|
|
||||||
Requires: python3-rpm-macros
|
Requires: python3-rpm-macros
|
||||||
Requires: (pyproject-srpm-macros = %{?epoch:%{epoch}:}%{version}-%{release} if pyproject-srpm-macros)
|
Requires: (pyproject-srpm-macros = %{?epoch:%{epoch}:}%{version}-%{release} if pyproject-srpm-macros)
|
||||||
|
|
||||||
@ -124,16 +122,16 @@ cp -p %{sources} .
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_rpmmacrodir}
|
mkdir -p %{buildroot}%{_rpmmacrodir}
|
||||||
mkdir -p %{buildroot}%{_rpmconfigdir}/redhat
|
mkdir -p %{buildroot}%{_rpmconfigdir}/suse
|
||||||
install -pm 644 macros.pyproject %{buildroot}%{_rpmmacrodir}/
|
install -pm 644 macros.pyproject %{buildroot}%{_rpmmacrodir}/
|
||||||
install -pm 644 macros.aaa-pyproject-srpm %{buildroot}%{_rpmmacrodir}/
|
install -pm 644 macros.aaa-pyproject-srpm %{buildroot}%{_rpmmacrodir}/
|
||||||
install -pm 644 pyproject_buildrequires.py %{buildroot}%{_rpmconfigdir}/redhat/
|
install -pm 644 pyproject_buildrequires.py %{buildroot}%{_rpmconfigdir}/suse/
|
||||||
install -pm 644 pyproject_convert.py %{buildroot}%{_rpmconfigdir}/redhat/
|
install -pm 644 pyproject_convert.py %{buildroot}%{_rpmconfigdir}/suse/
|
||||||
install -pm 644 pyproject_save_files.py %{buildroot}%{_rpmconfigdir}/redhat/
|
install -pm 644 pyproject_save_files.py %{buildroot}%{_rpmconfigdir}/suse/
|
||||||
install -pm 644 pyproject_preprocess_record.py %{buildroot}%{_rpmconfigdir}/redhat/
|
install -pm 644 pyproject_preprocess_record.py %{buildroot}%{_rpmconfigdir}/suse/
|
||||||
install -pm 644 pyproject_construct_toxenv.py %{buildroot}%{_rpmconfigdir}/redhat/
|
install -pm 644 pyproject_construct_toxenv.py %{buildroot}%{_rpmconfigdir}/suse/
|
||||||
install -pm 644 pyproject_requirements_txt.py %{buildroot}%{_rpmconfigdir}/redhat/
|
install -pm 644 pyproject_requirements_txt.py %{buildroot}%{_rpmconfigdir}/suse/
|
||||||
install -pm 644 pyproject_wheel.py %{buildroot}%{_rpmconfigdir}/redhat/
|
install -pm 644 pyproject_wheel.py %{buildroot}%{_rpmconfigdir}/suse/
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# assert the two signatures of %%pyproject_buildrequires match exactly
|
# assert the two signatures of %%pyproject_buildrequires match exactly
|
||||||
@ -147,20 +145,19 @@ test "$signature1" != ""
|
|||||||
export HOSTNAME="rpmbuild" # to speedup tox in network-less mock, see rhbz#1856356
|
export HOSTNAME="rpmbuild" # to speedup tox in network-less mock, see rhbz#1856356
|
||||||
%pytest -vv --doctest-modules %{?with_pytest_xdist:-n auto} %{!?with_tox_tests:-k "not tox"}
|
%pytest -vv --doctest-modules %{?with_pytest_xdist:-n auto} %{!?with_tox_tests:-k "not tox"}
|
||||||
|
|
||||||
# brp-compress is provided as an argument to get the right directory macro expansion
|
|
||||||
%{python3} compare_mandata.py -f %{_rpmconfigdir}/brp-compress
|
%{python3} compare_mandata.py -f %{_rpmconfigdir}/brp-compress
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_rpmmacrodir}/macros.pyproject
|
%{_rpmmacrodir}/macros.pyproject
|
||||||
%{_rpmconfigdir}/redhat/pyproject_buildrequires.py
|
%{_rpmconfigdir}/suse/pyproject_buildrequires.py
|
||||||
%{_rpmconfigdir}/redhat/pyproject_convert.py
|
%{_rpmconfigdir}/suse/pyproject_convert.py
|
||||||
%{_rpmconfigdir}/redhat/pyproject_save_files.py
|
%{_rpmconfigdir}/suse/pyproject_save_files.py
|
||||||
%{_rpmconfigdir}/redhat/pyproject_preprocess_record.py
|
%{_rpmconfigdir}/suse/pyproject_preprocess_record.py
|
||||||
%{_rpmconfigdir}/redhat/pyproject_construct_toxenv.py
|
%{_rpmconfigdir}/suse/pyproject_construct_toxenv.py
|
||||||
%{_rpmconfigdir}/redhat/pyproject_requirements_txt.py
|
%{_rpmconfigdir}/suse/pyproject_requirements_txt.py
|
||||||
%{_rpmconfigdir}/redhat/pyproject_wheel.py
|
%{_rpmconfigdir}/suse/pyproject_wheel.py
|
||||||
|
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -170,344 +167,4 @@ export HOSTNAME="rpmbuild" # to speedup tox in network-less mock, see rhbz#1856
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
|
||||||
|
|
||||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed May 31 2023 Maxwell G <maxwell@gtmx.me> - 1.9.0-1
|
|
||||||
- Allow passing config_settings to the build backend.
|
|
||||||
- Resolves: rhbz#2192581
|
|
||||||
|
|
||||||
* 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
|
|
||||||
Fixes: rhbz#2171343
|
|
||||||
- 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
|
|
||||||
- Fixes: rhbz#2183519
|
|
||||||
|
|
||||||
* 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
|
|
||||||
- Fixes: rhbz#2166295
|
|
||||||
|
|
||||||
* Fri Feb 03 2023 Miro Hrončok <mhroncok@redhat.com> - 1.6.1-1
|
|
||||||
- %%pyproject_buildrequires: Avoid leaking stdout from subprocesses
|
|
||||||
- Fixes: rhbz#2166888
|
|
||||||
|
|
||||||
* 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 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 13 2023 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-1
|
|
||||||
- Adjusts %%pyproject_buildrequires tests for tox 4
|
|
||||||
- Fixes: rhbz#2160687
|
|
||||||
|
|
||||||
* 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
|
|
||||||
- Fixes: rhbz#2127946
|
|
||||||
- %%pyproject_check_import: Import only the modules whose top-level names
|
|
||||||
match any of the globs provided to %%pyproject_save_files
|
|
||||||
- Fixes: rhbz#2127958
|
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* 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
|
|
||||||
- Fixes: rhbz#2097158
|
|
||||||
- %%pyproject_buildrequires: When extension modules are built,
|
|
||||||
support https://fedoraproject.org/wiki/Changes/Package_information_on_ELF_objects
|
|
||||||
- Fixes: rhbz#2097535
|
|
||||||
|
|
||||||
* 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.
|
|
||||||
- Fixes: rhbz#2076994
|
|
||||||
|
|
||||||
* Tue Apr 12 2022 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-1
|
|
||||||
- %%pyproject_save_files: Support nested directories in dist-info
|
|
||||||
- Fixes: rhbz#1985340
|
|
||||||
|
|
||||||
* 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
|
|
||||||
- Fixes: rhbz#2033254
|
|
||||||
|
|
||||||
* 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 1 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
|
|
||||||
- Fixes: rhbz#2014639
|
|
||||||
|
|
||||||
* 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
|
|
||||||
- Fixes: rhbz#1983053
|
|
||||||
- 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
|
|
||||||
- Fixes rhbz#1976363
|
|
||||||
- Support x.* versions in %%pyproject_buildrequires
|
|
||||||
- Fixes rhbz#1981558
|
|
||||||
- %%pyproject_buildrequires fallbacks to setuptools only if setup.py exists
|
|
||||||
- Fixes: rhbz#1976459
|
|
||||||
- Explicitly require the "basic" Python RPM macros
|
|
||||||
|
|
||||||
* Thu Jul 01 2021 Tomas Hrnciar <thrnciar@redhat.com> - 0-43
|
|
||||||
- Generate BuildRequires from file
|
|
||||||
- Fixes: rhbz#1936448
|
|
||||||
|
|
||||||
* Tue Jun 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0-42
|
|
||||||
- Don't accidentally treat "~= X.0" requirement as "~= X"
|
|
||||||
- Fixes rhbz#1977060
|
|
||||||
|
|
||||||
* Mon Jun 28 2021 Miro Hrončok <mhroncok@redhat.com> - 0-41
|
|
||||||
- Don't leak %%{_pyproject_builddir} to pytest collection
|
|
||||||
- Fixes rhbz#1935212
|
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* Mon Mar 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0-39
|
|
||||||
- Handle tox provision (tox.requires / tox.minversion)
|
|
||||||
- Fixes: rhbz#1922495
|
|
||||||
- Generate BuildRequires on extras in lower case
|
|
||||||
- Fixes: rhbz#1937944
|
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* Wed Apr 15 2020 Patrik Kopkan <pkopkan@redhat.com> - 0-14
|
|
||||||
- Add %%pyproject_save_file macro for generating file section
|
|
||||||
- Handle extracting debuginfo from extension modules (#1806625)
|
|
||||||
|
|
||||||
* Mon Mar 02 2020 Miro Hrončok <mhroncok@redhat.com> - 0-13
|
|
||||||
- Tox dependency generator: Handle deps read in from a text file (#1808601)
|
|
||||||
|
|
||||||
* Wed Feb 05 2020 Miro Hrončok <mhroncok@redhat.com> - 0-12
|
|
||||||
- Fallback to setuptools.build_meta:__legacy__ backend instead of setuptools.build_meta
|
|
||||||
- Properly handle backends with colon
|
|
||||||
- Preserve existing flags in shebangs of Python files in /usr/bin
|
|
||||||
|
|
||||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-11
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Nov 15 2019 Patrik Kopkan <pkopkan@redhat.com> - 0-10
|
|
||||||
- Install wheel in '$PWD/pyproject-macros-wheeldir' to have more explicit path from which we install.
|
|
||||||
- The path can be changed by redefining %%_pyproject_wheeldir.
|
|
||||||
|
|
||||||
* Wed Nov 13 2019 Anna Khaitovich <akhaitov@redhat.com> - 0-9
|
|
||||||
- Remove stray __pycache__ directory from /usr/bin when running %%pyproject_install
|
|
||||||
|
|
||||||
* Fri Oct 25 2019 Miro Hrončok <mhroncok@redhat.com> - 0-8
|
|
||||||
- When tox fails, print tox output before failing
|
|
||||||
|
|
||||||
* Tue Oct 08 2019 Miro Hrončok <mhroncok@redhat.com> - 0-7
|
|
||||||
- Move a verbose line of %%pyproject_buildrequires from stdout to stderr
|
|
||||||
|
|
||||||
* Fri Jul 26 2019 Petr Viktorin <pviktori@redhat.com> - 0-6
|
|
||||||
- Use importlib_metadata rather than pip freeze
|
|
||||||
|
|
||||||
* Fri Jul 26 2019 Miro Hrončok <mhroncok@redhat.com> - 0-5
|
|
||||||
- Allow to fetch test dependencies from tox
|
|
||||||
- Add %%tox macro to invoke tests
|
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jul 02 2019 Miro Hrončok <mhroncok@redhat.com> - 0-3
|
|
||||||
- Add %%pyproject_buildrequires
|
|
||||||
|
|
||||||
* Tue Jul 02 2019 Miro Hrončok <mhroncok@redhat.com> - 0-2
|
|
||||||
- Fix shell syntax errors in %%pyproject_install
|
|
||||||
- Drop PATH warning in %%pyproject_install
|
|
||||||
|
|
||||||
* Fri Jun 28 2019 Patrik Kopkan <pkopkan@redhat.com> - 0-1
|
|
||||||
- created package
|
|
Loading…
Reference in New Issue
Block a user