|
 |
94f17c4 |
%global pypi_name jaraco.envs
|
|
 |
94f17c4 |
%global pkg_name jaraco-envs
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
# Not all test dependencies are available yet
|
|
 |
94f17c4 |
%bcond_with tests
|
|
 |
8570de0 |
%bcond_with docs
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
Name: python-%{pkg_name}
|
|
 |
7931f6b |
Version: 2.4.0
|
|
 |
602fe58 |
Release: 2%{?dist}
|
|
 |
94f17c4 |
Summary: Classes for orchestrating Python (virtual) environments
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
License: MIT
|
|
 |
94f17c4 |
URL: https://github.com/jaraco/jaraco.envs
|
|
 |
94f17c4 |
Source0: %pypi_source
|
|
 |
94f17c4 |
BuildArch: noarch
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
BuildRequires: python3-devel
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
%if %{with tests}
|
|
 |
94f17c4 |
BuildRequires: python3dist(pytest)
|
|
 |
94f17c4 |
BuildRequires: python3dist(pytest-cov)
|
|
 |
94f17c4 |
BuildRequires: python3-path
|
|
 |
94f17c4 |
BuildRequires: python3dist(pytest-checkdocs)
|
|
 |
94f17c4 |
BuildRequires: python3dist(pytest-flake8)
|
|
 |
94f17c4 |
BuildRequires: python3dist(pytest-black-multipy)
|
|
 |
94f17c4 |
%endif # with tests
|
|
 |
94f17c4 |
|
|
 |
8570de0 |
%generate_buildrequires
|
|
 |
8570de0 |
%pyproject_buildrequires
|
|
 |
8570de0 |
|
|
 |
94f17c4 |
%description
|
|
 |
94f17c4 |
Classes for orchestrating Python (virtual) environments.
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
%package -n python3-%{pkg_name}
|
|
 |
94f17c4 |
Summary: %{summary}
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
Requires: python3-path
|
|
 |
94f17c4 |
Requires: python3-jaraco
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
%description -n python3-%{pkg_name}
|
|
 |
94f17c4 |
Classes for orchestrating Python (virtual) environments.
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
%if %{with docs}
|
|
 |
94f17c4 |
%package -n python-%{pkg_name}-doc
|
|
 |
94f17c4 |
Summary: jaraco-envs documentation
|
|
 |
94f17c4 |
BuildRequires: python3dist(sphinx)
|
|
 |
67ebc85 |
BuildRequires: python3dist(jaraco-packaging)
|
|
 |
67ebc85 |
BuildRequires: python3dist(rst-linker)
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
%description -n python-%{pkg_name}-doc
|
|
 |
94f17c4 |
Documentation for jaraco-envs
|
|
 |
94f17c4 |
%endif # with docs
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
%prep
|
|
 |
94f17c4 |
%autosetup -n jaraco.envs-%{version}
|
|
 |
94f17c4 |
# Remove bundled egg-info
|
|
 |
94f17c4 |
rm -rf %{pypi_name}.egg-info
|
|
 |
94f17c4 |
|
|
 |
8570de0 |
# Remove path dependency as to not
|
|
 |
8570de0 |
# automatically generate requires metadata.
|
|
 |
94f17c4 |
# path does not provide the python3dist namespace
|
|
 |
8570de0 |
sed -i '/path/d' setup.cfg
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
%build
|
|
 |
8570de0 |
%pyproject_wheel
|
|
 |
94f17c4 |
%if %{with docs}
|
|
 |
94f17c4 |
# generate html docs
|
|
 |
94f17c4 |
PYTHONPATH=${PWD} sphinx-build-3 docs html
|
|
 |
94f17c4 |
# remove the sphinx-build leftovers
|
|
 |
94f17c4 |
rm -rf html/.{doctrees,buildinfo}
|
|
 |
94f17c4 |
%endif # with docs
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
%install
|
|
 |
8570de0 |
%pyproject_install
|
|
 |
94f17c4 |
%if %{with tests}
|
|
 |
94f17c4 |
%check
|
|
 |
94f17c4 |
%pytest
|
|
 |
94f17c4 |
%endif # with tests
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
%files -n python3-%{pkg_name}
|
|
 |
94f17c4 |
%license LICENSE
|
|
 |
94f17c4 |
%doc README.rst
|
|
 |
94f17c4 |
# These excludes are provided by python3-jaraco
|
|
 |
67ee68d |
%{python3_sitelib}/jaraco/envs*
|
|
 |
67ee68d |
%{python3_sitelib}/jaraco/__pycache__/envs*
|
|
 |
8570de0 |
%{python3_sitelib}/jaraco.envs-%{version}.dist-info
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
%if %{with docs}
|
|
 |
94f17c4 |
%files -n python-%{pkg_name}-doc
|
|
 |
94f17c4 |
%doc html
|
|
 |
94f17c4 |
%license LICENSE
|
|
 |
94f17c4 |
%endif # with docs
|
|
 |
94f17c4 |
|
|
 |
94f17c4 |
%changelog
|
|
 |
602fe58 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-2
|
|
 |
602fe58 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
602fe58 |
|
|
 |
7931f6b |
* Mon Sep 19 2022 Charalampos Stratakis <cstratak@redhat.com> - 2.4.0-1
|
|
 |
7931f6b |
- Update to 2.4.0
|
|
 |
7931f6b |
Resolves: rhbz#2080532
|
|
 |
7931f6b |
|
|
 |
1e98d15 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-3
|
|
 |
1e98d15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
1e98d15 |
|
|
 |
eb3a4a7 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.3.0-2
|
|
 |
eb3a4a7 |
- Rebuilt for Python 3.11
|
|
 |
eb3a4a7 |
|
|
 |
8570de0 |
* Wed Mar 16 2022 Charalampos Stratakis <cstratak@redhat.com> - 2.3.0-1
|
|
 |
8570de0 |
- Update to 2.3.0
|
|
 |
8570de0 |
Resolves: rhbz#2059021
|
|
 |
8570de0 |
|
|
 |
748dedd |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
|
|
 |
748dedd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
748dedd |
|
|
 |
8e4abbb |
* Wed Dec 08 2021 Tomáš Hrnčiar <thrnciar@redhat.com> - 2.2.0-1
|
|
 |
8e4abbb |
- Update to 2.2.0
|
|
 |
8e4abbb |
|
|
 |
b8fbd0f |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-6
|
|
 |
b8fbd0f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
b8fbd0f |
|
|
 |
c66fafa |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.0-5
|
|
 |
c66fafa |
- Rebuilt for Python 3.10
|
|
 |
c66fafa |
|
|
 |
428a29c |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
|
 |
428a29c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
428a29c |
|
|
 |
5480dcb |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
|
|
 |
5480dcb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
5480dcb |
|
|
 |
67ee68d |
* Fri Jun 05 2020 Charalampos Stratakis <cstratak@redhat.com> - 2.0.0-2
|
|
 |
67ee68d |
- Packaging fixes
|
|
 |
67ee68d |
|
|
 |
94f17c4 |
* Tue Jun 02 2020 Charalampos Stratakis <cstratak@redhat.com> - 2.0.0-1
|
|
 |
94f17c4 |
- Initial package.
|