Blame SPECS/python-tox-current-env.spec

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