Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-PyX for openSUSE:Factory 
checked in at 2023-09-10 13:10:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyX (Old)
 and      /work/SRC/openSUSE:Factory/.python-PyX.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PyX"

Sun Sep 10 13:10:00 2023 rev:4 rq:1109764 version:0.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyX/python-PyX.changes    2021-05-07 
16:46:31.336119994 +0200
+++ /work/SRC/openSUSE:Factory/.python-PyX.new.1766/python-PyX.changes  
2023-09-10 13:10:36.651370289 +0200
@@ -1,0 +2,12 @@
+Fri Sep  8 14:09:29 UTC 2023 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 0.16:
+  * Enable a shortcut for accessing graph-component attributes,
+    simplifying the modification of default components.
+  * Small improvements and several bug fixes, especially for text
+    alignment with TeX Live 2020.
+- Rename source tarball to PyX-%{version}.tar.gz.
+- Use pyproject macros to build; add BuildRequires: python-pip,
+  python-wheel.
+
+-------------------------------------------------------------------

Old:
----
  0.15.tar.gz

New:
----
  PyX-0.16.tar.gz

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

Other differences:
------------------
++++++ python-PyX.spec ++++++
--- /var/tmp/diff_new_pack.e8CPsF/_old  2023-09-10 13:10:37.627405160 +0200
+++ /var/tmp/diff_new_pack.e8CPsF/_new  2023-09-10 13:10:37.627405160 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PyX
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,16 +20,18 @@
 %define         skip_python2 1
 %bcond_without  test
 Name:           python-PyX
-Version:        0.15
+Version:        0.16
 Release:        0
 Summary:        Python package for the generation of PostScript, PDF, and SVG 
files
 License:        GPL-2.0-or-later
 Group:          Development/Languages/Python
 URL:            https://pyx-project.org/
-Source:         https://github.com/pyx-project/pyx/archive/%{version}.tar.gz
+Source:         
https://github.com/pyx-project/pyx/archive/%{version}.tar.gz#/PyX-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module testfixtures}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  texlive-latex-bin-bin
@@ -55,11 +57,14 @@
 sed -i 's/l.check/l.check_present/' test/unit/test_texmessageparser.py
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%pyproject_install
+%{python_expand # Cleanups
+chmod -x %{buildroot}%{$python_sitelib}/pyx/data/lfs/createlfs.py
+%fdupes %{buildroot}%{$python_sitelib}
+}
 
 %check
 %pytest test/unit
@@ -67,5 +72,6 @@
 %files %{python_files}
 %license LICENSE
 %doc AUTHORS CHANGES README.md
-%{python_sitelib}/*
+%{python_sitelib}/pyx/
+%{python_sitelib}/PyX-%{version}*-info/
 

Reply via email to