commit python-jedihttp for openSUSE:Factory

2020-05-26 Thread root
Hello community,

here is the log from the commit of package python-jedihttp for openSUSE:Factory 
checked in at 2020-05-26 17:49:12

Comparing /work/SRC/openSUSE:Factory/python-jedihttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-jedihttp.new.2738 (New)


Package is "python-jedihttp"

Tue May 26 17:49:12 2020 rev:4 rq:808782 version:0+git.1497381496.75b8b74

Changes:

--- /work/SRC/openSUSE:Factory/python-jedihttp/python-jedihttp.changes  
2018-12-24 11:38:34.773601850 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jedihttp.new.2738/python-jedihttp.changes
2020-05-26 17:49:14.407869998 +0200
@@ -1,0 +2,5 @@
+Mon May 25 10:59:32 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-jedihttp.spec ++
--- /var/tmp/diff_new_pack.9MUDm5/_old  2020-05-26 17:49:15.815873084 +0200
+++ /var/tmp/diff_new_pack.9MUDm5/_new  2020-05-26 17:49:15.819873093 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jedihttp
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -22,6 +22,7 @@
 Release:0
 Summary:HTTP/JSON wrapper around Jedi
 # FIXME: use correct group, see 
"https://en.opensuse.org/openSUSE:Package_group_guidelines";
+# FIXME: use correct group or remove it, see 
"https://en.opensuse.org/openSUSE:Package_group_guidelines";
 License:Apache-2.0
 Group:  Development/Libraries
 URL:https://github.com/vheon/JediHTTP
@@ -43,6 +44,8 @@
 Requires:   python-jedi
 Requires:   python-waitress
 Requires:   update-alternatives
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
 %python_subpackages
 
@@ -59,13 +62,19 @@
 
 %install
 %python_install
-%python_clone %{buildroot}%{_bindir}/jedihttp-server
+%python_clone -a %{buildroot}%{_bindir}/jedihttp-server
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative jedihttp-server
+
+%postun
+%python_uninstall_alternative jedihttp-server
+
 %files %{python_files}
 %license LICENSE
 %doc README.md NOTICE
-%python3_only %{_bindir}/jedihttp-server
+%python_alternative %{_bindir}/jedihttp-server
 %{_bindir}/jedihttp-server-%{python_bin_suffix}
 %{python_sitelib}/jedihttp
 %{python_sitelib}/jedihttp-*.egg-info




commit python-jedihttp for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-jedihttp for openSUSE:Factory 
checked in at 2018-12-24 11:38:33

Comparing /work/SRC/openSUSE:Factory/python-jedihttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-jedihttp.new.28833 (New)


Package is "python-jedihttp"

Mon Dec 24 11:38:33 2018 rev:3 rq:659448 version:0+git.1497381496.75b8b74

Changes:

--- /work/SRC/openSUSE:Factory/python-jedihttp/python-jedihttp.changes  
2017-11-30 12:45:40.625295602 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jedihttp.new.28833/python-jedihttp.changes   
2018-12-24 11:38:34.773601850 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:49:27 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-jedihttp.spec ++
--- /var/tmp/diff_new_pack.SGsotK/_old  2018-12-24 11:38:35.317601367 +0100
+++ /var/tmp/diff_new_pack.SGsotK/_new  2018-12-24 11:38:35.317601367 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jedihttp
 #
-# 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,7 @@
 # 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/
 #
 
 
@@ -20,16 +20,13 @@
 Name:   python-jedihttp
 Version:0+git.1497381496.75b8b74
 Release:0
-Url:https://github.com/vheon/JediHTTP
 Summary:HTTP/JSON wrapper around Jedi
+# FIXME: use correct group, see 
"https://en.opensuse.org/openSUSE:Package_group_guidelines";
 License:Apache-2.0
 Group:  Development/Libraries
+URL:https://github.com/vheon/JediHTTP
 Source: %{name}-%{version}.tar.xz
 Patch0: build.patch
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
-Requires:   update-alternatives
-
 # For tests
 BuildRequires:  %{python_module WebTest}
 BuildRequires:  %{python_module bottle}
@@ -38,16 +35,15 @@
 BuildRequires:  %{python_module jedi}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module requests}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module waitress}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-
 Requires:   python-bottle
 Requires:   python-jedi
 Requires:   python-waitress
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Requires:   update-alternatives
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -66,9 +62,9 @@
 %python_clone %{buildroot}%{_bindir}/jedihttp-server
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files %python_files
-%defattr(-,root,root)
-%doc README.md LICENSE NOTICE
+%files %{python_files}
+%license LICENSE
+%doc README.md NOTICE
 %python3_only %{_bindir}/jedihttp-server
 %{_bindir}/jedihttp-server-%{python_bin_suffix}
 %{python_sitelib}/jedihttp




commit python-jedihttp for openSUSE:Factory

2017-11-30 Thread root
Hello community,

here is the log from the commit of package python-jedihttp for openSUSE:Factory 
checked in at 2017-11-30 12:45:35

Comparing /work/SRC/openSUSE:Factory/python-jedihttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-jedihttp.new (New)


Package is "python-jedihttp"

Thu Nov 30 12:45:35 2017 rev:2 rq:546377 version:0+git.1497381496.75b8b74

Changes:

--- /work/SRC/openSUSE:Factory/python-jedihttp/python-jedihttp.changes  
2017-08-04 11:58:28.327316828 +0200
+++ /work/SRC/openSUSE:Factory/.python-jedihttp.new/python-jedihttp.changes 
2017-11-30 12:45:40.625295602 +0100
@@ -1,0 +2,5 @@
+Wed Nov 29 09:01:45 UTC 2017 - cbosdon...@suse.com
+
+- Don't run the tests: those are too fragile
+
+---



Other differences:
--
++ python-jedihttp.spec ++
--- /var/tmp/diff_new_pack.GsBJaX/_old  2017-11-30 12:45:41.601260123 +0100
+++ /var/tmp/diff_new_pack.GsBJaX/_new  2017-11-30 12:45:41.605259977 +0100
@@ -66,9 +66,6 @@
 %python_clone %{buildroot}%{_bindir}/jedihttp-server
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%check
-%python_exec %{_bindir}/nosetests -v
-
 %files %python_files
 %defattr(-,root,root)
 %doc README.md LICENSE NOTICE