17
0

Accepting request 662860 from home:TheBlackCat:branches:devel:languages:python:numeric

- Update to 0.13
  * Improve readme about library usage
  * Make cluster be 0,1...,n_clusters in the special case of no links
  * Include tests in sdists
  * Include license and documentation in sdists

OBS-URL: https://build.opensuse.org/request/show/662860
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-python-louvain?expand=0&rev=3
This commit is contained in:
Todd R
2019-01-04 16:52:19 +00:00
committed by Git OBS Bridge
parent 53de5c88be
commit 048ed5d5d1
4 changed files with 19 additions and 7 deletions

View File

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

View File

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

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Dec 22 04:01:47 UTC 2018 - Todd R <toddrme2178@gmail.com>
- Update to 0.13
* Improve readme about library usage
* Make cluster be 0,1...,n_clusters in the special case of no links
* Include tests in sdists
* Include license and documentation in sdists
-------------------------------------------------------------------
Thu Nov 15 00:30:43 UTC 2018 - Todd R <toddrme2178@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-louvain
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,19 +18,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-louvain
Version: 0.11
Version: 0.13
Release: 0
Summary: Louvain algorithm for community detection
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/taynaud/python-louvain
Source0: https://files.pythonhosted.org/packages/source/p/python-louvain/python-louvain-%{version}.tar.gz
Source10: https://raw.githubusercontent.com/taynaud/python-louvain/master/LICENSE
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-networkx
Requires: python-numpy
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module networkx}
@@ -47,7 +48,6 @@ Statistical Mechanics: Theory and Experiment 2008(10), P10008 (12pp)
%prep
%setup -q -n python-louvain-%{version}
cp %{SOURCE10} LICENSE
sed -i -e '/^#!\//, 1d' community/__init__.py
%build
@@ -57,6 +57,9 @@ sed -i -e '/^#!\//, 1d' community/__init__.py
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec test_community.py
%files %{python_files}
%doc README.rst
%license LICENSE