From 3b7b529efd855feaee8cefd118303b40f59c1170 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Sep 11 2021 08:28:14 +0000 Subject: Import python-pytest-trio-0.7.0-2.el9 in CloudSIG xena --- diff --git a/.python-pytest-trio.metadata b/.python-pytest-trio.metadata new file mode 100644 index 0000000..aca6fcc --- /dev/null +++ b/.python-pytest-trio.metadata @@ -0,0 +1 @@ +fa0fd4d2871ea55663a88ddae7005ff82f02cf9d SOURCES/pytest-trio-0.7.0.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..227f65c --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# python-pytest-trio + +The python-pytest-trio package \ No newline at end of file diff --git a/SPECS/python-pytest-trio.spec b/SPECS/python-pytest-trio.spec new file mode 100644 index 0000000..8a7a413 --- /dev/null +++ b/SPECS/python-pytest-trio.spec @@ -0,0 +1,89 @@ +%global pypi_name pytest-trio + +Name: python-%{pypi_name} +Version: 0.7.0 +Release: 2%{?dist} +Summary: Pytest plugin for trio + +License: MIT or ASL 2.0 +URL: https://github.com/python-trio/pytest-trio +Source0: https://github.com/python-trio/pytest-trio/archive/v%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +%description +This is a pytest plugin to help you test projects that use Trio, a friendly +library for concurrency and async I/O in Python. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: python3-async-generator +BuildRequires: python3-pytest +BuildRequires: python3-hypothesis +BuildRequires: python3-setuptools +BuildRequires: python3-trio +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +This is a pytest plugin to help you test projects that use Trio, a friendly +library for concurrency and async I/O in Python. + +%package -n python-%{pypi_name}-doc +Summary: pytest-trio documentation + +BuildRequires: python3-sphinx +#BuildRequires: python3-sphinxcontrib-trio +BuildRequires: python3-sphinx_rtd_theme + +%description -n python-%{pypi_name}-doc +Documentation for %{name}. + +%prep +%autosetup -n %{pypi_name}-%{version} +rm -rf %{pypi_name}.egg-info +sed -i /RemovedInPytest4Warning/d pytest_trio/_tests/conftest.py + +%build +%py3_build +#PYTHONPATH=${PWD} sphinx-build-3 docs/source html +#rm -rf html/.{doctrees,buildinfo} + +%install +%py3_install + +# https://github.com/python-trio/pytest-trio/issues/84 +#%check +#PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v pytest_trio + +%files -n python3-%{pypi_name} +%license LICENSE.MIT LICENSE LICENSE.APACHE2 +%doc README.rst +%{python3_sitelib}/pytest_trio/ +%{python3_sitelib}/pytest_trio-%{version}-py%{python3_version}.egg-info + +%files -n python-%{pypi_name}-doc +#%doc html +%license LICENSE.MIT LICENSE LICENSE.APACHE2 + +%changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Jan 07 2021 Joel Capitao - 0.7.0-1 +- Update to latest upstream release 0.7.0 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jun 04 2020 Fabian Affolter - 0.6.0-1 +- Update to latest upstream release 0.6.0 + +* Tue May 26 2020 Miro HronĨok - 0.5.2-3 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jan 01 2020 Fabian Affolter - 0.5.2-1 +- Initial package for Fedora