Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Simmphonie:python
Configuration
Project Config
Overview
Repositories
Monitor
Requests
Users
Subprojects
Project Config
Attributes
Signing Keys
Meta
Status
Pulse
Project Configuration of home:Simmphonie:python
%if "%_repository" == "15.6" Macros: # Macro to build Python Stack Proposal packages %sle15_python_module_pythons() %global pythons python311 ## PYTHON MACROS BEGIN # adapted form of https://github.com/openSUSE/python-rpm-macros/blob/master/default-prjconf for SLE/Leap # requires python-rpm-macros >= 20210204 # 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} %add_python() %{expand:%%define pythons %1 %pythons} # 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 %{**}} ## PYTHON MACROS END :Macros %endif %if "%_repository" == "15.5" || "%_repository" == "15.4" #Macros: #%have_python2 1 #%have_python3 1 #%python_module() %{expand: %{?have_python2:python-%{**}} %{?have_python3:python3-%{**}} %{?have_pypy3:pypy3-%{**}}} #:Macros Prefer: python-dbus-python Prefer: python-dbus-python-devel Prefer: python3-dbus-python Prefer: python3-dbus-python-devel Prefer: python-pycryptodome # END PYTHON STUFF Substitute: python-dbus-python-common-devel python2-dbus-python-common-devel Prefer: python2-dbus-python-common-devel Substitute: python-sip-common python2-sip-common Prefer: python2-sip-common #Substitute: python-sip python2-sip #Prefer: python2-sip #Substitute: python-sip-devel python2-sip-devel #Prefer: python2-sip-devel Substitute: python-qt4 python2-qt4 Prefer: python2-qt4 Substitute: python-qt4-devel python2-qt4-devel Prefer: python2-qt4-devel Substitute: python-qt5 python2-qt5 Prefer: python2-qt5 Substitute: python-qt5-devel python2-qt5-devel Prefer: python2-qt5-devel #if 0%{suse_version} == 1530 #Substitute: nodejs-devel nodejs16-devel Prefer: nodejs16-devel #endif Prefer: libicu-devel %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