2020-03-26 12:17:00 +01:00
|
|
|
#
|
|
|
|
# spec file for package python-jaraco.envs
|
|
|
|
#
|
2024-01-13 21:48:53 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2020-03-26 12:17:00 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-04-21 16:27:33 +02:00
|
|
|
%{?sle15_python_module_pythons}
|
2020-03-26 12:17:00 +01:00
|
|
|
Name: python-jaraco.envs
|
2024-01-13 21:48:53 +01:00
|
|
|
Version: 2.6.0
|
2020-03-26 12:17:00 +01:00
|
|
|
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
|
2022-07-13 22:18:03 +02:00
|
|
|
BuildRequires: %{python_module base >= 3.7}
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module setuptools >= 56}
|
2020-04-20 07:51:34 +02:00
|
|
|
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
|
2022-07-13 22:18:03 +02:00
|
|
|
BuildRequires: %{python_module wheel}
|
2020-03-26 12:17:00 +01:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
Requires: python-path
|
|
|
|
Requires: python-virtualenv
|
2022-07-13 22:18:03 +02:00
|
|
|
Recommends: python-tox
|
2020-03-26 12:17:00 +01:00
|
|
|
BuildArch: noarch
|
2022-07-13 22:18:03 +02:00
|
|
|
# SECTION test
|
|
|
|
BuildRequires: %{python_module pytest >= 6}
|
|
|
|
BuildRequires: %{python_module path}
|
|
|
|
BuildRequires: %{python_module virtualenv}
|
|
|
|
# /SECTION
|
2020-03-26 12:17:00 +01:00
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
Classes for orchestrating Python (virtual) environments.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n jaraco.envs-%{version}
|
2022-07-13 22:18:03 +02:00
|
|
|
# Avoid tox in openSUSE:Factory:Rings:1-MinimalX
|
|
|
|
sed -i '/tox/d' setup.cfg
|
2020-03-26 12:17:00 +01:00
|
|
|
|
|
|
|
%build
|
2022-07-13 22:18:03 +02:00
|
|
|
%pyproject_wheel
|
2020-03-26 12:17:00 +01:00
|
|
|
|
|
|
|
%install
|
2022-07-13 22:18:03 +02:00
|
|
|
%pyproject_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2020-03-26 12:17:00 +01:00
|
|
|
|
|
|
|
%check
|
2024-01-13 21:48:53 +01:00
|
|
|
%pytest -k "not envs.VirtualEnv"
|
2020-03-26 12:17:00 +01:00
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%license LICENSE
|
2024-01-13 21:48:53 +01:00
|
|
|
%doc docs/*.rst README.rst NEWS.rst
|
2022-07-13 22:18:03 +02:00
|
|
|
%{python_sitelib}/jaraco.envs-%{version}*info
|
2022-08-29 21:58:20 +02:00
|
|
|
%dir %{python_sitelib}/jaraco
|
|
|
|
%{python_sitelib}/jaraco/envs.py*
|
|
|
|
%pycache_only %dir %{python_sitelib}/jaraco/__pycache__
|
|
|
|
%pycache_only %{python_sitelib}/jaraco/__pycache__/envs*.py*
|
2020-03-26 12:17:00 +01:00
|
|
|
|
|
|
|
%changelog
|