From b39244ce00c4a229a03b8ac4c0284f5f47631878 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Wed, 8 Dec 2021 12:04:09 -0800 Subject: - python-pytest-services Signed-off-by: Michel Alexandre Salim --- python/python-pytest-services.spec | 70 -------------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 python/python-pytest-services.spec (limited to 'python/python-pytest-services.spec') diff --git a/python/python-pytest-services.spec b/python/python-pytest-services.spec deleted file mode 100644 index 8bce32d..0000000 --- a/python/python-pytest-services.spec +++ /dev/null @@ -1,70 +0,0 @@ -%global srcname pytest-services -%global forgeurl https://github.com/pytest-dev/%{srcname} - -Name: python-%{srcname} -Version: 2.2.1 -Release: %autorelease -Summary: Services plugin for pytest - -License: MIT -URL: %{forgeurl} -Source0: %{pypi_source %{srcname}} -Patch0: %{srcname}-flake8.patch - -BuildArch: noarch - -BuildRequires: python3-devel -BuildRequires: pyproject-rpm-macros -# Test dependencies: -BuildRequires: python3dist(pytest) -BuildRequires: memcached - -%global common_description %{expand: -This plugin provides a set of fixtures and utility functions to start service -processes for your tests with pytest.} - -%description %{common_description} - - -%package -n python3-%{srcname} -Summary: %{summary} - -%description -n python3-%{srcname} %{common_description} - - -%prep -%autosetup -p1 -n %{srcname}-%{version} -# we don't care about upstream's PEP8 lint checks -# (and need to port it to flake8 if we do) -sed -i '/^pytest-pep8$/d' requirements-testing.txt - -%generate_buildrequires -# not using -t as tox.ini has extra cruft -%pyproject_buildrequires -r requirements-testing.txt - - -%build -%pyproject_wheel - - -%install -%pyproject_install -%pyproject_save_files pytest_services - - -%check -k="$(awk 'NR>1 {pre=" and " } { printf "%snot %s", pre, $0 }' <