Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:Python
python-liblarch
python-liblarch.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-liblarch.spec of Package python-liblarch
# # spec file for package python-liblarch # # Copyright (c) 2024 SUSE LLC # Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define _name liblarch %define _name_gtk liblarch_gtk Name: python-liblarch Version: 3.2.0 Release: 0 Summary: A Python library to handle data structure License: LGPL-3.0-or-later URL: https://live.gnome.org/liblarch Source: https://github.com/getting-things-gnome/%{_name}/archive/v%{version}.tar.gz # PATCH-FIX-UPSTREAM gh#getting-things-gnome/liblarch#36 Patch0: use-pytest.patch BuildRequires: %{python_module gobject-Gdk} BuildRequires: %{python_module gobject} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: xvfb-run BuildRequires: typelib(Gtk) >= 3.0 Requires: python-gobject Requires: python-gobject-Gdk BuildArch: noarch %python_subpackages %description Liblarch is a Python library built to handle data structure such are lists, trees and acyclic graphs (tree where nodes can have multiple parents) %package gtk Summary: GTK bindings for liblarch Requires: %{name} = %{version} Requires: python-gobject Requires: typelib(Gtk) >= 3.0 %description gtk Liblarch is a Python library built to handle data structure such are lists, trees and acyclic graphs (tree where nodes can have multiple parents) This package provides GTK bindings for liblarch. %prep %autosetup -p1 -n %{_name}-%{version} %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} # TESTS fail with segf, local execution works %check %{python_expand # xvfb-run -a $python ./run-tests } %files %{python_files} %license LICENSE %doc README.md AUTHORS %{python_sitelib}/%{_name} %{python_sitelib}/%{_name}-%{version}.dist-info %files %{python_files gtk} %license LICENSE %{python_sitelib}/%{_name_gtk}/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor