forked from pool/python-pytest-pyramid-server
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
3205ea20f6 | |||
40fcea12b4 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:28ced2e7b943c59610491ada0b07abc814b15cd3e14e8cdd676b3d2f66bfb905
|
||||
size 15511
|
3
pytest-pyramid-server-1.8.0.tar.gz
Normal file
3
pytest-pyramid-server-1.8.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a8be30902e5966715a2f537e19c9a7198656c081820bafd79003b8bb9cd0407b
|
||||
size 11604
|
@@ -1,7 +1,7 @@
|
||||
Index: pytest-pyramid-server-1.7.0/pytest_pyramid_server.py
|
||||
Index: pytest-pyramid-server-1.8.0/pytest_pyramid_server.py
|
||||
===================================================================
|
||||
--- pytest-pyramid-server-1.7.0.orig/pytest_pyramid_server.py
|
||||
+++ pytest-pyramid-server-1.7.0/pytest_pyramid_server.py
|
||||
--- pytest-pyramid-server-1.8.0.orig/pytest_pyramid_server.py
|
||||
+++ pytest-pyramid-server-1.8.0/pytest_pyramid_server.py
|
||||
@@ -4,7 +4,7 @@ Created on 25 Apr 2012
|
||||
@author: eeaston
|
||||
'''
|
||||
@@ -11,3 +11,15 @@ Index: pytest-pyramid-server-1.7.0/pytest_pyramid_server.py
|
||||
import sys
|
||||
import socket
|
||||
import glob
|
||||
Index: pytest-pyramid-server-1.8.0/setup.py
|
||||
===================================================================
|
||||
--- pytest-pyramid-server-1.8.0.orig/setup.py
|
||||
+++ pytest-pyramid-server-1.8.0/setup.py
|
||||
@@ -23,7 +23,6 @@ install_requires = ['pytest-server-fixtu
|
||||
'pytest',
|
||||
'pyramid',
|
||||
'waitress',
|
||||
- 'six',
|
||||
]
|
||||
|
||||
tests_require = [
|
||||
|
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 22 06:08:51 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 1.8.0:
|
||||
* Drop support for Python 2 and <3.6, removing compatibility code.
|
||||
* Use stdlib unittest.mock instead of mock package.
|
||||
* Removed usage of path.py and path in favour of pathlib.
|
||||
- Modify python-pytest-pyramid-server-no-six.patch to remove the
|
||||
requirement completly.
|
||||
- No more greedy globs in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 8 12:05:36 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-pyramid-server
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,31 +16,30 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pytest-pyramid-server
|
||||
Version: 1.7.0
|
||||
Version: 1.8.0
|
||||
Release: 0
|
||||
Summary: Pyramid server fixture for py.test
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/manahl/pytest-plugins
|
||||
URL: https://github.com/man-group/pytest-plugins
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-pyramid-server/pytest-pyramid-server-%{version}.tar.gz
|
||||
# https://github.com/man-group/pytest-plugins/issues/209
|
||||
Patch0: python-pytest-pyramid-server-no-six.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools-git}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pyramid
|
||||
Requires: python-pytest
|
||||
Requires: python-pytest-server-fixtures
|
||||
Requires: python-six
|
||||
Requires: python-waitress
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pyramid-debugtoolbar}
|
||||
BuildRequires: %{python_module pyramid}
|
||||
BuildRequires: %{python_module pytest-server-fixtures}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module waitress}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
@@ -52,10 +51,10 @@ Pyramid server fixture for py.test.
|
||||
%autosetup -p1 -n pytest-pyramid-server-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -64,6 +63,10 @@ Pyramid server fixture for py.test.
|
||||
%files %{python_files}
|
||||
%doc CHANGES.md README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/pytest_pyramid_server.py
|
||||
%{python_sitelib}/pyramid_server_test.py
|
||||
%pycache_only %{python_sitelib}/__pycache__/pytest_pyramid_server*.pyc
|
||||
%pycache_only %{python_sitelib}/__pycache__/pyramid_server_test*.pyc
|
||||
%{python_sitelib}/pytest_pyramid_server-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user