## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # doc dependencies are not packaged %bcond_with docs Name: python-jaraco-envs Version: 2.6.0 Release: %autorelease Summary: Classes for orchestrating Python (virtual) environments License: MIT URL: https://github.com/jaraco/jaraco.envs Source0: %{pypi_source jaraco.envs} BuildArch: noarch BuildRequires: python3-devel %description Classes for orchestrating Python (virtual) environments. %package -n python3-jaraco-envs Summary: %{summary} %description -n python3-jaraco-envs Classes for orchestrating Python (virtual) environments. %if %{with docs} %package -n python-jaraco-envs-doc Summary: jaraco-envs documentation BuildRequires: python3dist(sphinx) BuildRequires: python3dist(jaraco-packaging) BuildRequires: python3dist(rst-linker) %description -n python-jaraco-envs-doc Documentation for jaraco-envs %endif # with docs %prep %autosetup -n jaraco.envs-%{version} # Remove dev-only dependencies. Upstream later split the `test` dependencies out of it # https://github.com/jaraco/skeleton/issues/138 sed -E -i '/pytest-/d' setup.cfg sed -E -i '/python_implementation/d' setup.cfg %generate_buildrequires %pyproject_buildrequires -x testing %build %pyproject_wheel %if %{with docs} # generate html docs %{python3} -m sphinx docs html # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} %endif # with docs %install %pyproject_install %pyproject_save_files -l jaraco %check # envs.VirtualEnv: Requires internet connection %pytest -k "not envs.VirtualEnv" %files -n python3-jaraco-envs -f %{pyproject_files} %doc README.rst %if %{with docs} %files -n python-jaraco-envs-doc %doc html %license LICENSE %endif # with docs %changelog ## START: Generated by rpmautospec * Wed Sep 18 2024 Cristian Le - 2.6.0-5 - Simplify the packaging * Fri Jul 19 2024 Fedora Release Engineering - 2.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.6.0-3 - Rebuilt for Python 3.13 * Tue Feb 27 2024 Packit - 2.6.0-1 - Update to 2.6.0 - Resolves rhbz#2245684 * Fri Jan 26 2024 Fedora Release Engineering - 2.4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Python Maint - 2.4.0-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 2.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Sep 19 2022 Charalampos Stratakis - 2.4.0-1 - Update to 2.4.0 Resolves: rhbz#2080532 * Fri Jul 22 2022 Fedora Release Engineering - 2.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.3.0-2 - Rebuilt for Python 3.11 * Wed Mar 16 2022 Charalampos Stratakis - 2.3.0-1 - Update to 2.3.0 Resolves: rhbz#2059021 * Fri Jan 21 2022 Fedora Release Engineering - 2.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Dec 08 2021 Tomáš Hrnčiar - 2.2.0-1 - Update to 2.2.0 * Fri Jul 23 2021 Fedora Release Engineering - 2.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.0.0-5 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 05 2020 Charalampos Stratakis - 2.0.0-2 - Packaging fixes ## END: Generated by rpmautospec