- Update to version 20220725.2ae32d5:
* restore end-of-line in alternative scriptlets
- 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/request/show/991154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=42
- Update to version 20220610.6dc4cb8:
* create python_flavored_alternatives and use for testing
- 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/request/show/982055
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=40
- Update to version 20210204.937b8d8:
* fixup: last PR was missing a commit for pyproject_wheel syntax errors
- 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
- Update to version 20210203.0d8a91e:
* don't define skip_python2 by default
OBS-URL: https://build.opensuse.org/request/show/869588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=35
- 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
- Update to version 20210131.1450767:
* only add parentheses when boolean operators are used
* sync buildset definitions with Factory
* fix typo
- Update to version 20210127.3a18043:
* dont't rename wheel when it already has the same name
- Update to version 20210126.fea1c1f:
* Document python_module with boolean dependecies
* workaround undetected abi and platform tags gh#openSUSE/python-rpm-macros#93
- Update to version 20210121.ef5b8b9:
* Add %python pseudo-macro for %python_modules -- server and rpm version
- Update to version 20210117.63cf413:
* improve flavor variable naming in python_expand
- Update to version 20210116.2682657:
* remove python2 not found error
OBS-URL: https://build.opensuse.org/request/show/868221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=34
- Update to version 20200625.e862151:
* fix pytest_arch PYTHONPATH
* expand calls pyproject* macros (revert #45)
* let the shell expand PYTHONPATH
- Update to version 20200623.3ea9b62:
* fix PYTHONPATH on pytest_arch macro
- Update to version 20200622.1919233:
* Expand %buildroot first (avoid endless cycle; bsc#1162743)
- Update to version 20200622.1f4c5d2:
* Add missing semicolon
- For Factory change %system_python to python3.
- Update to version 20200603.503823c:
* Don't add empty path to PYTHONPATH setting.
* Do not expand macros, just print them unexpanded (for %pytest* and %pyproject* macros)
* Replace py.test -> pytest
OBS-URL: https://build.opensuse.org/request/show/816897
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=28
- Update to version 20190610.2ee3233:
* Fix typo, missing opening brace.
* Add the first draft of pyproject_wheel and pyproject_install macros.
* Yet another attempt to preserve $PYTHONPATH set in the environment.
* Document also %pytest_arch
* Document %pytest in README.md
* Multiline macros don't work correctly on older RPMs.
* Add missing $ expansion on the pytest call
* Rewrite pytest and pytest_arch into Lua macros with multiple arguments.
* We should preserve existing PYTHONPATH.
* Add --ignore to pytest calls to ignore build directories.
- Update to version 20190610.2ee3233:
* Fix typo, missing opening brace.
- Update to version 20190511.2ed22b6:
* Add the first draft of pyproject_wheel and pyproject_install macros.
OBS-URL: https://build.opensuse.org/request/show/708959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=21
- Update to version 20181211.ab6f37c:
* Fix an issue with epoch printing having too many \
* Remove packaging/ dir
- Update to version 1540475376.149a499:
* add epoch while printing "Provides:"
- Update URL
- Add _service and use the tar_scm/recompress/set_version source
services to update the package.
Package updates can now be done with "osc service run"
- Drop README.packaging
- Drop update.sh . This is now handled via the source services
OBS-URL: https://build.opensuse.org/request/show/657144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=13
- version bump to 2017.05.09.fc237de
- fix badly generated %posttrans snippets in cases where
old %python_install_alternative syntax is used for secondary files
- rework %if-macros
- introduce %python_flavor, which configures behavior of generic %python_*
macros, and can be overriden by the user
- add --force to %python_install, to make install order fully deterministic
- switch versioning scheme to date-based
- switch from using service to a custom script update.sh
- auto-generate Provides: python2-modname in old distributions
(only for main package though)
OBS-URL: https://build.opensuse.org/request/show/494698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=6
- more intelligent %python_install_alternatives
- multiline macro support
- support for %requires_ge and %requires_eq as well as Requires(pre)
and friends
- "%python_clone -a" auto-creates alternative entries
- implement %python_clone to clone files for alternatives
- support "Supplements" and "Enhances" tags
- support packageand() expression
- fix handling of %name in requires
- make macros more resilient to missing %python_subpackages
- expand %python_bin_suffix properly
OBS-URL: https://build.opensuse.org/request/show/479619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=4
- let %python_module expand *all* its arguments, not just the first
(so that %{python_module x >= 1.0} works as intended)
- copy BuildArch to subpackages
- on requires/provides etc., perform macro expansion *after* replacing
'python' name, to allow for tricking the rewriter to not replace
- add BuildRoot to make SLE11 happy
- check presence of %python_files even on new-style distros
- better visibility of the %python_files error
OBS-URL: https://build.opensuse.org/request/show/460270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=3
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.