forked from pool/python-sortinghat
Accepting request 526761 from home:sebix
OBS-URL: https://build.opensuse.org/request/show/526761 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sortinghat?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
4
python-sortinghat.changes
Normal file
4
python-sortinghat.changes
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 15 13:51:34 UTC 2017 - sebix+novell.com@sebix.at
|
||||||
|
|
||||||
|
- inital package for version 0.4.0
|
92
python-sortinghat.spec
Normal file
92
python-sortinghat.spec
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-sortinghat
|
||||||
|
#
|
||||||
|
# Copyright (c) 2017 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
|
||||||
|
# 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 http://bugs.opensuse.org/
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without test
|
||||||
|
Name: python-sortinghat
|
||||||
|
Version: 0.4.0
|
||||||
|
Release: 0
|
||||||
|
License: GPL-3.0
|
||||||
|
Summary: A tool to manage identities
|
||||||
|
Url: https://github.com/grimoirelab/sortinghat
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/s/sortinghat/sortinghat-%{version}.tar.gz
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module Jinja2 >= 2.7}
|
||||||
|
BuildRequires: %{python_module pandas >= 0.15}
|
||||||
|
BuildRequires: %{python_module PyMySQL}
|
||||||
|
BuildRequires: %{python_module python-dateutil >= 2.6.0}
|
||||||
|
BuildRequires: %{python_module SQLAlchemy >= 1.0.0}
|
||||||
|
%endif
|
||||||
|
BuildRequires: fdupes
|
||||||
|
Requires: python-Jinja2 >= 2.7
|
||||||
|
Recommends: python-pandas >= 0.15
|
||||||
|
Recommends: python-PyMySQL
|
||||||
|
Requires: python-python-dateutil >= 2.6.0
|
||||||
|
Requires: python-SQLAlchemy >= 1.0.0
|
||||||
|
%ifpython2
|
||||||
|
Recommends: python-MySQLdb
|
||||||
|
%endif
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Sorting Hat maintains an SQL database with identities coming
|
||||||
|
(potentially) from different sources. Identities corresponding to the
|
||||||
|
same real person can be merged in the same unique identity, with a
|
||||||
|
unique uuid. For each unique identity, a profile can be defined, with
|
||||||
|
the name and other data to show for the corresponding person by default.
|
||||||
|
|
||||||
|
In addition, each unique identity can be related to one or more
|
||||||
|
affiliations, for different time periods. This will usually correspond
|
||||||
|
to different organizations in which the person was employed during those
|
||||||
|
time periods.
|
||||||
|
|
||||||
|
Sorting Hat is a part of the GrimoireLab toolset
|
||||||
|
<https://grimoirelab.github.io>, which provides for Python
|
||||||
|
modules and scripts to analyze data sources with information about
|
||||||
|
software development, and allows to produce interactive dashboards to
|
||||||
|
visualize that information.
|
||||||
|
|
||||||
|
In the context of GrimoireLab, Sorting Hat is usually run after data is
|
||||||
|
retrieved with Perceval <https://github.com/grimmoirelab/perceval>,
|
||||||
|
to store the identities obtained into its database, and later merge them
|
||||||
|
into unique identities (and maybe affiliate them).
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n sortinghat-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README.md
|
||||||
|
%python3_only %{_bindir}/mg2sh
|
||||||
|
%python3_only %{_bindir}/sh2mg
|
||||||
|
%python3_only %{_bindir}/sortinghat
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
%changelog
|
3
sortinghat-0.4.0.tar.gz
Normal file
3
sortinghat-0.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:41832317503909dd83a44965cb31c305b7bb76ffa1fa72ffc9011663c25ceefd
|
||||||
|
size 67401
|
Reference in New Issue
Block a user