public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/uwsgi] rawhide: Add python3.14 module for EL9
@ 2026-06-25 16:23 Ralf Ertzinger
  0 siblings, 0 replies; only message in thread
From: Ralf Ertzinger @ 2026-06-25 16:23 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/uwsgi
Branch : rawhide
Commit : 2ea7b81b03118b34695d163f4b418d52c952e7a9
Author : Ralf Ertzinger <ralf@skytale.net>
Date   : 2026-06-25T17:40:46+02:00
Stats  : +74/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/uwsgi/c/2ea7b81b03118b34695d163f4b418d52c952e7a9?branch=rawhide

Log:
Add python3.14 module for EL9

---
diff --git a/uwsgi.spec b/uwsgi.spec
index 9d488c4..4e6d8b8 100644
--- a/uwsgi.spec
+++ b/uwsgi.spec
@@ -168,6 +168,14 @@
 %global python3_alternate3_version 3.13
 %global python3_alternate3_version_nodots 313
 %endif
+%bcond_without python3_alternate4
+%if %{with python3_alternate4}
+%global python3_alternate4_pkgname python3.14
+%global __python3_alternate4 python3.14
+%global python3_alternate4_sitelib %(RPM_BUILD_ROOT= %{__python3_alternate4} -Ic "import sysconfig; print(sysconfig.get_path('purelib', vars={'platbase': '%{_prefix}', 'base': '%{_prefix}'}))")
+%global python3_alternate4_version 3.14
+%global python3_alternate4_version_nodots 314
+%endif
 #EL9 endif
 %endif
 
@@ -250,6 +258,9 @@
 %if %{with python3_alternate3}
 %global __python %{__python3_alternate3}
 %else
+%if %{with python3_alternate4}
+%global __python %{__python3_alternate4}
+%else
 %if %{with python2}
 %global __python %{__python2}
 %else
@@ -259,10 +270,11 @@
 %endif
 %endif
 %endif
+%endif
 
 Name:           uwsgi
 Version:        2.0.31
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Fast, self-healing, application container server
 # uwsgi is licensed under GPLv2 with a linking exception
 # docs are licensed under MIT
@@ -321,6 +333,9 @@ BuildRequires:  %{python3_alternate2_pkgname}-devel
 %if %{with python3_alternate3}
 BuildRequires:  %{python3_alternate3_pkgname}-devel
 %endif
+%if %{with python3_alternate4}
+BuildRequires:  %{python3_alternate4_pkgname}-devel
+%endif
 %if %{with glusterfs}
 BuildRequires:  glusterfs-devel, glusterfs-api-devel
 %endif
@@ -476,6 +491,17 @@ The uwsgidecorators Python %{python3_alternate3_version} module provides
 higher-level access to the uWSGI API.
 %endif
 
+%if %{with python3_alternate4}
+%package -n %{python3_alternate4_pkgname}-uwsgidecorators
+Summary:        Python %{python3_alternate4_version} decorators providing access to the uwsgi API
+Requires:       uwsgi = %{version}-%{release}
+Requires:       uwsgi-plugin-python%{python3_alternate4_version_nodots} = %{version}-%{release}
+
+%description -n %{python3_alternate4_pkgname}-uwsgidecorators
+The uwsgidecorators Python %{python3_alternate4_version} module provides
+higher-level access to the uWSGI API.
+%endif
+
 %package -n uwsgi-docs
 Summary:  uWSGI - Documentation
 Requires: uwsgi
@@ -844,6 +870,15 @@ Requires: uwsgi-plugin-python%{python3_alternate3_version_nodots} = %{version}-%
 This package contains the Python %{python3_alternate3_version} gevent plugin for uWSGI
 %endif
 
+%if %{with python3_alternate4}
+%package -n uwsgi-plugin-python%{python3_alternate4_version_nodots}-gevent
+Summary:  uWSGI - Plugin for Python %{python3_alternate4_version} GEvent support
+Requires: uwsgi-plugin-python%{python3_alternate4_version_nodots} = %{version}-%{release}, libevent
+
+%description -n uwsgi-plugin-python%{python3_alternate4_version_nodots}-gevent
+This package contains the Python %{python3_alternate4_version} gevent plugin for uWSGI
+%endif
+
 %if %{with glusterfs}
 %package -n uwsgi-plugin-glusterfs
 Summary:  uWSGI - Plugin for GlusterFS support
