commit python-sortinghat for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortinghat for openSUSE:Factory checked in at 2020-06-10 00:46:51 Comparing /work/SRC/openSUSE:Factory/python-sortinghat (Old) and /work/SRC/openSUSE:Factory/.python-sortinghat.new.3606 (New) Package is "python-sortinghat" Wed Jun 10 00:46:51 2020 rev:7 rq:811741 version:0.7.7 Changes: --- /work/SRC/openSUSE:Factory/python-sortinghat/python-sortinghat.changes 2020-05-19 14:59:11.125493978 +0200 +++ /work/SRC/openSUSE:Factory/.python-sortinghat.new.3606/python-sortinghat.changes 2020-06-10 00:46:52.954704101 +0200 @@ -1,0 +2,6 @@ +Thu Jun 4 07:19:33 UTC 2020 - pgaj...@suse.com + +- specify database name trough %mysql_testserver_start parameter +- alternatives in loop + +--- Other differences: -- ++ python-sortinghat.spec ++ --- /var/tmp/diff_new_pack.fy1Etq/_old 2020-06-10 00:46:53.610705739 +0200 +++ /var/tmp/diff_new_pack.fy1Etq/_new 2020-06-10 00:46:53.614705749 +0200 @@ -16,6 +16,8 @@ # +%define binaries stackalytics2sh mozilla2sh mailmap2sh grimoirelab2sh gitdm2sh eclipse2sh sortinghat sh2mg mg2sh + %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-sortinghat @@ -95,15 +97,9 @@ %install %python_install -%python_clone -a %{buildroot}%{_bindir}/stackalytics2sh -%python_clone -a %{buildroot}%{_bindir}/mozilla2sh -%python_clone -a %{buildroot}%{_bindir}/mailmap2sh -%python_clone -a %{buildroot}%{_bindir}/grimoirelab2sh -%python_clone -a %{buildroot}%{_bindir}/gitdm2sh -%python_clone -a %{buildroot}%{_bindir}/eclipse2sh -%python_clone -a %{buildroot}%{_bindir}/sortinghat -%python_clone -a %{buildroot}%{_bindir}/sh2mg -%python_clone -a %{buildroot}%{_bindir}/mg2sh +for b in %{binaries}; do + %python_clone -a %{buildroot}%{_bindir}/$b +done %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -111,17 +107,19 @@ user=auth_db_user pass=auth_db_pass port=63306 +dbname=testhat run_dir=/tmp/mysql # # start the mariadb server # -%mysql_testserver_start -u $user -p $pass -t $port +%mysql_testserver_start -u $user -p $pass -t $port -d $dbname # # running the test # +# this is read by TestDatabaseCaseBase.setUpClass cat << EOF > tests/tests.conf [Database] -name=testhat +name=$dbname host=127.0.0.1 port=$port user=$user @@ -137,26 +135,14 @@ exit $exit_code %post -%python_install_alternative stackalytics2sh -%python_install_alternative mozilla2sh -%python_install_alternative mailmap2sh -%python_install_alternative grimoirelab2sh -%python_install_alternative gitdm2sh -%python_install_alternative eclipse2sh -%python_install_alternative sortinghat -%python_install_alternative sh2mg -%python_install_alternative mg2sh +for b in %{binaries}; do + %python_install_alternative $b +done %postun -%python_uninstall_alternative stackalytics2sh -%python_uninstall_alternative mozilla2sh -%python_uninstall_alternative mailmap2sh -%python_uninstall_alternative grimoirelab2sh -%python_uninstall_alternative gitdm2sh -%python_uninstall_alternative eclipse2sh -%python_uninstall_alternative sortinghat -%python_uninstall_alternative sh2mg -%python_uninstall_alternative mg2sh +for b in %{binaries}; do + %python_uninstall_alternative stackalytics2sh +done %files %{python_files} %doc NEWS README.md
commit python-sortinghat for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortinghat for openSUSE:Factory checked in at 2020-05-19 14:59:01 Comparing /work/SRC/openSUSE:Factory/python-sortinghat (Old) and /work/SRC/openSUSE:Factory/.python-sortinghat.new.2738 (New) Package is "python-sortinghat" Tue May 19 14:59:01 2020 rev:6 rq:807294 version:0.7.7 Changes: --- /work/SRC/openSUSE:Factory/python-sortinghat/python-sortinghat.changes 2020-03-18 12:46:06.620981926 +0100 +++ /work/SRC/openSUSE:Factory/.python-sortinghat.new.2738/python-sortinghat.changes 2020-05-19 14:59:11.125493978 +0200 @@ -1,0 +2,5 @@ +Tue May 19 09:28:07 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +--- Other differences: -- ++ python-sortinghat.spec ++ --- /var/tmp/diff_new_pack.8DE0nN/_old 2020-05-19 14:59:14.253500914 +0200 +++ /var/tmp/diff_new_pack.8DE0nN/_new 2020-05-19 14:59:14.257500924 +0200 @@ -32,7 +32,19 @@ # CoerceToBool(), thus disabling Patch0: python-sortinghat-gh-121-workaround.patch BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-Jinja2 +Requires: python-PyMySQL >= 0.7.0 +Requires: python-PyYAML >= 3.12 +Requires: python-SQLAlchemy >= 1.2 +Requires: python-pandas >= 0.18.1 +Requires: python-python-dateutil >= 2.6.0 +Requires: python-requests >= 2.9 +Requires: python-urllib3 >= 1.22 +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module PyMySQL >= 0.7.0} @@ -46,17 +58,6 @@ BuildRequires: %{python_module requests >= 2.9} BuildRequires: mariadb-rpm-macros # /SECTION -BuildRequires: fdupes -Requires: python-Jinja2 -Requires: python-PyMySQL >= 0.7.0 -Requires: python-PyYAML >= 3.12 -Requires: python-SQLAlchemy >= 1.2 -Requires: python-pandas >= 0.18.1 -Requires: python-python-dateutil >= 2.6.0 -Requires: python-requests >= 2.9 -Requires: python-urllib3 >= 1.22 -BuildArch: noarch - %python_subpackages %description @@ -94,6 +95,15 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/stackalytics2sh +%python_clone -a %{buildroot}%{_bindir}/mozilla2sh +%python_clone -a %{buildroot}%{_bindir}/mailmap2sh +%python_clone -a %{buildroot}%{_bindir}/grimoirelab2sh +%python_clone -a %{buildroot}%{_bindir}/gitdm2sh +%python_clone -a %{buildroot}%{_bindir}/eclipse2sh +%python_clone -a %{buildroot}%{_bindir}/sortinghat +%python_clone -a %{buildroot}%{_bindir}/sh2mg +%python_clone -a %{buildroot}%{_bindir}/mg2sh %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -126,17 +136,39 @@ %mysql_testserver_stop exit $exit_code +%post +%python_install_alternative stackalytics2sh +%python_install_alternative mozilla2sh +%python_install_alternative mailmap2sh +%python_install_alternative grimoirelab2sh +%python_install_alternative gitdm2sh +%python_install_alternative eclipse2sh +%python_install_alternative sortinghat +%python_install_alternative sh2mg +%python_install_alternative mg2sh + +%postun +%python_uninstall_alternative stackalytics2sh +%python_uninstall_alternative mozilla2sh +%python_uninstall_alternative mailmap2sh +%python_uninstall_alternative grimoirelab2sh +%python_uninstall_alternative gitdm2sh +%python_uninstall_alternative eclipse2sh +%python_uninstall_alternative sortinghat +%python_uninstall_alternative sh2mg +%python_uninstall_alternative mg2sh + %files %{python_files} %doc NEWS README.md -%python3_only %{_bindir}/mg2sh -%python3_only %{_bindir}/sh2mg -%python3_only %{_bindir}/sortinghat -%python3_only %{_bindir}/eclipse2sh -%python3_only %{_bindir}/gitdm2sh -%python3_only %{_bindir}/grimoirelab2sh -%python3_only %{_bindir}/mailmap2sh -%python3_only %{_bindir}/mozilla2sh -%python3_only %{_bindir}/stackalytics2sh +%python_alternative %{_bindir}/mg2sh +%python_alternative %{_bindir}/sh2mg +%python_alternative %{_bindir}/sortinghat +%python_alternative %{_bindir}/eclipse2sh +%python_alternative %{_bindir}/gitdm2sh +%python_alternative %{_bindir}/grimoirelab2sh +%python_alternative %{_bindir}/mailmap2sh +%python_alternative %{_bindir}/mozilla2sh +%python_alternative %{_bindir}/stackalytics2sh %{python_sitelib}/* %changelog
commit python-sortinghat for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortinghat for openSUSE:Factory checked in at 2020-03-18 12:41:37 Comparing /work/SRC/openSUSE:Factory/python-sortinghat (Old) and /work/SRC/openSUSE:Factory/.python-sortinghat.new.3160 (New) Package is "python-sortinghat" Wed Mar 18 12:41:37 2020 rev:5 rq:785968 version:0.7.7 Changes: --- /work/SRC/openSUSE:Factory/python-sortinghat/python-sortinghat.changes 2020-02-28 15:21:50.061953353 +0100 +++ /work/SRC/openSUSE:Factory/.python-sortinghat.new.3160/python-sortinghat.changes 2020-03-18 12:46:06.620981926 +0100 @@ -1,0 +2,6 @@ +Tue Mar 17 14:11:53 UTC 2020 - pgaj...@suse.com + +- version update to 0.7.7 + * no minor version changelog found + +--- Old: sortinghat-0.7.6.tar.gz tests.tar.bz2 New: sortinghat-0.7.7.tar.gz Other differences: -- ++ python-sortinghat.spec ++ --- /var/tmp/diff_new_pack.WsZKjg/_old 2020-03-18 12:46:09.272983603 +0100 +++ /var/tmp/diff_new_pack.WsZKjg/_new 2020-03-18 12:46:09.280983608 +0100 @@ -19,15 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-sortinghat -Version:0.7.6 +Version:0.7.7 Release:0 Summary:A tool to manage identities License:GPL-3.0-only Group: Development/Languages/Python URL:https://github.com/grimoirelab/sortinghat Source0: https://files.pythonhosted.org/packages/source/s/sortinghat/sortinghat-%{version}.tar.gz -# https://github.com/chaoss/grimoirelab-sortinghat/issues/207#issuecomment-534094890 -Source1:tests.tar.bz2 # workaround for https://github.com/chaoss/grimoirelab-sortinghat/issues/121 # reverting https://github.com/chaoss/grimoirelab-sortinghat/commit/5f69ed899c94584de17d47b37152098f64012e10 # plus, test_is_top_domain_invalid_type and test_is_bot_invalid_type tests exception thrown from @@ -87,9 +85,9 @@ into unique identities (and maybe affiliate them). %prep -%setup -q -a1 -n sortinghat-%{version} +%setup -q -n sortinghat-%{version} %patch0 -p1 -sed -i "s/\('pandoc'\|'wheel',\)//" setup.py +sed -i -e "s/\('pandoc'\|'wheel',\)//" -e 's/==/>=/' setup.py %build %python_build @@ -111,10 +109,15 @@ # # running the test # -cp tests/tests.conf.sample tests/tests.conf -sed -i -e "s/3306/$port/" \ - -e "s/\(user=\)/\1$user/" \ - -e "s/\(password=\)/\1$pass/" tests/tests.conf +cat << EOF > tests/tests.conf +[Database] +name=testhat +host=127.0.0.1 +port=$port +user=$user +password=$pass +create=False +EOF sed -i -e "s/'3306'/self.kwargs['port']/" tests/test_cmd_init.py %{python_expand $python setup.py test || exit_code=1} # ++ sortinghat-0.7.6.tar.gz -> sortinghat-0.7.7.tar.gz ++ 25494 lines of diff (skipped)
commit python-sortinghat for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortinghat for openSUSE:Factory checked in at 2020-02-28 15:21:48 Comparing /work/SRC/openSUSE:Factory/python-sortinghat (Old) and /work/SRC/openSUSE:Factory/.python-sortinghat.new.26092 (New) Package is "python-sortinghat" Fri Feb 28 15:21:48 2020 rev:4 rq:780217 version:0.7.6 Changes: --- /work/SRC/openSUSE:Factory/python-sortinghat/python-sortinghat.changes 2019-12-24 14:29:56.314575034 +0100 +++ /work/SRC/openSUSE:Factory/.python-sortinghat.new.26092/python-sortinghat.changes 2020-02-28 15:21:50.061953353 +0100 @@ -1,0 +2,5 @@ +Tue Feb 11 15:58:25 UTC 2020 - pgaj...@suse.com + +- %check: choose better database user name + +--- Other differences: -- ++ python-sortinghat.spec ++ --- /var/tmp/diff_new_pack.uAhNtD/_old 2020-02-28 15:21:51.353955983 +0100 +++ /var/tmp/diff_new_pack.uAhNtD/_new 2020-02-28 15:21:51.357955991 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-sortinghat # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -100,8 +100,8 @@ %check exit_code=0 -user=abuild -pass=abuildpw +user=auth_db_user +pass=auth_db_pass port=63306 run_dir=/tmp/mysql #
commit python-sortinghat for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortinghat for openSUSE:Factory checked in at 2019-12-24 14:29:51 Comparing /work/SRC/openSUSE:Factory/python-sortinghat (Old) and /work/SRC/openSUSE:Factory/.python-sortinghat.new.6675 (New) Package is "python-sortinghat" Tue Dec 24 14:29:51 2019 rev:3 rq:755912 version:0.7.6 Changes: --- /work/SRC/openSUSE:Factory/python-sortinghat/python-sortinghat.changes 2018-12-24 11:44:11.973302788 +0100 +++ /work/SRC/openSUSE:Factory/.python-sortinghat.new.6675/python-sortinghat.changes 2019-12-24 14:29:56.314575034 +0100 @@ -1,0 +2,24 @@ +Fri Dec 6 18:01:12 UTC 2019 - pgaj...@suse.com + +- run the testsuite against test mysqld server + +--- +Mon Sep 23 13:57:05 UTC 2019 - pgaj...@suse.com + +- version update to 0.7.6 + **NOTICE: Database schema generated by SortingHat < 0.7.0 is still +compatible but older versions can have problems inserting UTF-8 +characters of 4 bytes. + **Python 2.7 is no longer supported. + **NOTICE: Database schema generated by SortingHat < 0.6.0 are no longer +compatible. Please check "Compatibility between versions" section from +README.md file** + **NOTICE: Database schema generated by SortingHat < 0.5.0 are no longer +compatible. Please check "Compatibility between versions" section from +README.md file** +- added patches + https://github.com/chaoss/grimoirelab-sortinghat/issues/121 + + python-sortinghat-gh-121-workaround.patch +- python3-only package + +--- Old: sortinghat-0.4.3.tar.gz New: python-sortinghat-gh-121-workaround.patch sortinghat-0.7.6.tar.gz tests.tar.bz2 Other differences: -- ++ python-sortinghat.spec ++ --- /var/tmp/diff_new_pack.s3MkKC/_old 2019-12-24 14:29:57.582575648 +0100 +++ /var/tmp/diff_new_pack.s3MkKC/_new 2019-12-24 14:29:57.590575651 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-sortinghat # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,32 +17,46 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test +%define skip_python2 1 Name: python-sortinghat -Version:0.4.3 +Version:0.7.6 Release:0 Summary:A tool to manage identities License:GPL-3.0-only Group: Development/Languages/Python -Url:https://github.com/grimoirelab/sortinghat -Source: https://files.pythonhosted.org/packages/source/s/sortinghat/sortinghat-%{version}.tar.gz +URL:https://github.com/grimoirelab/sortinghat +Source0: https://files.pythonhosted.org/packages/source/s/sortinghat/sortinghat-%{version}.tar.gz +# https://github.com/chaoss/grimoirelab-sortinghat/issues/207#issuecomment-534094890 +Source1:tests.tar.bz2 +# workaround for https://github.com/chaoss/grimoirelab-sortinghat/issues/121 +# reverting https://github.com/chaoss/grimoirelab-sortinghat/commit/5f69ed899c94584de17d47b37152098f64012e10 +# plus, test_is_top_domain_invalid_type and test_is_bot_invalid_type tests exception thrown from +# CoerceToBool(), thus disabling +Patch0: python-sortinghat-gh-121-workaround.patch BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros -%if %{with test} +# SECTION test requirements BuildRequires: %{python_module Jinja2} -BuildRequires: %{python_module PyMySQL} +BuildRequires: %{python_module PyMySQL >= 0.7.0} BuildRequires: %{python_module PyYAML >= 3.12} -BuildRequires: %{python_module SQLAlchemy >= 1.0.0} +BuildRequires: %{python_module SQLAlchemy >= 1.2} +BuildRequires: %{python_module httpretty >= 0.9.5} +BuildRequires: %{python_module mock} BuildRequires: %{python_module pandas >= 0.17} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil >= 2.6.0} -%endif +BuildRequires: %{python_module requests >= 2.9} +BuildRequires: mariadb-rpm-macros +# /SECTION BuildRequires: fdupes Requires: python-Jinja2 -Requires: python-PyMySQL +Requires: python-PyMySQL >= 0.7.0 Requires: python-PyYAML >= 3.12 -Requires: python-SQLAlchemy >= 1.0.0 -Requires: python-pandas >= 0.17 +Requires: python-SQLAlchemy >= 1.2 +Requires: python-pandas >= 0.18.1 Requires: python-python-dateutil >= 2.6.0 +Requires: python-requests >= 2.9 +Requires: python-urllib3 >= 1.22 BuildArch: noarch
commit python-sortinghat for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortinghat for openSUSE:Factory checked in at 2018-12-24 11:44:10 Comparing /work/SRC/openSUSE:Factory/python-sortinghat (Old) and /work/SRC/openSUSE:Factory/.python-sortinghat.new.28833 (New) Package is "python-sortinghat" Mon Dec 24 11:44:10 2018 rev:2 rq:659681 version:0.4.3 Changes: --- /work/SRC/openSUSE:Factory/python-sortinghat/python-sortinghat.changes 2018-01-10 23:29:58.886627122 +0100 +++ /work/SRC/openSUSE:Factory/.python-sortinghat.new.28833/python-sortinghat.changes 2018-12-24 11:44:11.973302788 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:54:29 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-sortinghat.spec ++ --- /var/tmp/diff_new_pack.K3Nk3V/_old 2018-12-24 11:44:12.401302408 +0100 +++ /var/tmp/diff_new_pack.K3Nk3V/_new 2018-12-24 11:44:12.405302405 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-sortinghat # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -12,7 +12,8 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -20,29 +21,28 @@ Name: python-sortinghat Version:0.4.3 Release:0 -License:GPL-3.0 Summary:A tool to manage identities -Url:https://github.com/grimoirelab/sortinghat +License:GPL-3.0-only Group: Development/Languages/Python +Url:https://github.com/grimoirelab/sortinghat 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} +BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module Jinja2} -BuildRequires: %{python_module pandas >= 0.17} BuildRequires: %{python_module PyMySQL} -BuildRequires: %{python_module python-dateutil >= 2.6.0} BuildRequires: %{python_module PyYAML >= 3.12} BuildRequires: %{python_module SQLAlchemy >= 1.0.0} +BuildRequires: %{python_module pandas >= 0.17} +BuildRequires: %{python_module python-dateutil >= 2.6.0} %endif BuildRequires: fdupes Requires: python-Jinja2 -Requires: python-pandas >= 0.17 Requires: python-PyMySQL -Requires: python-python-dateutil >= 2.6.0 Requires: python-PyYAML >= 3.12 Requires: python-SQLAlchemy >= 1.0.0 +Requires: python-pandas >= 0.17 +Requires: python-python-dateutil >= 2.6.0 BuildArch: noarch %python_subpackages