commit 03c86dbf0f5d1f3cb690d1ae93f0e4018836fc2ff9322bffde62204e9c0d1241 Author: Jan Matejek Date: Fri Sep 22 13:55:16 2017 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-sortinghat.changes b/python-sortinghat.changes new file mode 100644 index 0000000..12e97ac --- /dev/null +++ b/python-sortinghat.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Sep 15 13:51:34 UTC 2017 - sebix+novell.com@sebix.at + +- inital package for version 0.4.0 diff --git a/python-sortinghat.spec b/python-sortinghat.spec new file mode 100644 index 0000000..23bc9c5 --- /dev/null +++ b/python-sortinghat.spec @@ -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 +, 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 , +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 diff --git a/sortinghat-0.4.0.tar.gz b/sortinghat-0.4.0.tar.gz new file mode 100644 index 0000000..02aed21 --- /dev/null +++ b/sortinghat-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41832317503909dd83a44965cb31c305b7bb76ffa1fa72ffc9011663c25ceefd +size 67401