Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
016585cd11 | ||
|
|
2366fa0eb8 | ||
|
|
647bdaa833 | ||
|
|
6bb0cf1583 | ||
|
|
f2f7e4abd6 | ||
|
|
6e144e99cd | ||
|
|
a9d086676a | ||
|
|
0598f683e3 |
+34
-17
@@ -1,14 +1,11 @@
|
|||||||
%global pypi_name tox-current-env
|
Name: python-tox-current-env
|
||||||
%global pypi_under tox_current_env
|
Version: 0.0.11
|
||||||
|
Release: 2%{?dist}
|
||||||
Name: python-%{pypi_name}
|
|
||||||
Version: 0.0.8
|
|
||||||
Release: 1%{?dist}
|
|
||||||
Summary: Tox plugin to run tests in current Python environment
|
Summary: Tox plugin to run tests in current Python environment
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/fedora-python/tox-current-env
|
URL: https://github.com/fedora-python/tox-current-env
|
||||||
Source0: %{pypi_source}
|
Source0: %{pypi_source tox-current-env}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
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.
|
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}
|
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.
|
The tox-current-env plugin allows to run tests in current Python environment.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pypi_name}-%{version}
|
%autosetup -n tox-current-env-%{version}
|
||||||
|
|
||||||
|
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
# Don't use %%pyproject_buildrequires -t/-e to avoid a build dependency loop
|
# Don't use %%pyproject_buildrequires -t/-e to avoid a build dependency loop
|
||||||
%pyproject_buildrequires -r
|
%pyproject_buildrequires -x tests
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@@ -41,20 +38,40 @@ The tox-current-env plugin allows to run tests in current Python environment.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%pyproject_save_files %{pypi_under}
|
%pyproject_save_files tox_current_env
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# the tests currently only work within actual tox and with various Python
|
# hooks[34].py are imported in hooks.py based on tox version so we have to
|
||||||
# versions installed, so we skip them and do an import check only instead:
|
# exclude them here.
|
||||||
%pyproject_check_import
|
%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} -f %{pyproject_files}
|
%files -n python%{python3_pkgversion}-tox-current-env -f %{pyproject_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Mar 02 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.8-1
|
||||||
- Update to 0.0.8 to support allowlist_externals
|
- Update to 0.0.8 to support allowlist_externals
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
SHA512 (tox-current-env-0.0.8.tar.gz) = b169cae94a984b78ecfcaadb0b68fc2cd3f1e037320b87824439d4c0f19f04e07d05a618b7e7532da62479a41fa6606e0bbadd6e5cf626f62d21eb66c6ef34cb
|
SHA512 (tox-current-env-0.0.11.tar.gz) = 04039e4ec9b2baf3b2576ce695f075c6e8a6ae7addd7612737b0c61ccd92f8ea5e5fcba6b721f3a8cecacb32a21aa3b755820b1711782fa2be557491b98e9b79
|
||||||
|
|||||||
Reference in New Issue
Block a user