2016-02-11 17:15:29 +01:00
|
|
|
#
|
|
|
|
# spec file for package python-betamax
|
|
|
|
#
|
2024-04-20 15:44:14 +02:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2016-02-11 17:15:29 +01: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.
|
|
|
|
|
2018-12-13 10:24:34 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-06-07 10:11:03 +02:00
|
|
|
#
|
2016-02-11 17:15:29 +01:00
|
|
|
|
|
|
|
|
2023-04-21 16:52:38 +02:00
|
|
|
%{?sle15_python_module_pythons}
|
2016-02-11 17:15:29 +01:00
|
|
|
Name: python-betamax
|
2024-04-20 15:44:14 +02:00
|
|
|
Version: 0.9.0
|
2016-02-11 17:15:29 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: A VCR imitation for python-requests
|
2016-06-07 10:11:03 +02:00
|
|
|
License: Apache-2.0
|
2016-02-11 17:15:29 +01:00
|
|
|
Group: Development/Languages/Python
|
2023-04-21 16:52:38 +02:00
|
|
|
URL: https://github.com/sigmavirus24/betamax
|
2024-04-20 15:44:14 +02:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/b/betamax/betamax-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module pip}
|
2017-05-16 17:57:49 +02:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2024-04-20 15:44:14 +02:00
|
|
|
BuildRequires: %{python_module wheel}
|
2017-05-16 17:57:49 +02:00
|
|
|
BuildRequires: python-rpm-macros
|
2016-06-07 10:11:03 +02:00
|
|
|
Requires: python-requests >= 2.0
|
2016-02-11 17:15:29 +01:00
|
|
|
BuildArch: noarch
|
2017-05-16 17:57:49 +02:00
|
|
|
%python_subpackages
|
2016-02-11 17:15:29 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Betamax is a VCR_ imitation for requests. This will make mocking out requests
|
|
|
|
much easier.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n betamax-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-04-20 15:44:14 +02:00
|
|
|
%pyproject_wheel
|
2016-02-11 17:15:29 +01:00
|
|
|
|
|
|
|
%install
|
2024-04-20 15:44:14 +02:00
|
|
|
%pyproject_install
|
2016-02-11 17:15:29 +01:00
|
|
|
|
2017-05-16 17:57:49 +02:00
|
|
|
%files %{python_files}
|
2018-12-13 10:25:56 +01:00
|
|
|
%doc AUTHORS.rst README.rst
|
|
|
|
%license LICENSE
|
2024-04-20 15:44:14 +02:00
|
|
|
%{python_sitelib}/betamax
|
|
|
|
%{python_sitelib}/betamax-%{version}.dist-info
|
2016-02-11 17:15:29 +01:00
|
|
|
|
|
|
|
%changelog
|