Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Collapse sidebar
openSUSE:Factory:Staging:D
Configuration
Project Config
Overview
Project Configuration of openSUSE:Factory:Staging:D
Patterntype: rpm-md ymp %if "%_repository" == "images" Type: kiwi Repotype: none Patterntype: none Prefer: openSUSE-release openSUSE-release-ftp Constraint: hardware:disk:size unit=G 21 %endif %if "%_repository" == "bootstrap_copy" VMinstall: !kernel-obs-build %else VMinstall: kernel-obs-build %endif Macros: %vendor openSUSE %distribution openSUSE Tumbleweed %packager http://bugs.opensuse.org :Macros Macros: ## PYTHON MACROS BEGIN # order of %pythons is important: The last flavor overrides any operation on conflicting files and definitions during expansions, # making it the "default" in many cases --> keep the primary python3 provider at the end. %pythons %{?!skip_python3:%{?!skip_python311:python311} %{?!skip_python313:python313}} %add_python() %{expand:%%define pythons %1 %pythons} %pythons_for_pypi() %{!?with_test:%global python312 python314 %{?pythons}} %_without_python2 1 # prjconf definitions for python-rpm-macros # This method for generating python_modules gets too deep to expand for rpm at about 5 python flavors. # Hence, python_module_iter is replaced by python_module_lua in macros.lua. # However, OBS cannot expand lua, but has a much higher expansion depth, so this works fine for the server side resolver. %python_module_iter(a:) %{expand:%%define python %{-a*}} ( %python-%args ) %{expand:%%{?!python_module_iter_%1:%%{python_module_iter -a%*}}%%{?python_module_iter_%1}} # pseudo-undefine for obs: reset for the next expansion within the next call of python_module %python_module_iter_STOP %global python %%%%python %python_module() %{?!python_module_lua:%{expand:%%define args %{**}} %{expand:%%{python_module_iter -a %{pythons} STOP}}}%{?python_module_lua:%python_module_lua %{**}} # gh#openSUSE/python-rpm-macros#127 ... define our current primary Python interpreter %primary_python python313 %modern_python %{primary_python} %single_pythons_311plus() %global pythons %{?modern_python}%{?!modern_python:%primary_python} ## PYTHON MACROS END :Macros # END PYTHON STUFF
Locations
Projects
Search
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects