This website requires JavaScript.
a6382f5b5a
Fix %python_extras_subpkg with underscores in extras names
Miro Hrončok
2021-02-20 12:52:02 +0100
626168789c
Remove python2-rpm-macros
Miro Hrončok
2021-02-03 21:40:23 +0100
230ce7f061
Tests: Amend the comment for TESTED_FILES
Miro Hrončok
2021-02-05 14:56:23 +0100
c746b25f28
Automatically word-wrap the description of extras subpackages
Miro Hrončok
2021-02-05 14:09:57 +0100
5b5cc39d89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Fedora Release Engineering
2021-01-27 13:13:29 +0000
601d83d35a
Support defining %py3_shebang_flags to %nil
f32
Miro Hrončok
2020-12-08 12:10:29 +0100
e5429a7a48
Support defining %py3_shebang_flags to %nil
Miro Hrončok
2020-12-08 12:10:29 +0100
a27bc6cc24
BRP Python Bytecompile: Also detect Python files in /app/lib/pythonX.Y
Miro Hrončok
2020-11-29 17:44:37 +0100
a1861889d3
Add %python3_platform_triplet and %python3_ext_suffix
f31
Miro Hrončok
2020-09-24 21:09:21 +0000
d9233c9e55
Add %python3_platform_triplet and %python3_ext_suffix
Miro Hrončok
2020-09-16 15:32:39 +0000
06987f5024
Add %python3_platform_triplet and %python3_ext_suffix
Miro Hrončok
2020-09-14 13:13:55 +0200
a712d455f8
python3-devel is required on the CI for pythontest.spec
Miro Hrončok
2020-09-16 17:32:10 +0200
0253654076
Use versioned pytest executable in `%pytest` macro for non-main Python stack
Lumir Balhar
2020-09-07 12:35:33 +0200
431e4380cc
Add a test for %py_byte_compile macro
Lumir Balhar
2020-08-31 13:44:41 +0200
2eb41fe707
Implement an environment variable to run tests with specific macros
Lumir Balhar
2020-07-23 13:33:22 +0200
1979a78de9
Adapt %py(3)_shebang_fix to use versioned pathfixX.Y.py
Lumir Balhar
2020-07-24 07:50:20 +0200
0eae1d90da
Disable Python hash seed randomization in %py_byte_compile
Lumir Balhar
2020-07-23 12:23:49 +0200
71c410dfa9
Disable Python hash seed randomization in brp-python-bytecompile
Lumir Balhar
2020-07-23 08:09:55 +0200
638f809f4c
Make %py3_dist respect %python3_pkgversion
Lumir Balhar
2020-07-21 12:59:36 +0200
b983c2118b
New opt-in possibility to fix byte-compilation reproducibility
Lumir Balhar
2020-07-16 10:30:55 +0200
06ee391993
Add --no-index --no-warn-script-location pip options to %pyX_install_wheel
Miro Hrončok
2020-07-20 17:36:12 +0200
0086612c98
Define %python_platform (as a Python version agnostic option to %python3_platform)
Miro Hrončok
2020-07-20 17:33:32 +0200
69b1b30d53
Make the unversioned %__python macro error
Miro Hrončok
2020-07-16 18:21:15 +0200
59abe832d4
Adapt %%py_dist_name to keep square brackets
Miro Hrončok
2020-07-10 15:41:39 +0200
8fc244fe13
Include experimental support for marshalparser
Lumir Balhar
2020-07-10 14:10:53 +0200
763d24cc5c
Add %python_extras_subpkg
Miro Hrončok
2020-07-09 00:49:15 +0200
3a211cc91b
Use compileall from stdlib for Python >= 3.9
Lumir Balhar
2020-06-05 08:52:58 +0200
8e9c3d8bbe
Use compileall from stdlib for Python >= 3.9
Lumir Balhar
2020-06-05 08:59:16 +0200
437166cca7
Remove trailing whitespace
Lumir Balhar
2020-05-20 15:06:26 +0200
f77cb3e9dd
No more automagic Python bytecompilation (phase 3)
Lumir Balhar
2020-05-20 15:06:16 +0200
6186b94b6e
Allow to combine %pycached with other macros (e.g. %exclude or %ghost)
Miro Hrončok
2020-05-27 10:30:27 +0200
61ad83626c
Allow to combine %pycached with other macros (e.g. %exclude or %ghost)
Miro Hrončok
2020-05-27 10:30:27 +0200
985a80572f
Allow to combine %pycached with other macros (e.g. %exclude or %ghost)
Miro Hrončok
2020-05-27 10:30:27 +0200
bae52eafbe
Require the exact same version-release of other subpackages of this package
Miro Hrončok
2020-05-31 00:28:19 +0200
48f45aabfd
Fix error when %pycached %exclude is used.
Marcel Plch
2020-05-27 10:30:27 +0200
8b79a441ad
Implement %pyX_shebang_fix
Miro Hrončok
2020-05-18 18:58:39 +0200
c3cafa3dd7
Strip tildes from %version in %pypi_source by default, add tests
Miro Hrončok
2020-05-11 19:02:37 +0200
70fa6a9627
Implement %pytest
Miro Hrončok
2020-05-06 13:21:32 +0200
ead8ec025b
Backport simplified %py_provides
Miro Hrončok
2020-05-20 13:13:22 +0200
5919708f6c
https://fedoraproject.org/wiki/Changes/Python3.9
Miro Hrončok
2020-05-21 17:39:01 +0200
1bdef041df
Implement %pyX_shebang_fix
Miro Hrončok
2020-05-18 18:58:39 +0200
eb50d8e147
Strip tildes from %version in %pypi_source by default, add tests
Miro Hrončok
2020-05-11 19:02:37 +0200
d0885c1ed6
Implement %pytest
Miro Hrončok
2020-05-06 13:21:32 +0200
80ede0c2a1
Backport simplified %py_provides
Miro Hrončok
2020-05-20 13:13:22 +0200
72371929c5
Implement %pyX_shebang_fix
Miro Hrončok
2020-05-18 18:58:39 +0200
4569c61d8d
Strip tildes from %version in %pypi_source by default, add tests
Miro Hrončok
2020-05-11 19:02:37 +0200
0d3f1e6b74
Implement %pytest
Miro Hrončok
2020-05-06 13:21:32 +0200
5f3e4d6300
Change %__default_python3_pkgversion from 38 to 3.8
Miro Hrončok
2020-05-07 17:28:36 +0200
76aecd9ad7
Require recent enough SRPM macros from RPM macros, to prevent missing Lua files
Miro Hrončok
2020-05-06 01:31:46 +0200
25355e4a16
Reuse python.python_altprovides in %python_provide
Miro Hrončok
2020-05-05 01:38:35 +0200
f5bea8c7b7
Fedora CI: Add eval tests for %python_provide and %py_provides
Miro Hrončok
2020-04-28 19:28:31 +0200
5fe974759a
Make %py_provides work repeatedly
Miro Hrončok
2020-04-28 18:54:02 +0200
8fea79b1ec
Implement %py_provides
Miro Hrončok
2020-04-28 18:48:51 +0200
125134cf84
Add functions to be used in %py_provides and the provides generator
Miro Hrončok
2020-04-28 16:29:21 +0200
a5778bf4f2
Reorganize the spec
Miro Hrončok
2020-04-28 15:50:54 +0200
b314efc5a7
Add common Lua functions, use a Lua function in %python_provide
Miro Hrončok
2020-04-28 15:31:23 +0200
daf7d32612
remove direct_url.json file and sed it out from RECORD
Tomas Hrnciar
2020-05-04 11:01:42 +0200
18667277d5
Make pythonX-rpm-macros depend on python-rpm-macros
Miro Hrončok
2020-04-27 10:40:14 +0200
37ff252238
Make pythonX-rpm-macros depend on python-rpm-macros
Miro Hrončok
2020-04-27 10:40:14 +0200
fed99a0478
Make pythonX-rpm-macros depend on python-rpm-macros
Miro Hrončok
2020-04-27 10:40:14 +0200
d479bad319
Update of bundled compileall2 module to 0.7.1 (bugfix release)
f30
Lumir Balhar
2020-03-03 15:26:45 +0100
3f331a6ad1
Update of bundled compileall2 module to 0.7.1 (bugfix release)
Lumir Balhar
2020-03-03 15:26:45 +0100
15e32a3005
Update of bundled compileall2 module to 0.7.1 (bugfix release)
Lumir Balhar
2020-03-03 15:26:45 +0100
1b3e731dc6
Brand as "3.8", rework %python_provide
Miro Hrončok
2020-03-23 12:17:38 +0100
f3f9b81920
Update of bundled compileall2 module to 0.7.1 (bugfix release)
Lumir Balhar
2020-03-03 15:26:45 +0100
229fd899ac
brp-python-bytecompile: Prepare for 2 digit minor versions (e.g. 3.10)
Tomas Orsava
2020-01-27 13:29:41 +0100
28ed6130e0
Add the compileall2 module (0.7.0) to be used in various Python spec files
Miro Hrončok
2020-02-11 00:04:52 +0100
5914a75181
Update of bundled compileall2 module to 0.7.0
Miro Hrončok
2020-02-10 23:47:52 +0100
456f3ecffb
Update of bundled compileall2 module to 0.7.0
Miro Hrončok
2020-02-10 23:47:52 +0100
5c8a587f3f
Define %py(2|3)?_shbang_opts_nodash to be used with pathfix.py -a
Miro Hrončok
2020-02-06 10:24:03 +0100
f43227fac0
Define %py(2|3)?_shbang_opts_nodash to be used with pathfix.py -a
Miro Hrončok
2020-02-06 10:24:03 +0100
e9f07b72aa
Define %py(2|3)?_shbang_opts_nodash to be used with pathfix.py -a
Miro Hrončok
2020-02-06 10:24:03 +0100
82f62228c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Fedora Release Engineering
2020-01-30 15:05:59 +0000
fa7d708e3c
Use `-B` flag for Python when using compileall2 to not write pyc files
Lumir Balhar
2020-01-22 13:09:31 +0100
39abecfb3a
Define %python
Miro Hrončok
2019-12-28 19:56:20 +0100
597d364874
Add the %pycached macro
Miro Hrončok
2019-12-28 19:12:37 +0100
4559c0e65f
Define %python, but make it work only if %__python is redefined
Miro Hrončok
2019-12-28 19:10:09 +0100
2314fd928a
Remove stray __pycache__ directory from /usr/bin when running %py_install, %py_install_wheel and %py_install_egg macros
Anna Khaitovich
2019-12-28 19:16:16 +0100
6c63a5b7f4
Add the %pycached macro
Miro Hrončok
2019-12-28 19:12:37 +0100
f0be0a2983
Define %python, but make it work only if %__python is redefined
Miro Hrončok
2019-12-28 19:10:09 +0100
8f6bc2fd6c
Fix brp-python-bytecompile with the new features from compileall2 Resolves: rhbz#1595265
Lumir Balhar
2019-11-05 09:40:12 +0100
bebf85d28b
Bundled compileall2 module update to 0.6.0
Lumir Balhar
2019-11-26 14:04:57 +0100
99a8a3e31e
Included in RHEL 7.7+
epel7
Miro Hrončok
2019-10-07 19:10:57 +0200
d4418433fa
Drop hardcoded python2 from %py_build
el6
Miro Hrončok
2019-10-02 16:20:57 +0200
dee3401a7e
Define %python2 and %python3
Miro Hrončok
2019-09-30 14:35:43 +0200
5905bccc30
Define %python2 and %python3
f29
Miro Hrončok
2019-08-01 13:48:51 +0200
936fd1dd8c
Define %python2 and %python3
Miro Hrončok
2019-08-01 13:48:51 +0200
af35bb0ac9
Define %python2 and %python3
Miro Hrončok
2019-08-01 13:48:51 +0200
f09ccd21f5
Drop --strip-file-prefix option from %pyX_install_wheel macros, it is not needed
Miro Hrončok
2019-08-26 09:34:39 +0200
84ed1ab69d
Fix %python3_version macros for Python 3.10
Miro Hrončok
2019-08-26 15:23:42 +0200
82adee8667
Update to larger than 30 so rhel7.7 python2 will work in koji. Note: this package should be retired as soon as centos 7.7 is out. Note: this package should NOT be pushed as an update, only used as a override.
Kevin Fenzi
2019-08-14 08:05:31 -0700
7bc9333415
python-rpm-macros: make compatible with rhel7.7
Kevin Fenzi
2019-08-13 14:46:57 -0700
0c6d6cedbb
Revert "Included in RHEL 7.7+"
Mohan Boddu
2019-08-11 03:48:56 -0400
b6f2fa0c76
Included in RHEL 7.7+
Miro Hrončok
2019-08-09 15:40:26 +0200
2cbca3f95e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Fedora Release Engineering
2019-07-26 16:06:16 +0000
e64ffd7f26
Use compileall2 Python module for byte-compilation in brp-python-bytecompile
Lumir Balhar
2019-07-20 08:08:26 +0200
e1bd214d25
Move brp-python-bytecompile from rpm, so we can easily adapt it
Miro Hrončok
2019-07-01 12:15:09 +0200
eb3274394c
Do not allow passing arguments to Python during byte-compilation
Lumir Balhar
2019-07-11 14:42:28 +0200
4493789fb8
Use `-s` to not add user site directory to sys.path for byte-compilation
Lumir Balhar
2019-07-11 14:40:51 +0200
76681ad58e
Use a new module compileall2 for Python byte-compilation
Lumir Balhar
2019-07-11 14:24:39 +0200