15
0
2025-05-13 15:11:21 +00:00
committed by Git OBS Bridge
commit a7b97e0bd0
5 changed files with 173 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
altgraph-0.17.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b5afbb98f6c4dcadb2e2ae6ab9fa994bbb8c1d75f4fa96d340f9437ae454406
size 48418

71
python-altgraph.changes Normal file
View File

@@ -0,0 +1,71 @@
-------------------------------------------------------------------
Tue May 13 13:08:39 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Wed Oct 4 09:51:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.17.4:
* python 3.12 support
-------------------------------------------------------------------
Sat Jun 10 10:01:58 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Wed Oct 12 02:39:57 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 0.17.3
* Update classifiers for Python 3.11
-------------------------------------------------------------------
Mon May 2 21:21:32 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to 0.17.2
* Remove deprecated U prefix, fixes Python 3.9
* Explicitly mark python 3.10 as supported
-------------------------------------------------------------------
Mon May 17 07:12:19 UTC 2021 - pgajdos@suse.com
- use %pytest macro
-------------------------------------------------------------------
Fri Apr 17 11:15:05 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 0.17
* Explicitly mark Python 3.8 as supported in wheel metadata.
* Migrate from Bitbucket to GitHub
* Run black on the entire repository
-------------------------------------------------------------------
Thu Nov 7 16:15:07 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Run through spec-cleaner
-------------------------------------------------------------------
Tue Dec 4 12:45:31 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Fri Nov 16 19:05:40 UTC 2018 - Todd R <toddrme2178@gmail.com>
- Update to version 0.16.1
* Explicitly mark Python 3.7 as supported in wheel metadata.
- Update to version 0.16
* Add LICENSE file
-------------------------------------------------------------------
Thu May 24 17:26:43 UTC 2018 - toddrme2178@gmail.com
- Update to version 0.15
* ObjectGraph.get_edges, ObjectGraph.getEdgeData and ObjectGraph.updateEdgeData accept None as the node to get and treat this as an alias for self (as other methods already did).
- Spec file cleanups
-------------------------------------------------------------------
Thu Oct 19 00:54:53 UTC 2017 - toddrme2178@gmail.com
- Initial version

75
python-altgraph.spec Normal file
View File

@@ -0,0 +1,75 @@
#
# spec file for package python-altgraph
#
# Copyright (c) 2025 SUSE LLC
#
# 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/
#
%{?sle15_python_module_pythons}
Name: python-altgraph
Version: 0.17.4
Release: 0
Summary: Python graph (network) package
License: MIT
URL: https://github.com/ronaldoussoren/altgraph/
Source: https://files.pythonhosted.org/packages/source/a/altgraph/altgraph-%{version}.tar.gz
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
Altgraph is a fork of graphlib: a graph (network) package for constructing
graphs, BFS and DFS traversals, topological sort, shortest paths, etc. with
graphviz output.
%package -n %{name}-doc
Summary: Documentation for %{name}
Provides: %{python_module altgraph-doc = %{version}}
%description -n %{name}-doc
Altgraph is a fork of graphlib: a graph (network) package for constructing
graphs, BFS and DFS traversals, topological sort, shortest paths, etc. with
graphviz output.
%prep
%setup -q -n altgraph-%{version}
%build
%pyproject_wheel
cd doc && make html
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/altgraph
%{python_sitelib}/altgraph-%{version}*-info
%files -n %{name}-doc
%doc doc/_build/html/
%license LICENSE
%changelog