Hello community,

here is the log from the commit of package python-pyxattr for openSUSE:Factory 
checked in at 2020-02-22 19:03:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyxattr (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyxattr.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyxattr"

Sat Feb 22 19:03:00 2020 rev:2 rq:776225 version:0.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyxattr/python-pyxattr.changes    
2019-07-18 15:21:28.584132752 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyxattr.new.26092/python-pyxattr.changes 
2020-02-22 19:03:13.933963962 +0100
@@ -1,0 +2,24 @@
+Wed Feb 19 08:49:11 UTC 2020 - Dan Čermák <dcer...@suse.com>
+
+- New upstream release 0.7.1
+
+  * Fix license to LGPL 2.1 and later
+  * Add keyring for source verification
+
+  Changelog:
+
+  Major change: drop compatibility with Python 2, which allows significant code
+  cleanups.
+
+  Other changes:
+
+  * Switch internal implementation of argument parsing to a built-in one
+    (`PyUnicode_FSConverter`), which brings automatic support for
+    path-like objects in Python 3.6+ (#20), and also a more uniform
+    handling of Unicode path arguments with respect to other Python code.
+  * Fix missing error check in list operations in `get_all` (#17).
+  * Switch test library to pytest; not that a reasonable recent version is
+    needed. Additionally, expand test coverage, although not directly
+    visible in actual coverage reports…
+
+-------------------------------------------------------------------

Old:
----
  pyxattr-0.6.1.tar.gz

New:
----
  python-pyxattr.keyring
  pyxattr-0.7.1.tar.gz
  pyxattr-0.7.1.tar.gz.asc

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

Other differences:
------------------
++++++ python-pyxattr.spec ++++++
--- /var/tmp/diff_new_pack.jLmUeG/_old  2020-02-22 19:03:15.677967340 +0100
+++ /var/tmp/diff_new_pack.jLmUeG/_new  2020-02-22 19:03:15.681967348 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyxattr
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,26 @@
 #
 
 
+%define skip_python2 1
 %global mod_name pyxattr
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define github_url https://github.com/iustin/%{mod_name}/releases/download
 Name:           python-%{mod_name}
-Version:        0.6.1
+Version:        0.7.1
 Release:        0
 Summary:        Filesystem extended attributes for python
-License:        LGPL-2.0-or-later
-Group:          Development/Languages/Python
+License:        LGPL-2.1-or-later
 URL:            https://pyxattr.k1024.org/
-Source:         
https://files.pythonhosted.org/packages/source/p/pyxattr/pyxattr-%{version}.tar.gz
+Source0:        %{github_url}/v%{version}/%{mod_name}-%{version}.tar.gz
+Source1:        %{github_url}/v%{version}/%{mod_name}-%{version}.tar.gz.asc
+Source2:        https://k1024.org/files/key.asc#/%{name}.keyring
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  gcc
 BuildRequires:  libattr-devel
 BuildRequires:  python-rpm-macros
+BuildRequires:  python3-pytest
 %python_subpackages
 
 %description
@@ -40,13 +44,16 @@
 of the attr C library - see attr(5).
 
 %prep
-%setup -q -n pyxattr-%{version}
+%autosetup -n pyxattr-%{version}
 
 %build
 %python_build
 
 %check
-%python_exec setup.py test
+# the module is just a C extension => need to add the installed destination to
+# PYTHONPATH, otherwise it won't be found
+export PYTHONPATH=%{buildroot}%{python3_sitearch}:$PYTHONPATH
+%python_exec -m pytest test
 
 %install
 %python_install
@@ -56,6 +63,6 @@
 %{python_sitearch}/xattr*
 %{python_sitearch}/*egg-info
 %license COPYING
-%doc NEWS README.rst
+%doc NEWS README.md
 
 %changelog

++++++ pyxattr-0.6.1.tar.gz -> pyxattr-0.7.1.tar.gz ++++++
++++ 1742 lines of diff (skipped)


Reply via email to