forked from pool/python-liblarch
Accepting request 1140743 from devel:languages:python
- update to 3.2.0:
* Provide a fix for collapsing/expanding future (not-yet-
created) nodes
This prevents a TypeError under various circumstances,
which made GTG's TreeView display inconsistent
search/filtering results.
* Clarify, in the README file, that liblarch is LGPL v3 "or
later"
* Fix Pytest deprecation warnings
* Provide an optimized way to refresh filtered items
This provides better performance for GTG in particular
* Replace calls to the pep8 executable by pycodestyle
* Disable building with Python 2
* Fix drag & drop from one GTK TreeView widget to another
* Handle cases where the tree should and shouldn't be re-
filtered
* Improved PyGI (GObject introspection) compatibility
* Improved code quality and PEP 8 compliance
- drop libarch-py2compat.patch (obsolete as upstream is >= 3.5)
- reenable tests
- Remove nose dep as tests are not executed
- Initial package, version 0.1.0.
OBS-URL: https://build.opensuse.org/request/show/1140743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-liblarch?expand=0&rev=10
This commit is contained in:
@@ -1,13 +0,0 @@
|
|||||||
Index: liblarch-3.0/liblarch/tree.py
|
|
||||||
===================================================================
|
|
||||||
--- liblarch-3.0.orig/liblarch/tree.py
|
|
||||||
+++ liblarch-3.0/liblarch/tree.py
|
|
||||||
@@ -17,6 +17,8 @@
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
+from __future__ import print_function
|
|
||||||
+
|
|
||||||
from . import processqueue
|
|
||||||
from liblarch.treenode import _Node
|
|
||||||
|
|
||||||
@@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 22 23:34:05 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.2.0:
|
||||||
|
* Provide a fix for collapsing/expanding future (not-yet-
|
||||||
|
created) nodes
|
||||||
|
This prevents a TypeError under various circumstances,
|
||||||
|
which made GTG's TreeView display inconsistent
|
||||||
|
search/filtering results.
|
||||||
|
* Clarify, in the README file, that liblarch is LGPL v3 "or
|
||||||
|
later"
|
||||||
|
* Fix Pytest deprecation warnings
|
||||||
|
* Provide an optimized way to refresh filtered items
|
||||||
|
This provides better performance for GTG in particular
|
||||||
|
* Replace calls to the pep8 executable by pycodestyle
|
||||||
|
* Disable building with Python 2
|
||||||
|
* Fix drag & drop from one GTK TreeView widget to another
|
||||||
|
* Handle cases where the tree should and shouldn't be re-
|
||||||
|
filtered
|
||||||
|
* Improved PyGI (GObject introspection) compatibility
|
||||||
|
* Improved code quality and PEP 8 compliance
|
||||||
|
- drop libarch-py2compat.patch (obsolete as upstream is >= 3.5)
|
||||||
|
- reenable tests
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 15 07:41:08 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
Wed Apr 15 07:41:08 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-liblarch
|
# spec file for package python-liblarch
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
# Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands.
|
# Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -21,15 +21,15 @@
|
|||||||
%define _name_gtk liblarch_gtk
|
%define _name_gtk liblarch_gtk
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-liblarch
|
Name: python-liblarch
|
||||||
Version: 3.0
|
Version: 3.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Python library to handle data structure
|
Summary: A Python library to handle data structure
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://live.gnome.org/liblarch
|
URL: https://live.gnome.org/liblarch
|
||||||
Source: https://github.com/getting-things-gnome/%{_name}/archive/v%{version}.tar.gz
|
Source: https://github.com/getting-things-gnome/%{_name}/archive/v%{version}.tar.gz
|
||||||
Patch0: libarch-py2compat.patch
|
|
||||||
BuildRequires: %{python_module gobject}
|
BuildRequires: %{python_module gobject}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -60,7 +60,6 @@ This package provides GTK bindings for liblarch.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{_name}-%{version}
|
%setup -q -n %{_name}-%{version}
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -70,8 +69,8 @@ This package provides GTK bindings for liblarch.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
# TESTS fail with segf, local execution works
|
# TESTS fail with segf, local execution works
|
||||||
#%check
|
%check
|
||||||
#%%python_expand xvfb-run nosetests-%{$python_bin_suffix} tests
|
%python_expand xvfb-run pytest-%{$python_bin_suffix} tests
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3d8b337d7a71ea84387e90196b465f617649b59a1c8f0b0c49e6655987ac730c
|
|
||||||
size 55785
|
|
||||||
3
v3.2.0.tar.gz
Normal file
3
v3.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ddebecee8523d751b5f0d371739fceb3b2fc84c3b1784a406d064538d2d9c7fd
|
||||||
|
size 56733
|
||||||
Reference in New Issue
Block a user