From 7545cfad047211ea6edffb20805f5c16749b9531422e4fd55b043feadcaf6228 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 13 Jul 2022 20:18:03 +0000 Subject: [PATCH] Accepting request 989023 from home:bnavigator:branches:devel:languages:python - Update to version 2.4.0 * Made VEnv non-experimental. - Release v2.3.0 * #4: Added some tests capturing expectations around object types for input (use path.Path object for root property for maximum compatibility). * Require Python 3.7 or later. * VirtualEnv classes now expose clean_opts for easy reference in creating clean environments. - Release v2.2.0 * VirtualEnv now allows a create_opts attribute to affect the creation (passed to virtualenv). - Release v2.1.1 * Rely on PEP 420 for namespace packages. - Release v2.1.0 * #1: Rely on pure tox without tox-venv. OBS-URL: https://build.opensuse.org/request/show/989023 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.envs?expand=0&rev=5 --- jaraco.envs-2.0.0.tar.gz | 3 --- jaraco.envs-2.4.0.tar.gz | 3 +++ python-jaraco.envs.changes | 20 ++++++++++++++++++++ python-jaraco.envs.spec | 35 +++++++++++++++++++++-------------- 4 files changed, 44 insertions(+), 17 deletions(-) delete mode 100644 jaraco.envs-2.0.0.tar.gz create mode 100644 jaraco.envs-2.4.0.tar.gz diff --git a/jaraco.envs-2.0.0.tar.gz b/jaraco.envs-2.0.0.tar.gz deleted file mode 100644 index 88f17f5..0000000 --- a/jaraco.envs-2.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:92d580d7211b932d35b62dd1866b1dcebab15c56afc1ee655c33230dd52e85ec -size 10018 diff --git a/jaraco.envs-2.4.0.tar.gz b/jaraco.envs-2.4.0.tar.gz new file mode 100644 index 0000000..1919719 --- /dev/null +++ b/jaraco.envs-2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d88351e2575d4fd8fd8039715572acee1cd074fbdfc1c017e4c1970b4af44f8 +size 7101 diff --git a/python-jaraco.envs.changes b/python-jaraco.envs.changes index db15756..9f2788f 100644 --- a/python-jaraco.envs.changes +++ b/python-jaraco.envs.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Wed Jul 13 09:59:20 UTC 2022 - Ben Greiner + +- Update to version 2.4.0 + * Made VEnv non-experimental. +- Release v2.3.0 + * #4: Added some tests capturing expectations around object types + for input (use path.Path object for root property for maximum + compatibility). + * Require Python 3.7 or later. + * VirtualEnv classes now expose clean_opts for easy reference in + creating clean environments. +- Release v2.2.0 + * VirtualEnv now allows a create_opts attribute to affect the + creation (passed to virtualenv). +- Release v2.1.1 + * Rely on PEP 420 for namespace packages. +- Release v2.1.0 + * #1: Rely on pure tox without tox-venv. + ------------------------------------------------------------------- Sun Apr 19 23:18:32 UTC 2020 - Marcus Rueckert diff --git a/python-jaraco.envs.spec b/python-jaraco.envs.spec index 9d9f838..e7e82cb 100644 --- a/python-jaraco.envs.spec +++ b/python-jaraco.envs.spec @@ -1,7 +1,7 @@ # # spec file for package python-jaraco.envs # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,21 +20,30 @@ # requires python-path %define skip_python2 1 Name: python-jaraco.envs -Version: 2.0.0 +Version: 2.4.0 Release: 0 Summary: Classes for Python Virtual Environments License: MIT Group: Development/Languages/Python URL: https://github.com/jaraco/jaraco.envs Source0: https://files.pythonhosted.org/packages/source/j/jaraco.envs/jaraco.envs-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools >= 56} BuildRequires: %{python_module setuptools_scm >= 3.4.1} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module toml} +BuildRequires: %{python_module tomli} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-path Requires: python-virtualenv +Recommends: python-tox BuildArch: noarch +# SECTION test +BuildRequires: %{python_module pytest >= 6} +BuildRequires: %{python_module path} +BuildRequires: %{python_module virtualenv} +# /SECTION %python_subpackages %description @@ -42,25 +51,23 @@ Classes for orchestrating Python (virtual) environments. %prep %setup -q -n jaraco.envs-%{version} -sed -i 's/--flake8 --black --cov//' pytest.ini +# Avoid tox in openSUSE:Factory:Rings:1-MinimalX +sed -i '/tox/d' setup.cfg %build -%python_build +%pyproject_wheel %install -%python_install -%{python_expand rm -f %{buildroot}%{$python_sitelib}/jaraco/__init__.py* \ - %{buildroot}%{$python_sitelib}/jaraco/__pycache__/__init__.* - %fdupes %{buildroot}%{$python_sitelib} -} +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# no upstream tests +%pytest %files %{python_files} %license LICENSE %doc docs/*.rst README.rst CHANGES.rst -%{python_sitelib}/jaraco.envs-*-py*.egg-info -%{python_sitelib}/jaraco* +%{python_sitelib}/jaraco.envs-%{version}*info +%{python_sitelib}/jaraco %changelog