|
|
816975d |
%global pypi_name pytest-venv
|
|
|
816975d |
|
|
|
816975d |
Name: python-%{pypi_name}
|
|
|
816975d |
Version: 0.2
|
|
|
286ae82 |
Release: 6%{?dist}
|
|
|
816975d |
Summary: py.test fixture for creating a virtual environment
|
|
|
816975d |
|
|
|
816975d |
License: MIT
|
|
|
816975d |
URL: https://github.com/mmerickel/pytest-venv
|
|
|
816975d |
Source0: %{pypi_source}
|
|
|
816975d |
BuildArch: noarch
|
|
|
816975d |
|
|
|
816975d |
BuildRequires: python3-devel
|
|
|
816975d |
BuildRequires: pyproject-rpm-macros
|
|
|
816975d |
|
|
|
816975d |
%description
|
|
|
816975d |
pytest-venv is a simple pytest plugin that exposes a venv fixture.
|
|
|
816975d |
The fixture is used to create a new virtual environment which can be used to
|
|
|
816975d |
install packages and run commands inside tests.
|
|
|
816975d |
|
|
|
816975d |
%package -n python3-%{pypi_name}
|
|
|
816975d |
Summary: %{summary}
|
|
|
816975d |
Requires: python3dist(pytest)
|
|
|
816975d |
|
|
|
816975d |
%description -n python3-%{pypi_name}
|
|
|
816975d |
pytest-venv is a simple pytest plugin that exposes a venv fixture.
|
|
|
816975d |
The fixture is used to create a new virtual environment which can be used to
|
|
|
816975d |
install packages and run commands inside tests.
|
|
|
816975d |
|
|
|
816975d |
%prep
|
|
|
816975d |
%autosetup -n %{pypi_name}-%{version}
|
|
|
8921519 |
sed -i '/pytest-cov/d' setup.py
|
|
|
816975d |
|
|
|
12bbd6f |
%generate_buildrequires
|
|
|
12bbd6f |
%pyproject_buildrequires -r -x testing
|
|
|
12bbd6f |
|
|
|
816975d |
%build
|
|
|
816975d |
%pyproject_wheel
|
|
|
816975d |
|
|
|
816975d |
%install
|
|
|
816975d |
%pyproject_install
|
|
|
816975d |
%pyproject_save_files pytest_venv
|
|
|
816975d |
|
|
|
816975d |
%check
|
|
|
816975d |
%pytest -k "not test_it_installs_dep and not test_it_upgrades_dep"
|
|
|
816975d |
|
|
|
816975d |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
|
816975d |
%license LICENSE.txt
|
|
|
816975d |
%doc README.rst
|
|
|
816975d |
|
|
|
816975d |
%changelog
|
|
|
286ae82 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-6
|
|
|
286ae82 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
286ae82 |
|
|
|
2844a91 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-5
|
|
|
2844a91 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
2844a91 |
|
|
|
18e8b06 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2-4
|
|
|
18e8b06 |
- Rebuilt for Python 3.10
|
|
|
18e8b06 |
|
|
|
93fcf74 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-3
|
|
|
93fcf74 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
93fcf74 |
|
|
|
8921519 |
* Fri Nov 13 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2-2
|
|
|
8921519 |
- Don't BR pytest-cov
|
|
|
8921519 |
|
|
|
816975d |
* Thu Jul 09 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2-1
|
|
|
816975d |
- Initial package.
|