17
0

- Update to 0.4.3:

* Drop support for unsupported versions of Python #23
  * Convert toolchain from pip/tox/twine to poetry
  * Replace TravisCI and Appveyor with GitHub Actions #36
  * Update for correct test output #31
  * Add renovatebot for dependecy updates #26

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-socket?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2020-04-14 09:10:39 +00:00
committed by Git OBS Bridge
parent ce6b785629
commit 151b83eb07
4 changed files with 25 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-socket
#
# Copyright (c) 2019 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
@@ -12,27 +12,27 @@
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pytest-socket
Version: 0.3.3
Version: 0.3.4
Release: 0
License: MIT
Summary: Pytest Plugin to disable socket
Url: https://github.com/miketheman/pytest-socket
Group: Development/Languages/Python
Source: https://github.com/miketheman/pytest-socket/archive/%{version}.tar.gz#/pytest-socket-%{version}.tar.gz
License: MIT
URL: https://github.com/miketheman/pytest-socket
Source: https://files.pythonhosted.org/packages/source/p/pytest-socket/pytest-socket-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 3.6.3
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest >= 3.6.3}
# /SECTION
Requires: python-pytest >= 3.6.3
BuildArch: noarch
%python_subpackages
%description
@@ -49,8 +49,8 @@ A Pytest Plugin to disable socket calls during tests.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Tests require a network connection
# %%check
# %%pytest
#%%check
#%%pytest
%files %{python_files}
%doc README.rst