add spec, changes and service

This commit is contained in:
Luna D Dragon 2024-05-21 16:58:59 +05:30
parent 9615e9819a
commit 70905e0708
Signed by: ldragon
GPG Key ID: 6802F1FD55460C17
3 changed files with 76 additions and 0 deletions

10
_service Normal file
View File

@ -0,0 +1,10 @@
<services>
<service name="tar" mode="buildtime">
<param name="filename">tox-current-env</param>
<param name="version">_none_</param>
</service>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
</services>

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Mon May 20 08:51:36 UTC 2024 - Luna D Dragon <luna.dragon@suse.com>
- init tox-current-env at 0.0.11

View File

@ -0,0 +1,62 @@
#
# spec file for package python-tox-current-env
#
# Copyright (c) 2024 SUSE LLC
#
# 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/
#
Name: python-tox-current-env
Version: 0.0.11
Release: 0
Summary: Use current environment instead of virtualenv for tox testenvs
License: MIT
URL: https://github.com/fedora-python/tox-current-env
Source: tox-current-env.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
# SECTION test requirements
BuildRequires: %{python_module tox >= 3.24}
# /SECTION
BuildRequires: fdupes
Requires: python-tox >= 3.24
Suggests: python-pytest
Suggests: python-pytest-xdist
Suggests: python-packaging
BuildArch: noarch
%python_subpackages
%description
Use current environment instead of virtualenv for tox testenvs
%prep
%autosetup -p1 -n tox-current-env-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/tox_current_env
%{python_sitelib}/tox_current_env-%{version}.dist-info
%changelog