|
|
102943 |
# We must use a GitHub snapshot because the PyPI sdist lacks the LICENSE file
|
|
|
102943 |
# (https://github.com/MobileDynasty/pytest-env/issues/6) and releases are not
|
|
|
102943 |
# tagged on GitHub.
|
|
|
102943 |
%global commit afb13a0e908f649b69273f299262ac12f1b71113
|
|
|
102943 |
%global snapdate 20170617
|
|
|
102943 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
102943 |
|
|
|
102943 |
Name: python-pytest-env
|
|
|
102943 |
Version: 0.6.2^%{snapdate}git%{?shortcommit}
|
|
rdobuilder |
b04ad0 |
Release: 19%{?dist}
|
|
|
102943 |
Summary: Plugin for pytest that allows you to add environment variables
|
|
|
102943 |
|
|
|
102943 |
# SPDX
|
|
|
102943 |
License: MIT
|
|
|
102943 |
URL: https://github.com/MobileDynasty/pytest-env
|
|
|
102943 |
Source: %{url}/archive/%{commit}/pytest-env-%{commit}.tar.gz
|
|
|
102943 |
|
|
|
102943 |
BuildArch: noarch
|
|
|
102943 |
|
|
|
102943 |
BuildRequires: python3-devel
|
|
|
102943 |
|
|
|
102943 |
%global common_description %{expand:
|
|
|
102943 |
This is a py.test plugin that enables you to set environment variables in the
|
|
|
102943 |
pytest.ini file.}
|
|
|
102943 |
|
|
|
102943 |
%description %{common_description}
|
|
|
102943 |
|
|
|
102943 |
|
|
|
102943 |
%package -n python3-pytest-env
|
|
|
102943 |
Summary: %{summary}
|
|
|
102943 |
|
|
|
102943 |
%description -n python3-pytest-env %{common_description}
|
|
|
102943 |
|
|
|
102943 |
|
|
|
102943 |
%prep
|
|
|
102943 |
%autosetup -n pytest-env-%{commit}
|
|
|
102943 |
|
|
|
102943 |
|
|
|
102943 |
%generate_buildrequires
|
|
|
102943 |
%pyproject_buildrequires
|
|
|
102943 |
|
|
|
102943 |
|
|
|
102943 |
%build
|
|
|
102943 |
%pyproject_wheel
|
|
|
102943 |
|
|
|
102943 |
|
|
|
102943 |
%install
|
|
|
102943 |
%pyproject_install
|
|
|
102943 |
%pyproject_save_files -l pytest_env
|
|
|
102943 |
|
|
|
102943 |
|
|
|
102943 |
%check
|
|
|
102943 |
# Upstream has no tests.
|
|
|
102943 |
%pyproject_check_import
|
|
|
102943 |
|
|
|
102943 |
|
|
|
102943 |
%files -n python3-pytest-env -f %{pyproject_files}
|
|
|
102943 |
%doc README.md
|
|
|
102943 |
|
|
|
102943 |
|
|
|
102943 |
%changelog
|
|
rdobuilder |
b04ad0 |
* Tue Nov 05 2024 Joel Capitao <jcapitao@redhat.com> - 0.6.2^20170617gitafb13a0-19
|
|
rdobuilder |
b04ad0 |
- Compute shortcommit in other way
|
|
rdobuilder |
b04ad0 |
|
|
rdobuilder |
b04ad0 |
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org>
|
|
rdobuilder |
b04ad0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
rdobuilder |
b04ad0 |
|
|
rdobuilder |
b04ad0 |
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com>
|
|
rdobuilder |
b04ad0 |
- Rebuilt for Python 3.13
|
|
rdobuilder |
b04ad0 |
|
|
rdobuilder |
b04ad0 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2^20170617gitafb13a0-14
|
|
rdobuilder |
b04ad0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
b04ad0 |
|
|
rdobuilder |
b04ad0 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2^20170617gitafb13a0-13
|
|
rdobuilder |
b04ad0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
b04ad0 |
|
|
rdobuilder |
b04ad0 |
* Mon Dec 18 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.6.2^20170617gitafb13a0-12
|
|
rdobuilder |
b04ad0 |
- Assert that %%pyproject_files contains a license file
|
|
rdobuilder |
b04ad0 |
|
|
rdobuilder |
b04ad0 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2^20170617gitafb13a0-11
|
|
rdobuilder |
b04ad0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
rdobuilder |
b04ad0 |
|
|
rdobuilder |
b04ad0 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.6.2^20170617gitafb13a0-10
|
|
rdobuilder |
b04ad0 |
- Rebuilt for Python 3.12
|
|
rdobuilder |
b04ad0 |
|
|
rdobuilder |
b04ad0 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2^20170617gitafb13a0-7
|
|
rdobuilder |
b04ad0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
b04ad0 |
|
|
rdobuilder |
b04ad0 |
* Wed Nov 30 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.6.2^20170617gitafb13a0-6
|
|
rdobuilder |
b04ad0 |
- Confirm License is SPDX MIT
|
|
rdobuilder |
b04ad0 |
|
|
rdobuilder |
b04ad0 |
* Wed Nov 30 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.6.2^20170617gitafb13a0-5
|
|
rdobuilder |
b04ad0 |
- Drop default argument -r for pyproject_buildrequires
|
|
rdobuilder |
b04ad0 |
|
|
rdobuilder |
b04ad0 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2^20170617gitafb13a0-4
|
|
rdobuilder |
b04ad0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
b04ad0 |
|
|
rdobuilder |
b04ad0 |
* Thu Jul 07 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.6.2^20170617gitafb13a0-3
|
|
rdobuilder |
b04ad0 |
- Fix extra newline in description
|
|
rdobuilder |
b04ad0 |
|
|
rdobuilder |
b04ad0 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.6.2^20170617gitafb13a0-2
|
|
rdobuilder |
b04ad0 |
- Rebuilt for Python 3.11
|
|
rdobuilder |
b04ad0 |
|
|
rdobuilder |
b04ad0 |
* Thu Mar 24 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.6.2^20170617gitafb13a0-1
|
|
rdobuilder |
b04ad0 |
- Update to 0.6.2
|
|
rdobuilder |
b04ad0 |
|
|
rdobuilder |
b04ad0 |
* Thu Mar 24 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.6.1^20170608git8f5339a-1
|
|
rdobuilder |
b04ad0 |
- Initial package (close RHBZ#2068097)
|