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
This commit is contained in:
Matej Cepl 2022-07-13 20:18:03 +00:00 committed by Git OBS Bridge
parent 7786df2f5f
commit 7545cfad04
4 changed files with 44 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:92d580d7211b932d35b62dd1866b1dcebab15c56afc1ee655c33230dd52e85ec
size 10018

BIN
jaraco.envs-2.4.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Wed Jul 13 09:59:20 UTC 2022 - Ben Greiner <code@bnavigator.de>
- 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 <mrueckert@suse.de> Sun Apr 19 23:18:32 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-jaraco.envs # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,21 +20,30 @@
# requires python-path # requires python-path
%define skip_python2 1 %define skip_python2 1
Name: python-jaraco.envs Name: python-jaraco.envs
Version: 2.0.0 Version: 2.4.0
Release: 0 Release: 0
Summary: Classes for Python Virtual Environments Summary: Classes for Python Virtual Environments
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/jaraco/jaraco.envs URL: https://github.com/jaraco/jaraco.envs
Source0: https://files.pythonhosted.org/packages/source/j/jaraco.envs/jaraco.envs-%{version}.tar.gz 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_scm >= 3.4.1}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tomli}
BuildRequires: %{python_module toml} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-path Requires: python-path
Requires: python-virtualenv Requires: python-virtualenv
Recommends: python-tox
BuildArch: noarch BuildArch: noarch
# SECTION test
BuildRequires: %{python_module pytest >= 6}
BuildRequires: %{python_module path}
BuildRequires: %{python_module virtualenv}
# /SECTION
%python_subpackages %python_subpackages
%description %description
@ -42,25 +51,23 @@ Classes for orchestrating Python (virtual) environments.
%prep %prep
%setup -q -n jaraco.envs-%{version} %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 %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%{python_expand rm -f %{buildroot}%{$python_sitelib}/jaraco/__init__.py* \ %python_expand %fdupes %{buildroot}%{$python_sitelib}
%{buildroot}%{$python_sitelib}/jaraco/__pycache__/__init__.*
%fdupes %{buildroot}%{$python_sitelib}
}
%check %check
# no upstream tests %pytest
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc docs/*.rst README.rst CHANGES.rst %doc docs/*.rst README.rst CHANGES.rst
%{python_sitelib}/jaraco.envs-*-py*.egg-info %{python_sitelib}/jaraco.envs-%{version}*info
%{python_sitelib}/jaraco* %{python_sitelib}/jaraco
%changelog %changelog