15
0

Accepting request 649805 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/649805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-altgraph?expand=0&rev=2
This commit is contained in:
2018-11-18 22:31:58 +00:00
committed by Git OBS Bridge
5 changed files with 27 additions and 30 deletions

19
LICENSE
View File

@@ -1,19 +0,0 @@
Copyright (c) 2004 Istvan Albert unless otherwise noted.
Copyright (c) 2006-2010 Bob Ipollite
Copyright (2) 2010-2017 Ronald Oussoren, et. al.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.

View File

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

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

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
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

View File

@@ -17,20 +17,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-altgraph
Version: 0.15
# For license file
%define tag 3ff77f1024d0fa811cc4783ba379b4e77b218844
Version: 0.16.1
Release: 0
License: MIT
Summary: Python graph (network) package
Url: https://bitbucket.org/ronaldoussoren/altgraph/
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/a/altgraph/altgraph-%{version}.tar.gz
Source10: https://bitbucket.org/ronaldoussoren/altgraph/raw/%{tag}/LICENSE
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
@@ -40,12 +37,19 @@ 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.
altgraph includes some additional usage of Python 2.6+ features and
enhancements related to modulegraph and macholib.
%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}
cp %{SOURCE10} .
rm doc/_build/html/.buildinfo
sed -i 's/\r$//' doc/_build/html/_static/jquery.js
%build
%python_build
@@ -62,4 +66,8 @@ cp %{SOURCE10} .
%license LICENSE
%{python_sitelib}/*
%files -n %{name}-doc
%doc doc/_build/html/
%license LICENSE
%changelog