Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyScss for openSUSE:Factory checked in at 2023-02-28 12:48:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyScss (Old) and /work/SRC/openSUSE:Factory/.python-pyScss.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyScss" Tue Feb 28 12:48:37 2023 rev:6 rq:1068000 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyScss/python-pyScss.changes 2022-10-03 13:47:01.861648918 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyScss.new.31432/python-pyScss.changes 2023-02-28 12:48:58.432609742 +0100 @@ -1,0 +2,6 @@ +Tue Feb 21 11:40:08 UTC 2023 - Daniel Garcia <daniel.gar...@suse.com> + +- Add python-311.patch to support python 3.11 + gh#Kronuz/pyScss#426 + +------------------------------------------------------------------- New: ---- python-311.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyScss.spec ++++++ --- /var/tmp/diff_new_pack.UxRTSR/_old 2023-02-28 12:48:59.056613795 +0100 +++ /var/tmp/diff_new_pack.UxRTSR/_new 2023-02-28 12:48:59.060613822 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pyScss # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2014 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -17,7 +17,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pyScss Version: 1.4.0 @@ -27,6 +26,8 @@ Group: Development/Languages/Python URL: https://github.com/Kronuz/pyScss Source: https://github.com/Kronuz/pyScss/archive/refs/tags/v%{version}.tar.gz#/pyScss-%{version}.tar.gz +# PATCH-FIX-UPSTREAM python-311.patch gh#Kronuz/pyScss#426 +Patch0: python-311.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -55,7 +56,7 @@ http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html %prep -%setup -q -n pyScss-%{version} +%autosetup -p1 -n pyScss-%{version} %build export CFLAGS="%{optflags}" @@ -81,7 +82,8 @@ %files %{python_files} %license LICENSE %doc README.rst -%{python_sitearch}/* +%{python_sitearch}/scss +%{python_sitearch}/pyScss-%{version}*-info %python_alternative %{_bindir}/pyscss %python_alternative %{_bindir}/less2scss ++++++ python-311.patch ++++++ >From 60414f5d573315a8458b5fbcdf69e5c648c44a9a Mon Sep 17 00:00:00 2001 From: tst <timo.stue...@contact-software.com> Date: Thu, 3 Nov 2022 14:50:05 +0100 Subject: [PATCH] fix error: global flags not at the start of the expression at position 1 --- scss/grammar/expression.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: pyScss-1.4.0/scss/grammar/expression.py =================================================================== --- pyScss-1.4.0.orig/scss/grammar/expression.py +++ pyScss-1.4.0/scss/grammar/expression.py @@ -86,7 +86,7 @@ class SassExpressionScanner(Scanner): ('VAR', '\\$[-a-zA-Z0-9_]+'), ('LITERAL_FUNCTION', '(-moz-calc|-webkit-calc|calc|expression|progid:[\\w.]+)(?=[(])'), ('ALPHA_FUNCTION', 'alpha(?=[(])'), - ('OPACITY', '((?i)opacity)'), + ('OPACITY', '(?i)(opacity)'), ('URL_FUNCTION', 'url(?=[(])'), ('IF_FUNCTION', 'if(?=[(])'), ('FNCT', '[-a-zA-Z_][-a-zA-Z0-9_]*(?=\\()'),