From 8570de02984a3f6e0767ce16e5dfcd9221e13f2b Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Mar 16 2022 02:09:51 +0000 Subject: Update to 2.3.0 Resolves: rhbz#2059021 --- diff --git a/.gitignore b/.gitignore index 6413fc0..aa9cf0a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /jaraco.envs-2.0.0.tar.gz /jaraco.envs-2.2.0.tar.gz +/jaraco.envs-2.3.0.tar.gz diff --git a/python-jaraco-envs.spec b/python-jaraco-envs.spec index fdcb930..3f6164c 100644 --- a/python-jaraco-envs.spec +++ b/python-jaraco-envs.spec @@ -3,11 +3,11 @@ # Not all test dependencies are available yet %bcond_with tests -%bcond_without docs +%bcond_with docs Name: python-%{pkg_name} -Version: 2.2.0 -Release: 2%{?dist} +Version: 2.3.0 +Release: 1%{?dist} Summary: Classes for orchestrating Python (virtual) environments License: MIT @@ -16,9 +16,6 @@ Source0: %pypi_source BuildArch: noarch BuildRequires: python3-devel -BuildRequires: python3dist(setuptools) -BuildRequires: python3dist(setuptools-scm) -BuildRequires: python3dist(toml) %if %{with tests} @@ -30,14 +27,15 @@ BuildRequires: python3dist(pytest-flake8) BuildRequires: python3dist(pytest-black-multipy) %endif # with tests +%generate_buildrequires +%pyproject_buildrequires + %description Classes for orchestrating Python (virtual) environments. %package -n python3-%{pkg_name} Summary: %{summary} -%{?python_provide:%python_provide python3-%{pkg_name}} - Requires: python3-path Requires: python3-jaraco @@ -60,15 +58,13 @@ Documentation for jaraco-envs # Remove bundled egg-info rm -rf %{pypi_name}.egg-info -# Remove path and tox-venv dependencies as to not -# automatically generate requires metadata for those. +# Remove path dependency as to not +# automatically generate requires metadata. # path does not provide the python3dist namespace -# and tox-venv is a deprecated package not recommended -# for use. -sed -i '/path/d; /tox-venv/d' setup.cfg +sed -i '/path/d' setup.cfg %build -%py3_build +%pyproject_wheel %if %{with docs} # generate html docs PYTHONPATH=${PWD} sphinx-build-3 docs html @@ -77,8 +73,7 @@ rm -rf html/.{doctrees,buildinfo} %endif # with docs %install -%py3_install - +%pyproject_install %if %{with tests} %check %pytest @@ -88,11 +83,9 @@ rm -rf html/.{doctrees,buildinfo} %license LICENSE %doc README.rst # These excludes are provided by python3-jaraco -%exclude %{python3_sitelib}/jaraco/__init__* -%exclude %{python3_sitelib}/jaraco/__pycache__/__init__* %{python3_sitelib}/jaraco/envs* %{python3_sitelib}/jaraco/__pycache__/envs* -%{python3_sitelib}/jaraco.envs-%{version}-py%{python3_version}.egg-info +%{python3_sitelib}/jaraco.envs-%{version}.dist-info %if %{with docs} %files -n python-%{pkg_name}-doc @@ -101,6 +94,10 @@ rm -rf html/.{doctrees,buildinfo} %endif # with docs %changelog +* 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 diff --git a/sources b/sources index 7e5a429..e35e0bf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (jaraco.envs-2.2.0.tar.gz) = b852168f718c133142b592402d17891cad821493842324263c195d0c6d15592946c89431d278b4860f8802363debce87f35e11f1357a52b94620bcc3f90d99ec +SHA512 (jaraco.envs-2.3.0.tar.gz) = c0f1e8e515d18d1f5c181c1072fe72b3f99ad06971ec420e3aae6631daa734e0fef05e720cb7770e37de07d65c02578f9be916354d0507761a5fde749c7cb643