Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Factory:Rebuild
python-pytest-server-fixtures
python-pytest-server-fixtures.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pytest-server-fixtures.spec of Package python-pytest-server-fixtures
# # spec file for package python-pytest-server-fixtures # # 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 # 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/ # Name: python-pytest-server-fixtures Version: 1.8.0 Release: 0 Summary: Extensible server fixtures for pytest License: MIT URL: https://github.com/man-group/pytest-plugins Source: https://files.pythonhosted.org/packages/source/p/pytest-server-fixtures/pytest-server-fixtures-%{version}.tar.gz # PATCH-FIX-UPSTREAM gh#github.com/man-group/pytest-plugins#221 Patch0: remove-six-and-future.patch # PATCH-FIX-UPSTREAM gh#man-group/pytest-plugins#249 Patch1: fix-httpd-fixture-path.patch # PATCH-FIX-UPSTREAM gh#man-group/pytest-plugins#250 Patch2: support-64-bit-pids-xvfb.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools-git} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: redis # net-tools-deprecated's netstat and lsof needed internally Requires: lsof Requires: net-tools-deprecated Requires: python-psutil Requires: python-pytest Requires: python-pytest-fixture-config Requires: python-pytest-shutil Requires: python-requests Requires: python-retry Suggests: apache2 Suggests: postgresql-server-devel Suggests: python-boto3 Suggests: python-docker Suggests: python-kubernetes Suggests: python-psycopg2 Suggests: python-pymongo >= 3.6.0 Suggests: python-python-jenkins Suggests: python-redis Suggests: redis Suggests: xauth Suggests: xdpyinfo Suggests: xorg-x11-server BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module boto3} BuildRequires: %{python_module docker} BuildRequires: %{python_module kubernetes} BuildRequires: %{python_module psutil} BuildRequires: %{python_module psycopg2} BuildRequires: %{python_module pymongo >= 3.6.0} BuildRequires: %{python_module pytest-fixture-config} BuildRequires: %{python_module pytest-shutil} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-jenkins} BuildRequires: %{python_module redis} BuildRequires: %{python_module requests} BuildRequires: %{python_module retry} BuildRequires: apache2 BuildRequires: lsof BuildRequires: net-tools-deprecated BuildRequires: postgresql-server-devel BuildRequires: redis BuildRequires: xauth BuildRequires: xdpyinfo BuildRequires: xorg-x11-server # /SECTION %python_subpackages %description Extensible server fixtures for pytest %prep %autosetup -p1 -n pytest-server-fixtures-%{version} # Tests requiring a server rm tests/integration/test_mongo_server.py rm tests/integration/test_jenkins_server.py rm tests/integration/test_s3_server.py rm tests/unit/serverclass/test_kubernetes_unit.py # openSUSE apache2 has the mpm compiled in sed -i '/mod_mpm_prefork.so/d' pytest_server_fixtures/httpd.py %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export PATH=$HOME/bin:$PATH:%{_sbindir} export SERVER_FIXTURES_HTTPD_MODULES=%{_libdir}/apache2/ export SERVER_FIXTURES_HTTPD=httpd export SERVER_FIXTURES_REDIS=%{_sbindir}/redis-server # gh#man-group/pytest-plugins#177 %pytest -k 'not test_init' %files %{python_files} %doc CHANGES.md README.md %license LICENSE %{python_sitelib}/pytest_server_fixtures %{python_sitelib}/pytest_server_fixtures-%{version}.dist-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor