commit python-stem for openSUSE:Factory
Hello community, here is the log from the commit of package python-stem for openSUSE:Factory checked in at 2020-05-20 18:44:18 Comparing /work/SRC/openSUSE:Factory/python-stem (Old) and /work/SRC/openSUSE:Factory/.python-stem.new.2738 (New) Package is "python-stem" Wed May 20 18:44:18 2020 rev:5 rq:807156 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/python-stem/python-stem.changes 2020-03-18 12:44:56.084937310 +0100 +++ /work/SRC/openSUSE:Factory/.python-stem.new.2738/python-stem.changes 2020-05-20 18:45:11.253245294 +0200 @@ -1,0 +2,5 @@ +Tue May 19 08:03:04 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +--- Other differences: -- ++ python-stem.spec ++ --- /var/tmp/diff_new_pack.76X1QD/_old 2020-05-20 18:45:12.277247595 +0200 +++ /var/tmp/diff_new_pack.76X1QD/_new 2020-05-20 18:45:12.281247604 +0200 @@ -31,6 +31,8 @@ BuildRequires: fdupes Requires: python Requires: python-cryptography +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -46,14 +48,21 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/tor-prompt %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec run_tests.py -u +%post +%python_install_alternative tor-prompt + +%postun +%python_uninstall_alternative tor-prompt + %files %{python_files} %license LICENSE -%python3_only %{_bindir}/tor-prompt +%python_alternative %{_bindir}/tor-prompt %{python_sitelib}/* %changelog
commit python-stem for openSUSE:Factory
Hello community, here is the log from the commit of package python-stem for openSUSE:Factory checked in at 2020-03-18 12:40:35 Comparing /work/SRC/openSUSE:Factory/python-stem (Old) and /work/SRC/openSUSE:Factory/.python-stem.new.3160 (New) Package is "python-stem" Wed Mar 18 12:40:35 2020 rev:4 rq:785941 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/python-stem/python-stem.changes 2019-12-11 12:14:49.488516598 +0100 +++ /work/SRC/openSUSE:Factory/.python-stem.new.3160/python-stem.changes 2020-03-18 12:44:56.084937310 +0100 @@ -1,0 +2,8 @@ +Tue Mar 17 12:55:55 UTC 2020 - pgaj...@suse.com + +- version update to 1.8.0 + * many changes, see +https://stem.torproject.org/change_log.html#version-1-8 +- Drop merged python38.patch + +--- Old: python38.patch stem-1.7.1.tar.gz New: stem-1.8.0.tar.gz Other differences: -- ++ python-stem.spec ++ --- /var/tmp/diff_new_pack.hr8r6z/_old 2020-03-18 12:45:02.220941191 +0100 +++ /var/tmp/diff_new_pack.hr8r6z/_new 2020-03-18 12:45:02.228941196 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-stem # -# 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 @@ -19,17 +19,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-stem -Version:1.7.1 +Version:1.8.0 Release:0 Summary:Python controller library for Tor License:LGPL-3.0-only URL:https://stem.torproject.org/ Source: https://files.pythonhosted.org/packages/source/s/stem/stem-%{version}.tar.gz -Patch0: python38.patch +BuildRequires: %{python_module cryptography} BuildRequires: %{python_module setuptools} BuildRequires: %{pythons} BuildRequires: fdupes Requires: python +Requires: python-cryptography BuildArch: noarch %python_subpackages @@ -39,7 +40,6 @@ %prep %setup -q -n stem-%{version} -%patch0 -p1 %build %python_build ++ stem-1.7.1.tar.gz -> stem-1.8.0.tar.gz ++ 19701 lines of diff (skipped)
commit python-stem for openSUSE:Factory
Hello community, here is the log from the commit of package python-stem for openSUSE:Factory checked in at 2019-12-11 12:14:23 Comparing /work/SRC/openSUSE:Factory/python-stem (Old) and /work/SRC/openSUSE:Factory/.python-stem.new.4691 (New) Package is "python-stem" Wed Dec 11 12:14:23 2019 rev:3 rq:755743 version:1.7.1 Changes: --- /work/SRC/openSUSE:Factory/python-stem/python-stem.changes 2019-10-04 16:06:50.520683968 +0200 +++ /work/SRC/openSUSE:Factory/.python-stem.new.4691/python-stem.changes 2019-12-11 12:14:49.488516598 +0100 @@ -1,0 +2,5 @@ +Wed Dec 11 08:17:38 UTC 2019 - Tomáš Chvátal + +- Require full python for sqlite module + +--- Other differences: -- ++ python-stem.spec ++ --- /var/tmp/diff_new_pack.Vnkklc/_old 2019-12-11 12:14:52.052515877 +0100 +++ /var/tmp/diff_new_pack.Vnkklc/_new 2019-12-11 12:14:52.056515876 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-stem # -# Copyright (c) 2019 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 @@ -27,7 +27,9 @@ Source: https://files.pythonhosted.org/packages/source/s/stem/stem-%{version}.tar.gz Patch0: python38.patch BuildRequires: %{python_module setuptools} +BuildRequires: %{pythons} BuildRequires: fdupes +Requires: python BuildArch: noarch %python_subpackages
commit python-stem for openSUSE:Factory
Hello community, here is the log from the commit of package python-stem for openSUSE:Factory checked in at 2019-10-04 16:06:49 Comparing /work/SRC/openSUSE:Factory/python-stem (Old) and /work/SRC/openSUSE:Factory/.python-stem.new.2352 (New) Package is "python-stem" Fri Oct 4 16:06:49 2019 rev:2 rq:734614 version:1.7.1 Changes: --- /work/SRC/openSUSE:Factory/python-stem/python-stem.changes 2019-01-03 18:08:20.252049241 +0100 +++ /work/SRC/openSUSE:Factory/.python-stem.new.2352/python-stem.changes 2019-10-04 16:06:50.520683968 +0200 @@ -1,0 +2,6 @@ +Wed Oct 2 13:26:41 UTC 2019 - Tomáš Chvátal + +- Add patch to fix building with python 3.8: + * python38.patch + +--- New: python38.patch Other differences: -- ++ python-stem.spec ++ --- /var/tmp/diff_new_pack.Afw6ZT/_old 2019-10-04 16:06:51.500681645 +0200 +++ /var/tmp/diff_new_pack.Afw6ZT/_new 2019-10-04 16:06:51.508681626 +0200 @@ -23,9 +23,9 @@ Release:0 Summary:Python controller library for Tor License:LGPL-3.0-only -Group: Productivity/Networking/Security URL:https://stem.torproject.org/ Source: https://files.pythonhosted.org/packages/source/s/stem/stem-%{version}.tar.gz +Patch0: python38.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildArch: noarch @@ -37,6 +37,7 @@ %prep %setup -q -n stem-%{version} +%patch0 -p1 %build %python_build ++ python38.patch ++ >From af52d8b16f6623e3bdf0b470697b91a69b497dc2 Mon Sep 17 00:00:00 2001 From: Damian Johnson Date: Wed, 12 Jun 2019 13:18:20 -0700 Subject: Tests fail to run with python 3.8 Python's platform module removed its linux_distribution() method... https://trac.torproject.org/projects/tor/ticket/30847 https://docs.python.org/3/library/platform.html#platform.linux_distribution https://stackoverflow.com/questions/49554443/platform-linux-distribution-deprecated-what-are-the-alternatives This method was only used for display purposes to indicate the OS where the tests were ran. No big whoop if we simply omit the information. --- test/task.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/task.py b/test/task.py index be518ca..1c14e64 100644 --- a/test/task.py +++ b/test/task.py @@ -120,7 +120,10 @@ def _check_platform_version(): extra = platform.release() elif platform.system() == 'Darwin': extra = platform.release() - elif platform.system() == 'Linux': + elif platform.system() == 'Linux' and hasattr(platform, 'linux_distribution'): +# TODO: platform.linux_distribution() was removed in python 3.8 +# https://trac.torproject.org/projects/tor/ticket/30847 + extra = ' '.join(platform.linux_distribution()[:2]) else: extra = None -- cgit v1.1