public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-systemd] rawhide: Version 236
Date: Fri, 19 Jun 2026 07:43:14 GMT [thread overview]
Message-ID: <178185499495.1.9353373628777361562.rpms-python-systemd-8a85635d175c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-systemd
Branch : rawhide
Commit : 8a85635d175cd4cb6fac5e96cf8315b5c9ee0a27
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Date : 2026-06-19T09:42:12+02:00
Stats : +12/-46 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-systemd/c/8a85635d175cd4cb6fac5e96cf8315b5c9ee0a27?branch=rawhide
Log:
Version 236
... (rhbz#2490656)
---
diff --git a/140.patch b/140.patch
deleted file mode 100644
index b548edf..0000000
--- a/140.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 48bda63c81b43abde0d584b02c017aeb080316ac Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
-Date: Sun, 19 Jan 2025 16:52:41 +0100
-Subject: [PATCH] docs: update intersphinx_mapping
-
-Newer sphinx doesn't like the old syntax:
- Running Sphinx v8.1.3
- loading translations [en]... done
- making output directory... done
- Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.
- ERROR: Invalid value `None` in intersphinx_mapping['http://docs.python.org/']. Expected a two-element tuple or list.
----
- docs/conf.py | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/docs/conf.py b/docs/conf.py
-index 05df507..c4ca874 100644
---- a/docs/conf.py
-+++ b/docs/conf.py
-@@ -275,6 +275,5 @@
- # Allow duplicate toc entries.
- #epub_tocdup = True
-
--
- # Example configuration for intersphinx: refer to the Python standard library.
--intersphinx_mapping = {'http://docs.python.org/': None}
-+intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
diff --git a/python-systemd.spec b/python-systemd.spec
index cf42f55..7bd89a0 100644
--- a/python-systemd.spec
+++ b/python-systemd.spec
@@ -1,5 +1,5 @@
Name: python-systemd
-Version: 235
+Version: 236
Release: %autorelease
Summary: Python module wrapping libsystemd functionality
@@ -7,13 +7,12 @@ License: LGPL-2.1-or-later
URL: https://github.com/systemd/python-systemd
Source0: https://github.com/systemd/python-systemd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-Patch: https://github.com/systemd/python-systemd/pull/140.patch
-
-BuildRequires: make
+BuildRequires: meson
BuildRequires: gcc
BuildRequires: systemd-devel
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-meson-python
BuildRequires: python3-sphinx
BuildRequires: web-assets-devel
BuildRequires: python3-pytest
@@ -45,32 +44,26 @@ Requires: js-jquery
%prep
%autosetup -p1
-sed -i 's/py\.test/pytest/' Makefile
%build
-make PYTHON=%{__python3} build
-make PYTHON=%{__python3} SPHINX_BUILD=sphinx-build-3 sphinx-html
-rm -r build/html/.buildinfo build/html/.doctrees
+%pyproject_wheel -Csetup-args="-Ddocs=true"
%install
-%make_install PYTHON=%{__python3}
+%pyproject_install
+%pyproject_save_files -L systemd
+
mkdir -p %{buildroot}%{_pkgdocdir}
-cp -rv build/html %{buildroot}%{_pkgdocdir}/
-ln -vsf %{_jsdir}/jquery/latest/jquery.min.js %{buildroot}%{_pkgdocdir}/html/_static/jquery.js
+mv %{buildroot}/usr/doc/python-systemd/html %{buildroot}%{_pkgdocdir}/
+ln -vsf --relative %{_jsdir}/jquery/latest/jquery.min.js %{buildroot}%{_pkgdocdir}/html/_static/jquery.js
cp -p README.md NEWS %{buildroot}%{_pkgdocdir}/
%check
-# if the socket is not there, skip doc tests
-test -f /run/systemd/journal/stdout || \
- sed -i 's/--doctest[^ ]*//g' pytest.ini
-make PYTHON=%{__python3} check
+%pytest -v %{buildroot}%{python3_sitearch}/systemd/test/
-%files -n python3-systemd
+%files -n python3-systemd -f %{pyproject_files}
%license LICENSE.txt
%doc %{_pkgdocdir}
%exclude %{_pkgdocdir}/html
-%{python3_sitearch}/systemd/
-%{python3_sitearch}/systemd_python*.egg-info
%files doc
%doc %{_pkgdocdir}/html
reply other threads:[~2026-06-19 7:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178185499495.1.9353373628777361562.rpms-python-systemd-8a85635d175c@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox