Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:illuusio:python
Configuration
Project Config
Overview
Repositories
Monitor
Requests
Users
Subprojects
Project Config
Attributes
Signing Keys
Meta
Status
Pulse
Project Configuration of home:illuusio:python
# Configure distro tags %if "%_repository" == "15.4" Release: <CI_CNT>.<B_CNT> spec:ill154.<CI_CNT>.<B_CNT> %elif "%_repository" == "15.5" Release: <CI_CNT>.<B_CNT> spec:ill155.<CI_CNT>.<B_CNT> %else Release: <CI_CNT>.<B_CNT> spec:ill.<CI_CNT>.<B_CNT> %endif Prefer: python3-urllib3_1 python311-urllib3_1 # See devel:languages:python:backports config %if "%_repository" == "15.5" %define skip_python2 1 %define _without_python2 1 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_python311:python311} %{?!skip_python36:python3} %add_python() %{expand:%%define pythons %1 %pythons} %sle15_python_module_pythons() %global pythons python311 python3 # Macro to build Python Stack Proposal packages %sle15allpythons() %global pythons python311 python3 # 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 %{**}} %_without_python2 1 :Macros %endif %if "%_repository" == "15.4" %define skip_python2 1 %define _without_python2 1 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_python39:python39} %{?!skip_python36:python3} %add_python() %{expand:%%define pythons %1 %pythons} %sle15_python_module_pythons() %global pythons python311 python3 # Macro to build Python Stack Proposal packages %sle15allpythons() %global pythons python39 python3 # 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 %{**}} %_without_python2 1 :Macros %endif
Locations
Projects
Search
Status Monitor
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
Status Monitor