2019-04-23 12:00:56 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-httpsig_cffi
|
|
|
|
#
|
2021-05-31 20:28:40 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2019-04-23 12:00:56 +00:00
|
|
|
#
|
|
|
|
# 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/
|
2019-04-24 08:41:23 +00:00
|
|
|
#
|
2019-04-23 12:00:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
Name: python-httpsig_cffi
|
|
|
|
Version: 15.0.0
|
|
|
|
Release: 0
|
|
|
|
Summary: Secure HTTP request signing using the HTTP Signature draft specification
|
2019-04-24 08:41:23 +00:00
|
|
|
License: MIT
|
2019-04-23 12:00:56 +00:00
|
|
|
Group: Development/Languages/Python
|
2019-04-24 08:41:23 +00:00
|
|
|
URL: https://github.com/hawkowl/httpsig_cffi
|
2019-04-23 12:00:56 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/h/httpsig_cffi/httpsig_cffi-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2019-04-24 08:41:23 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
Requires: python-cryptography
|
|
|
|
Requires: python-requests
|
|
|
|
Requires: python-six
|
|
|
|
BuildArch: noarch
|
2019-04-23 12:00:56 +00:00
|
|
|
# SECTION test requirements
|
|
|
|
BuildRequires: %{python_module cryptography}
|
|
|
|
BuildRequires: %{python_module requests}
|
|
|
|
BuildRequires: %{python_module six}
|
|
|
|
# /SECTION
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
Secure HTTP request signing using the HTTP Signature draft specification
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n httpsig_cffi-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%check
|
2021-05-31 20:28:40 +00:00
|
|
|
%pyunittest discover -v
|
2019-04-23 12:00:56 +00:00
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%doc CHANGELOG.rst README.rst
|
|
|
|
%license LICENSE.txt
|
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
%changelog
|