Miro Hrončok
4669de1250
Add a provisional RPM Declarative Buildsystem (RPM 4.20+)
...
(cherry picked from commit e7b37d02f8
)
2024-11-14 17:16:04 +01:00
Miro Hrončok
1bcb45eb11
Properly escape weird characters from paths in %{pyproject_files} (RPM 4.19+ only)
...
(cherry picked from commit 6d455af4dc
)
2024-11-14 17:15:49 +01:00
Miro Hrončok
345517d213
Run tests with Python 3.12 in %check (RHEL 9 specific)
...
Also, add a Python 3.12 CI job (isort_c9s already contains that as well).
Resolves: RHEL-22803
2024-01-26 11:48:54 +01:00
Miro Hrončok
29eb590e45
Namespace pyproject-rpm-macros generated text files with %{python3_pkgversion}
2024-01-26 11:36:24 +01:00
Miro Hrončok
ab6c5538e5
CI: Run a build of pyproject-rpm-macros.spec --with tox_tests (RHEL 9 specific)
...
Related: rhbz#2208971
2023-06-01 21:24:22 +02:00
Miro Hrončok
e8933acb12
CI: Run a couple of Python 3.11 builds (RHEL 9 specific)
...
Related: rhbz#2208971
2023-06-01 21:24:22 +02:00
7f75263357
Allow passing config_settings to the build backend
...
Related: rhbz#2208971
2023-05-31 21:37:01 +02:00
Miro Hrončok
d5a5919a27
Fix literal % handling in %{pyproject_files} on RPM 4.19
...
RPM 4.19 now requires 2 %s to escape a single literal % in the filelist.
The test has been adjusted to actually run our code
instead of only verifying the assumptions.
Related: rhbz#2208971
2023-05-31 18:21:18 +02:00
Lumir Balhar
e828b8291a
Remove .dist-info directory at the end of %pyproject_buildrequires
...
An incomplete .dist-info directory in $PWD can confuse tests in %check.
For example, virtualenv uses importlib.metadata to load its
entry points and it does not work when it finds a virtualenv...dist-info without them.
Related: rhbz#2208971
2023-05-30 10:37:26 +02:00
Miro Hrončok
d46b0e5b01
CI: Unskip 1 skipped package and update comments for the remaining 2
...
Packages were introduced to EPEL9 in the meantime.
Related: rhbz#2168193
2023-02-13 16:42:58 +01:00
Miro Hrončok
d7bc2a357f
%pyproject_save_files: Support nested directories in dist-info
...
Related: rhbz#2060109
2022-05-06 12:19:08 +02:00
Miro Hrončok
44772c3c74
CI: Install EPEL packages via full URL to support running tests on real RHEL
...
Resolves: rhbz#2065590
2022-03-23 16:46:15 +01:00
Miro Hrončok
3e4bfeffd8
CI: Skip some tests that would be to useless with reduced dependencies
...
Resolves: rhbz#2065590
2022-03-18 10:50:33 +01:00
Miro Hrončok
76dc49fd1e
CI: Enable EPEL Next
...
The ansible thing that installs packages does that one by one.
Hence, the assumption is that by installing epel-next-release first,
mock should be available next.
Resolves: rhbz#2065590
2022-03-18 10:50:16 +01:00
Karolina Surma
2be56ab379
Include compressed manpages correctly in the RPM package
...
Compressed manpages have different extension than those listed in the RECORD file,
so they were not recognized when %%pyproject_save_files '+auto' flag
was provided.
To enable the path recognition, if the manpage extension matches the one
listed in brp-compres, the extension is removed, and an asterisk is now added
to the manpages filenames.
Source: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_manpages
Related: rhbz#1950291
2022-01-26 11:44:41 +01:00
Miro Hrončok
5513c410bf
Define provisional %pyproject_build_lib
...
Related: rhbz#1950291
2022-01-26 11:35:49 +01:00
Miro Hrončok
be3e9d3b71
Escape weird paths generated by %pyproject_save_files
...
Related: rhbz#1950291
2021-08-10 10:51:23 +02:00
Tomas Hrnciar
aac0af8401
Generate BuildRequires from file
...
%pyproject_buildrequires macro now accepts multiple file names to load
additional dependencies from them.
New option -N was added to disable automatical generation of requirements
in case package does not use build system. Option -N cannot be used in
combination with options -r, -e, -t, -x.
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
Related: rhbz#1950291
2021-07-09 17:30:46 +02:00
Miro Hrončok
9c60342738
Avoid leaking %{_pyproject_builddir} to pytest collection
...
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1935212
Requires a %pytest change: https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/102
Related: rhbz#1950291
2021-06-30 13:08:48 +02:00
Miro Hrončok
18de094680
Cleanup the tests (and docs) for Fedora 32 EOL
...
Related: rhbz#1950291
2021-05-28 15:23:29 +02:00
DistroBaker
795a9b3332
Merged update from upstream sources
...
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.
Source: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git#26bb3cb4d123a7f57df5ec56b17ccbf3d415c505
2021-02-04 13:32:12 +00:00
DistroBaker
5919cec39c
Merged update from upstream sources
...
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.
Source: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git#6a8d86ed709871dc99fda2a02fb9e21d362c637e
2020-12-04 19:01:54 +01:00
Troy Dawson
bdcdcffab9
RHEL 9.0.0 Alpha bootstrap
...
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/pyproject-rpm-macros#38ef5fb85baa8d9529853c325ddd5e3fb2ec08a7
2020-11-16 15:10:26 -08:00
DistroBaker
a2bd1e357d
Merged update from upstream sources
...
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.
Source: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git#6a8d86ed709871dc99fda2a02fb9e21d362c637e
2020-11-04 23:27:14 +01:00
Troy Dawson
89b6866906
RHEL 9.0.0 Alpha bootstrap
...
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/pyproject-rpm-macros#6a44fe2d7a819cdcb55159d19c6878419871b41f
2020-10-14 16:43:13 -07:00