From 161de56f96520eb1215f392961cae3ff0095fa6d Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Jan 11 2023 15:46:34 +0000 Subject: Update to 0.0.8 Related-to: https://review.rdoproject.org/r/q/I654294fcc1d3079f1db78d300126c572590f7c63 --- diff --git a/.python-tox-current-env.metadata b/.python-tox-current-env.metadata new file mode 100644 index 0000000..3e4b1f6 --- /dev/null +++ b/.python-tox-current-env.metadata @@ -0,0 +1 @@ +fe19861f2be192107708e6654e6997eb1bf9bccb SOURCES/tox-current-env-0.0.8.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-tox-current-env.spec b/SPECS/python-tox-current-env.spec new file mode 100644 index 0000000..eec4417 --- /dev/null +++ b/SPECS/python-tox-current-env.spec @@ -0,0 +1,114 @@ +%global pypi_name tox-current-env +%global pypi_under tox_current_env + +Name: python-%{pypi_name} +Version: 0.0.8 +Release: 1%{?dist} +Summary: Tox plugin to run tests in current Python environment + +License: MIT +URL: https://github.com/fedora-python/tox-current-env +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: pyproject-rpm-macros + +%description +The tox-current-env plugin allows to run tests in current Python environment. + + +%package -n python%{python3_pkgversion}-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} + +%description -n python%{python3_pkgversion}-%{pypi_name} +The tox-current-env plugin allows to run tests in current Python environment. + + +%prep +%autosetup -n %{pypi_name}-%{version} + + +%generate_buildrequires +# Don't use %%pyproject_buildrequires -t/-e to avoid a build dependency loop +%pyproject_buildrequires -r + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files %{pypi_under} + + +%check +# the tests currently only work within actual tox and with various Python +# versions installed, so we skip them and do an import check only instead: +%pyproject_check_import + + +%files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files} +%doc README.rst + + +%changelog +* Wed Mar 02 2022 Miro Hrončok - 0.0.8-1 +- Update to 0.0.8 to support allowlist_externals + +* Mon Feb 07 2022 Miro Hrončok - 0.0.7-1 +- Update to 0.0.7 to pin tox < 4 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.0.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Aug 05 2021 Miro Hrončok - 0.0.6-4 +- In %%check, test if the module at least imports + +* Tue Jul 27 2021 Fedora Release Engineering - 0.0.6-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jun 02 2021 Python Maint - 0.0.6-2 +- Rebuilt for Python 3.10 + +* Mon Mar 29 2021 Miro Hrončok - 0.0.6-1 +- Update to 0.0.6 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Nov 25 2020 Miro Hrončok - 0.0.5-1 +- Update to 0.0.5 + +* Wed Nov 04 2020 Miro Hrončok - 0.0.4-1 +- Update to 0.0.4 + +* Wed Sep 30 2020 Miro Hrončok - 0.0.3-1 +- Update to 0.0.3 + +* Wed Aug 12 2020 Miro Hrončok - 0.0.2-7 +- Fix FTBFS with pyproject-rpm-macros >= 0-23 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.0.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat May 23 2020 Miro Hrončok - 0.0.2-5 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 0.0.2-3 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 0.0.2-2 +- Rebuilt for Python 3.8 + +* Mon Aug 12 2019 Miro Hrončok - 0.0.2-1 +- Update to 0.0.2 + +* Wed Jul 24 2019 Miro Hrončok - 0.0.1-1 +- Initial package