forked from pool/python-altgraph
Accepting request 649802 from home:TheBlackCat:branches:devel:languages:python
- Update to version 0.16.1 * Explicitly mark Python 3.7 as supported in wheel metadata. - Update to version 0.16 * Add LICENSE file OBS-URL: https://build.opensuse.org/request/show/649802 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-altgraph?expand=0&rev=6
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user