Projects
Eulaceura:Factory
python-httmock
_service:obs_scm:python-httmock.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-httmock.spec of Package python-httmock
%{?python_enable_dependency_generator} # Created by pyp2rpm-3.3.0 %global pypi_name httmock Name: python-%{pypi_name} Version: 1.4.0 Release: 1 Summary: A mocking library for requests License: ASL 2.0 URL: https://github.com/patrys/httmock Source0: https://github.com/patrys/httmock/archive/refs/tags/%{version}.tar.gz Source1: https://raw.githubusercontent.com/patrys/httmock/%{version}/tests.py BuildArch: noarch %description A mocking library for requests for Python. You can use it to mock third-party APIs and test libraries that use requests internally. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3dist(requests) >= 1 %description -n python3-%{pypi_name} A mocking library for requests for Python. You can use it to mock third-party APIs and test libraries that use requests internally. %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info cp %{SOURCE1} . %build %py3_build %install %py3_install %check %{__python3} setup.py test %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitelib}/__pycache__/* %{python3_sitelib}/%{pypi_name}.py %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog * Tue Jun 14 2022 xigaoxinyan <xigaoxinyanA@h-partners.com> - 1.4.0-1 - Update to 1.4.0 * Thu Mar 31 2022 xigaoxinyan <xigaoxinyan@huawei.com> - 1.3.0-2 - Fix build error caused by py3.10+ wildcard * Thu Dec 17 2020 jiangxinyu <jiangxinyu@kylinos.cn> - 1.3.0-1 - Init httmock project
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2