6
0

82 Commits

Author SHA256 Message Date
f54d0761fd - Update to version 20241120.6ae645f:
* Do sed in place

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=207
2025-08-21 13:44:52 +02:00
9b6338b53d - Update to version 20241119.7609911:
* Do not fix shebang on links to non-writeable files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=206
2025-08-21 13:44:52 +02:00
bbc9a432e9 - Update to version 20241111.a34b5d8:
* Follow symlinks when replacing shebang with sed
  * Only sed the shebang in executable files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=205
2025-08-21 13:44:51 +02:00
6907014230 - Update to version 20240618.c146b29:
* Add %FLAVOR_pytest and %FLAVOR_pyunittest variants

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=203
2024-06-28 08:17:41 +00:00
649ad2d2fb - Update to version 20240618.1e386da:
* Fix python_clone sed regex

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=201
2024-06-18 10:25:11 +00:00
e077289d2e - Update to version 20240614.02920b8:
* Make sure that RPM_BUILD_ROOT env is set
  * don't eliminate any cmdline arguments in the shebang line
  * Create python313 macros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=200
2024-06-17 06:44:28 +00:00
204c7b5c48 - Update to version 20240415.c664b45:
* Fix typo 310 -> 312 in default-prjconf

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=198
2024-05-27 12:44:21 +00:00
114cf7b463 Accepting request 1143663 from home:bnavigator:branches:devel:languages:python:Factory
- Update to version 20240202.501440e:
  * SPEC0: Drop python39, add python312 to buildset (#169)

OBS-URL: https://build.opensuse.org/request/show/1143663
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=196
2024-02-03 06:15:19 +00:00
da169cd83d - Update to version 20231220.98427f3:
* fix python2_compile macro

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=194
2023-12-20 16:34:31 +00:00
e94f00e9b4 - Update to version 20231207.46c2ec3:
* make FLAVOR_compile compatible with python2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=193
2023-12-19 10:13:50 +00:00
d027e9364b - Update to version 20231204.dd64e74:
* Combine fix_shebang in one line
  * New macro FLAVOR_fix_shebang_path
  * Use realpath in %python_clone macro shebang replacement
  * Compile and fix_shebang in %python_install macros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=192
2023-12-04 08:34:30 +00:00
a4a47ecc50 Accepting request 1116739 from home:bnavigator:branches:devel:languages:python:Factory
- Update to version 20231010.0a1f0d9:
  * Revert "Compile and fix_shebang in %python_install macros"
  * gh#openSUSE/python-rpm-macros#163

OBS-URL: https://build.opensuse.org/request/show/1116739
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=190
2023-10-10 20:57:28 +00:00
12dcbdaab9 - Update to version 20231010.a32e110:
* Compile and fix_shebang in %python_install macros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=189
2023-10-10 10:39:15 +00:00
98c8e210ae - Update to version 20231005.bf2d3ab:
* Fix shebang also in sbin with macro _fix_shebang

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=187
2023-10-05 15:54:19 +00:00
6dfe5a2a55 Accepting request 1091762 from home:bnavigator:branches:devel:languages:python:Factory
- Update to version 20230609.6fe8111:
  * move compile loop to python
  * remove python38

OBS-URL: https://build.opensuse.org/request/show/1091762
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=182
2023-06-09 18:24:22 +00:00
e91bb0f877 - Update to version 20230403.29b58f8:
* Add python311 to buildset

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=180
2023-04-04 09:02:44 +00:00
e8946e8659 - Update to version 20230304.050c1a4:
* Add %#FLAVOR#_fix_shebang macro, call in %#FLAVOR#_pyproject_install

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=178
2023-03-04 20:23:00 +00:00
e2460d4da4 Accepting request 1061768 from home:bnavigator:branches:devel:languages:python:Factory
- Update to version 20230128.e704796:
  * Strip buildroot from pyc files (#151)

OBS-URL: https://build.opensuse.org/request/show/1061768
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=176
2023-01-30 06:39:47 +00:00
507daf92f5 Accepting request 1036434 from home:bnavigator:python-rpm-macros
- Update to version 20221117.8687578:
  * Create python312 macros

OBS-URL: https://build.opensuse.org/request/show/1036434
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=174
2022-11-20 00:34:39 +00:00
83c7ca0db0 - Update to version 20220912.f91cae2:
* fix double expanded compileall in %{$python_pyproject_install}
  * forgotten '%'

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=172
2022-09-13 06:11:21 +00:00
7cfe9f769c Accepting request 1002555 from home:bnavigator:branches:devel:languages:python:Factory
- Update to version 20220911.111e4c9:
  * fix gh#openSUSE/python-rpm-macros#141: allow parameters in sections
  * more compact alternative scriptlets without newline
  * Update flavor sets in README
  * Document flavored PEP517 macros
  * flavorize pyproject macros
  * Avoid to install incorrect PEP610 metadata

For tests see the home:bnavigator:python-rpm-macros project and the discussions in the pull requests on GitHub

OBS-URL: https://build.opensuse.org/request/show/1002555
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=171
2022-09-12 05:45:38 +00:00
9c5a0e96e2 - Update to version 20220809.cf8a7b8:
* Pass `--ignore-installed` to `pip install` in %pyproject_install

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=166
2022-08-15 06:06:20 +00:00
d758a511c2 - Update to version 20220725.2ae32d5:
* restore end-of-line in alternative scriptlets

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=164
2022-07-25 21:28:14 +00:00
85bb72cc17 - Update to version 20220721.0a061eb:
* make python_flavored_alternatives less verbose
  * Move install of libalts from sciptlets to python_clone -a -- close gh#openSUSE/python-rpm-macros#133
  * hard-code %py_ver -- fix gh#openSUSE/python-rpm-macros#131
  * fix gh#openSUSE/python-rpm-macros#130 print proper error on missing python interpreter

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=163
2022-07-21 10:32:20 +00:00
c6b16af9bb - Update to version 20220618.1ed0055:
* Update compile-macros.sh

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=159
2022-06-18 19:59:52 +00:00
4538bfdcf5 - Update to version 20220610.6dc4cb8:
* create python_flavored_alternatives and use for testing

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=157
2022-06-10 15:52:58 +00:00
a01c15361f - Update to version 20220505.4ab53ec:
* Switch primary_interpreter from python38 to python310
  * Avoid bashism in %()
  * fix flavor executable substitution
  * Keep python38 as primary python3
  * Add python310 to the buildset
  * Move python39 to the primary place in %pythons
  * Disable python36 flavor in Factory buildset
  * Add python310 flavor macros to compile set
  * no newline after python_install_alternative

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=156
2022-05-05 14:45:42 +00:00
40ab50900b - Update to version 20220106.80d3756:
* Keep python38 as primary python3
  * Add python310 to the buildset
  * Move python39 to the primary place in %pythons
  * Disable python36 flavor in Factory buildset

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=155
2022-01-06 08:18:41 +00:00
788bf3a7f7 - Update to version 20211209.3834c04:
* fix flavor executable substitution

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=154
2021-12-09 00:07:31 +00:00
13c46f22ba - Update to version 20211208.d090fb9:
* Add python310 flavor macros to compile set

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=153
2021-12-08 14:19:31 +00:00
3c04625379 - Update to version 20211022.38e7c70:
* no newline after python_install_alternative

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=152
2021-10-22 12:47:44 +00:00
7a0b212c18 - Update to version 20211018.c7614ad:
* remove ghost gh#openSUSE/python-rpm-macros#118
  * revert reset name change
  * fix README
  * move u-a/la switch for scriptlets to build phase

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=149
2021-10-19 09:51:50 +00:00
4aef0dd5c5 Accepting request 922591 from home:schubi2
- Update to version 20211001.fc6c04e:
  * Supporting libalternatives.

OBS-URL: https://build.opensuse.org/request/show/922591
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=148
2021-10-05 22:22:49 +00:00
7d3ded69c5 - Update to version 20210628.eccf3f2:
* fix boolean split gh#openSUSE/python-rpm-macros#111

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=147
2021-06-29 20:52:04 +00:00
6283b6cbbb - Update to version 20210607.c22f1cc:
* increase default python3 update-alternative prio by 1000
  * Update default-prjconf
  * Support flavor rewriting of boolean runtime dependencies

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=145
2021-06-07 12:16:04 +00:00
d832e39ece - Update to version 20210204.937b8d8:
* fixup: last PR was missing a commit for pyproject_wheel syntax errors

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=143
2021-02-04 22:27:46 +00:00
786ace3adf - Update to version 20210204.90721de:
* mv -n does not work in SLE12
  * Update PEP517/518 macro documentation in README
  * Let pyproject_install search for more locations for wheels or specify explicitely
  * Read .rpmmacros (= prjconf Macro: definitions) for default buildset

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=142
2021-02-04 14:39:57 +00:00
bbdb3c8ce3 - Update to version 20210203.0d8a91e:
* don't define skip_python2 by default

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=141
2021-02-03 16:40:53 +00:00
051367e64a - Update to version 20210131.ec7577b:
* remove old commented path finding section
  * expand python_subpackage_only not earlier than in python_subpackages call
  * make the path and var macros return a non-interrupted string even when the flavor is not installed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=138
2021-01-31 20:38:32 +00:00
13dbcaccac - Update to version 20210131.1450767:
* only add parentheses when boolean operators are used
  * sync buildset definitions with Factory
  * fix typo

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=137
2021-01-31 13:32:24 +00:00
677631f2b7 - Update to version 20210127.3a18043:
* dont't rename wheel when it already has the same name

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=136
2021-01-27 22:48:46 +00:00
0f592b8b9e - Update to version 20210126.fea1c1f:
* Document python_module with boolean dependecies
  * workaround undetected abi and platform tags gh#openSUSE/python-rpm-macros#93

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=135
2021-01-26 21:11:56 +00:00
3bc81e4b7d - Update to version 20210121.ef5b8b9:
* Add %python pseudo-macro for %python_modules -- server and rpm version

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=134
2021-01-21 11:10:49 +00:00
5232857c4f - Update to version 20210117.63cf413:
* improve flavor variable naming in python_expand

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=132
2021-01-17 07:07:47 +00:00
60cb990fe9 - Update to version 20210116.2682657:
* remove python2 not found error

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=131
2021-01-16 12:31:22 +00:00
341a55c0cf Accepting request 862531 from home:mcepl:neovim
- Update to version 20210112.86f4d9d:
  * fix gh#openSUSE/python-rpm-macros#84: python_sysconfig_ macros

OBS-URL: https://build.opensuse.org/request/show/862531
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=129
2021-01-12 07:50:51 +00:00
bd1aae4680 - Update to version 20201207.2177fcf:
* README update after merge

- Update to version 20201207.259cdda:
  * Update python_expand description in README
  * python_expand  to basename only

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=128
2020-12-07 17:26:16 +00:00
30e6251528 - Update to version 20201204.32a910e:
* fix print_provided_flavor again

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=127
2020-12-04 09:48:06 +00:00
c96ccba8ff - Update to version 20201203.5331183:
* fix print_provided_flavor

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=126
2020-12-03 07:08:33 +00:00
9e100919ae - Update to version 20201128.669edb3:
* fix provides (for python-numpy f2py, in gh#openSUSE/python-rpm-macros#66)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=125
2020-11-28 22:13:50 +00:00