@@ -1021,6 +1056,15 @@ Requires: %{python3_alternate3_pkgname}, uwsgi-plugin-common = %{version}-%{rele
 This package contains the Python %{python3_alternate3_version} plugin for uWSGI
 %endif
 
+%if %{with python3_alternate4}
+%package -n uwsgi-plugin-python%{python3_alternate4_version_nodots}
+Summary:  uWSGI - Plugin for Python %{python3_alternate4_version} support
+Requires: %{python3_alternate4_pkgname}, uwsgi-plugin-common = %{version}-%{release}
+
+%description -n uwsgi-plugin-python%{python3_alternate4_version_nodots}
+This package contains the Python %{python3_alternate4_version} plugin for uWSGI
+%endif
+
 %if %{with ruby_rack}
 %package -n uwsgi-plugin-rack
 Summary:  uWSGI - Ruby rack plugin
@@ -1409,6 +1453,10 @@ CFLAGS="%{optflags} -Wno-unused-but-set-variable" %{__python3_alternate2} uwsgic
 CFLAGS="%{optflags} -Wno-unused-but-set-variable" %{__python3_alternate3} uwsgiconfig.py --verbose --plugin plugins/python fedora python%{python3_alternate3_version_nodots}
 CFLAGS="%{optflags} -Wno-unused-but-set-variable" %{__python3_alternate3} uwsgiconfig.py --verbose --plugin plugins/gevent fedora python%{python3_alternate3_version_nodots}_gevent
 %endif
+%if %{with python3_alternate4}
+CFLAGS="%{optflags} -Wno-unused-but-set-variable" %{__python3_alternate4} uwsgiconfig.py --verbose --plugin plugins/python fedora python%{python3_alternate4_version_nodots}
+CFLAGS="%{optflags} -Wno-unused-but-set-variable" %{__python3_alternate4} uwsgiconfig.py --verbose --plugin plugins/gevent fedora python%{python3_alternate4_version_nodots}_gevent
+%endif
 %if %{with mongodblibs}
 CFLAGS="%{optflags} -Wno-unused-but-set-variable" %{__python} uwsgiconfig.py --verbose --plugin plugins/mongodblog fedora
 CFLAGS="%{optflags} -Wno-unused-but-set-variable -std=gnu++11 -Wno-error" %{__python2} uwsgiconfig.py --verbose --plugin plugins/stats_pusher_mongodb fedora
@@ -1539,6 +1587,12 @@ install -D -p -m 0644 uwsgidecorators.py %{buildroot}%{python3_alternate3_siteli
 %py_byte_compile %{__python3_alternate3} %{buildroot}%{python3_alternate3_sitelib}/uwsgidecorators.py
 %endif
 %endif
+%if %{with python3_alternate4}
+install -D -p -m 0644 uwsgidecorators.py %{buildroot}%{python3_alternate4_sitelib}/uwsgidecorators.py
+%if %{manual_py_compile} == 1
+%py_byte_compile %{__python3_alternate4} %{buildroot}%{python3_alternate4_sitelib}/uwsgidecorators.py
+%endif
+%endif
 %if %{with java}
 install -D -p -m 0644 plugins/jvm/uwsgi.jar %{buildroot}%{_javadir}/uwsgi.jar
 %endif
@@ -1607,6 +1661,12 @@ install -m0644 -D %{SOURCE8} %{buildroot}%{_sysusersdir}/uwsgi.conf
 %{python3_alternate3_sitelib}/__pycache__/uwsgidecorators.cpython-%{python3_alternate3_version_nodots}*.py*
 %endif
 
+%if %{with python3_alternate4}
+%files -n %{python3_alternate4_pkgname}-uwsgidecorators
+%{python3_alternate4_sitelib}/uwsgidecorators.py
+%{python3_alternate4_sitelib}/__pycache__/uwsgidecorators.cpython-%{python3_alternate4_version_nodots}*.py*
+%endif
+
 %files -n uwsgi-docs
 %doc docs
 
@@ -1784,6 +1844,11 @@ install -m0644 -D %{SOURCE8} %{buildroot}%{_sysusersdir}/uwsgi.conf
 %{_libdir}/uwsgi/python%{python3_alternate3_version_nodots}_gevent_plugin.so
 %endif
 
+%if %{with python3_alternate4}
+%files -n uwsgi-plugin-python%{python3_alternate4_version_nodots}-gevent
+%{_libdir}/uwsgi/python%{python3_alternate4_version_nodots}_gevent_plugin.so
+%endif
+
 %if %{with glusterfs}
 %files -n uwsgi-plugin-glusterfs
 %{_libdir}/uwsgi/glusterfs_plugin.so
@@ -1873,6 +1938,11 @@ install -m0644 -D %{SOURCE8} %{buildroot}%{_sysusersdir}/uwsgi.conf
 %{_libdir}/uwsgi/python%{python3_alternate3_version_nodots}_plugin.so
 %endif
 
+%if %{with python3_alternate4}
+%files -n uwsgi-plugin-python%{python3_alternate4_version_nodots}
+%{_libdir}/uwsgi/python%{python3_alternate4_version_nodots}_plugin.so
+%endif
+
 %if %{with ruby_rack}
 %files -n uwsgi-plugin-rack
 %{_libdir}/uwsgi/rack_plugin.so
@@ -2030,6 +2100,9 @@ install -m0644 -D %{SOURCE8} %{buildroot}%{_sysusersdir}/uwsgi.conf
 
 
 %changelog
+* Thu Jun 25 2026 Ralf Ertzinger <ralf@skytale.net> - 2.0.31-11
+- Add python3.14 module for EL9
+
 * Sat Jun 13 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 2.0.31-10
 - Rebuilt for openssl 4.0
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-25 16:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25 16:23 [rpms/uwsgi] rawhide: Add python3.14 module for EL9 Ralf Ertzinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox