Compare commits

..

19 Commits

Author SHA1 Message Date
Fedora Release Engineering 016585cd11 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 18:00:03 +00:00
Miro Hrončok 2366fa0eb8 Update to 0.0.11 with tox 4.1.2+ support 2023-01-10 17:36:26 +01:00
Miro Hrončok 647bdaa833 Update to 0.0.10 with tox 4 support 2022-12-14 15:36:28 +01:00
Miro Hrončok 6bb0cf1583 Expand %{pypi_name} and %{pypi_under} in spec for better readability 2022-12-08 10:35:56 +01:00
Miro Hrončok f2f7e4abd6 Run tests during the package build 2022-12-08 10:35:56 +01:00
Fedora Release Engineering 6e144e99cd Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 23:01:51 +00:00
Python Maint a9d086676a Rebuilt for Python 3.11 2022-06-13 20:10:35 +02:00
Lumir Balhar 0598f683e3 Exclude hooks[34] from check import 2022-04-20 10:36:27 +02:00
Miro Hrončok 8ec0601a38 Update to 0.0.8 to support allowlist_externals 2022-03-02 22:06:38 +01:00
Miro Hrončok 3a0da78ca2 Update to 0.0.7 to pin tox < 4 2022-02-07 11:44:06 +01:00
Miro Hrončok 984b04bdf0 Use all pyproject-rpm-macros features now when RHEL 9 was synced 2022-02-04 13:39:43 +01:00
Fedora Release Engineering 19b9653c02 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 16:06:52 +00:00
Miro Hrončok 9a6b31458f Use %pyproject_save_files 2021-08-05 10:51:57 +02:00
Miro Hrončok 2a49b7e01e In %check, test if the module at least imports 2021-08-05 10:50:23 +02:00
Fedora Release Engineering ae2780e482 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-27 08:23:37 +00:00
Python Maint 4e0ae548bb Rebuilt for Python 3.10 2021-06-02 14:09:32 +02:00
Miro Hrončok 1bcc0066f4 Update to 0.0.6 2021-03-29 14:04:27 +02:00
Fedora Release Engineering dbe7fe79da - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 13:53:52 +00:00
Miro Hrončok 08a36062f8 Update to 0.0.5 2020-11-25 12:10:20 +01:00
2 changed files with 64 additions and 20 deletions
+63 -19
View File
@@ -1,14 +1,11 @@
%global pypi_name tox-current-env
%global pypi_under tox_current_env
Name: python-%{pypi_name}
Version: 0.0.4
Release: 1%{?dist}
Name: python-tox-current-env
Version: 0.0.11
Release: 2%{?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}
Source0: %{pypi_source tox-current-env}
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
@@ -18,21 +15,21 @@ BuildRequires: pyproject-rpm-macros
The tox-current-env plugin allows to run tests in current Python environment.
%package -n python%{python3_pkgversion}-%{pypi_name}
%package -n python%{python3_pkgversion}-tox-current-env
Summary: %{summary}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
%{?python_provide:%python_provide python%{python3_pkgversion}-tox-current-env}
%description -n python%{python3_pkgversion}-%{pypi_name}
%description -n python%{python3_pkgversion}-tox-current-env
The tox-current-env plugin allows to run tests in current Python environment.
%prep
%autosetup -n %{pypi_name}-%{version}
%autosetup -n tox-current-env-%{version}
%generate_buildrequires
# Don't use %%pyproject_buildrequires -t/-e to avoid a build dependency loop
%pyproject_buildrequires
%pyproject_buildrequires -x tests
%build
@@ -41,21 +38,68 @@ The tox-current-env plugin allows to run tests in current Python environment.
%install
%pyproject_install
%pyproject_save_files tox_current_env
#check
# the tests currently only work within actual tox and with various Python
# versions installed, so we skip them.
%check
# hooks[34].py are imported in hooks.py based on tox version so we have to
# exclude them here.
%pyproject_check_import -e '*.hooks?'
# deselected tests run tox without the options for this plugin and hence they need internet
%pytest -k "not regular and not noquiet_installed_packages[None]"
%files -n python%{python3_pkgversion}-%{pypi_name}
%license LICENSE
%files -n python%{python3_pkgversion}-tox-current-env -f %{pyproject_files}
%doc README.rst
%{python3_sitelib}/%{pypi_under}/
%{python3_sitelib}/%{pypi_under}-%{version}.dist-info/
%changelog
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Jan 10 2023 Miro Hrončok <mhroncok@redhat.com> - 0.0.11-1
- Update to 0.0.11 with tox 4.1.2+ support
* Wed Dec 14 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.10-1
- Update to 0.0.10 with tox 4 support
* Wed Dec 07 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.8-4
- Run tests during the package build
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.0.8-2
- Rebuilt for Python 3.11
* Wed Mar 02 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.8-1
- Update to 0.0.8 to support allowlist_externals
* Mon Feb 07 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.7-1
- Update to 0.0.7 to pin tox < 4
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Aug 05 2021 Miro Hrončok <mhroncok@redhat.com> - 0.0.6-4
- In %%check, test if the module at least imports
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.0.6-2
- Rebuilt for Python 3.10
* Mon Mar 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0.0.6-1
- Update to 0.0.6
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Nov 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.5-1
- Update to 0.0.5
* Wed Nov 04 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.4-1
- Update to 0.0.4
+1 -1
View File
@@ -1 +1 @@
SHA512 (tox-current-env-0.0.4.tar.gz) = a73a8bd9cc2976ca6f19c03a4001a8ab65de6b323206e8e1ed4c45291a5213f87b62fcf8c8fbfd3723f8b157420413273f8603d4fc1b67667ae4231b35b1ecb2
SHA512 (tox-current-env-0.0.11.tar.gz) = 04039e4ec9b2baf3b2576ce695f075c6e8a6ae7addd7612737b0c61ccd92f8ea5e5fcba6b721f3a8cecacb32a21aa3b755820b1711782fa2be557491b98e9b79