From 2dd437f426f0697fab336f4ca8e93aefbc989fc7 Mon Sep 17 00:00:00 2001 From: FrantiĊĦek Zatloukal Date: Jun 09 2019 16:57:06 +0000 Subject: Initial package upload --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2e78200 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/pytest-xprocess-0.12.1.tar.gz diff --git a/python-pytest-xprocess.spec b/python-pytest-xprocess.spec new file mode 100644 index 0000000..cd0dddf --- /dev/null +++ b/python-pytest-xprocess.spec @@ -0,0 +1,68 @@ +# Created by pyp2rpm-3.3.2 +%global pypi_name pytest-xprocess + +Name: python-%{pypi_name} +Version: 0.12.1 +Release: 1%{?dist} +Summary: Pytest plugin to manage external processes across test runs + +License: MIT +URL: https://github.com/pytest-dev/pytest-xprocess/ +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(psutil) +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(pytest-cache) +BuildRequires: python3dist(setuptools) + +%description +Experimental py.test <>_ plugin for managing processes across test runs.Usage +install via:: pip install pytest-xprocessThis will provide a xprocess fixture +which helps you to ensure that one ore more longer-running processes are +present for your tests. You can use it to start and pre-configure test-specific +databases (Postgres, Couchdb, ...).Additionally there are two new command +line... + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3dist(psutil) +Requires: python3dist(pytest) +Requires: python3dist(pytest-cache) +Requires: python3dist(setuptools) +%description -n python3-%{pypi_name} +Experimental py.test <>_ plugin for managing processes across test runs.Usage +install via:: pip install pytest-xprocessThis will provide a xprocess fixture +which helps you to ensure that one ore more longer-running processes are +present for your tests. You can use it to start and pre-configure test-specific +databases (Postgres, Couchdb, ...).Additionally there are two new command +line... + + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info +# Remove executable bit from README +chmod -x README.rst + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/__pycache__/* +%{python3_sitelib}/pytest_xprocess.py +%{python3_sitelib}/xprocess.py +%{python3_sitelib}/pytest_xprocess-%{version}-py?.?.egg-info + +%changelog +* Sun Jun 09 2019 Frantisek Zatloukal - 0.12.1-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..56129ba --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pytest-xprocess-0.12.1.tar.gz) = fda868a12a056070afd5838c4bc466b4906a7138f685d4a0e6e0adbd975e5a1a2b9b37b8de36a45fb700e02ca14ae219cfe29c467f8d03e55d2a375a7efc9927