Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-blinker for openSUSE:Factory 
checked in at 2023-07-27 16:49:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-blinker (Old)
 and      /work/SRC/openSUSE:Factory/.python-blinker.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-blinker"

Thu Jul 27 16:49:52 2023 rev:20 rq:1100942 version:1.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-blinker/python-blinker.changes    
2023-05-10 16:16:20.506200005 +0200
+++ /work/SRC/openSUSE:Factory/.python-blinker.new.32662/python-blinker.changes 
2023-07-27 16:50:03.133557888 +0200
@@ -1,0 +2,7 @@
+Wed Jul 26 22:09:11 UTC 2023 - Matej Cepl <[email protected]>
+
+- Add no-stdpy-pyc.patch which makes Sphinx not to generate
+  *.pyc files for the Python interpreter it uses for generating
+  documentation.
+
+-------------------------------------------------------------------

New:
----
  no-stdpy-pyc.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-blinker.spec ++++++
--- /var/tmp/diff_new_pack.w34RbJ/_old  2023-07-27 16:50:03.721561210 +0200
+++ /var/tmp/diff_new_pack.w34RbJ/_new  2023-07-27 16:50:03.729561255 +0200
@@ -25,6 +25,9 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/pallets-eco/blinker/
 Source:         
https://files.pythonhosted.org/packages/source/b/blinker/blinker-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE no-stdpy-pyc.patch bsc#[0-9]+ [email protected]
+# Persuade Sphinx not to generate *.pyc files
+Patch0:         no-stdpy-pyc.patch
 BuildRequires:  %{python_module Pallets-Sphinx-Themes}
 BuildRequires:  %{python_module Sphinx}
 BuildRequires:  %{python_module pip}

++++++ no-stdpy-pyc.patch ++++++
---
 docs/conf.py |    5 +++++
 1 file changed, 5 insertions(+)

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,6 +1,11 @@
+import sys
+
 from pallets_sphinx_themes import get_version
 from pallets_sphinx_themes import ProjectLink
 
+# https://stackoverflow.com/q/34025113/164233
+sys.dont_write_bytecode = True
+
 project = "Blinker"
 copyright = "2010 Jason Kirtland"
 release, version = get_version("blinker", placeholder=None)

Reply via email to