Hello community,

here is the log from the commit of package python-hug for openSUSE:Factory 
checked in at 2020-12-09 22:22:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hug (Old)
 and      /work/SRC/openSUSE:Factory/.python-hug.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hug"

Wed Dec  9 22:22:10 2020 rev:1 rq:854257 version:2.6.1

Changes:
--------
New Changes file:

--- /dev/null   2020-12-09 01:05:43.965003977 +0100
+++ /work/SRC/openSUSE:Factory/.python-hug.new.2328/python-hug.changes  
2020-12-09 22:22:11.991722754 +0100
@@ -0,0 +1,11 @@
+-------------------------------------------------------------------
+Wed Dec  9 09:17:34 UTC 2020 - Sebastian Wagner <sebix+novell....@sebix.at>
+
+- Update to version 2.6.1.
+ - Fixed issue #834: Bug in some cases when introspecting local documentation.
+- Exclude failing tests.
+
+-------------------------------------------------------------------
+Tue Nov 12 15:04:01 UTC 2019 - Sebastian Wagner <sebix+novell....@sebix.at>
+
+- initial package for version 2.6.0

New:
----
  python-hug-2.6.1.tar.gz
  python-hug.changes
  python-hug.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-hug.spec ++++++
#
# spec file for package python-hug
#
# 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
# 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 https://bugs.opensuse.org/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
# Tag/Release for 2.6.1 is missing on GitHub: 
https://github.com/hugapi/hug/issues/854
%define revision 9758507d5a0dbe9926e463b133ec9c5f44298b15
Name:           python-hug
Version:        2.6.1
Release:        0
Summary:        A Python framework for developing APIs
License:        MIT
Group:          Development/Languages/Python
URL:            https://www.hug.rest
# pypi does not contain tests
#Source:         
https://files.pythonhosted.org/packages/source/h/hug/hug-%%{version}.tar.gz
Source:         
https://github.com/hugapi/hug/archive/%{revision}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Requires:       python-falcon
Requires:       python-requests
BuildArch:      noarch
# SECTION tests
BuildRequires:  %{python_module falcon}
BuildRequires:  %{python_module marshmallow >= 3.0.0}
BuildRequires:  %{python_module mock}
BuildRequires:  %{python_module numpy}
BuildRequires:  %{python_module pytest-runner}
BuildRequires:  %{python_module requests}
# /SECTION
%python_subpackages

%description
The hug library helps to create Python APIs for multiple interfaces.

%prep
%setup -q -n hug-%{revision}

%build
%python_build

%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%check
# exclude tests failing most probably due to different library versions (hug 
uses falcon==2.0.0
%pytest -k 'not test_transform and not test_hug_post and not 
test_marshmallow_schema and not test_marshmallow_custom_context and not 
test_validate_route_args_negative_case and not test_request and not 
test_datagram_request'

%files %{python_files}
%doc ARCHITECTURE.md CHANGELOG.md FAQ.md README.md documentation/
%license LICENSE
%{python_sitelib}/*
%{_bindir}/hug

%changelog
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to