14
0
forked from pool/python-virtue

4 Commits

4 changed files with 40 additions and 15 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Aug 26 09:31:19 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems
-------------------------------------------------------------------
Wed Jul 2 05:52:10 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 2025.7.1:
no changelog available, diff here:
https://github.com/Julian/Virtue/compare/v2025.2.1...v2025.7.1
-------------------------------------------------------------------
Fri Feb 7 18:18:38 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-virtue
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,14 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-virtue
Version: 2025.2.1
Version: 2025.7.1
Release: 0
Summary: After trial comes virtue. A test runner for good
License: MIT
@@ -30,16 +35,6 @@ BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module Twisted >= 23.10.0rc1}
BuildRequires: %{python_module attrs >= 19}
BuildRequires: %{python_module click}
BuildRequires: %{python_module colorama}
BuildRequires: %{python_module pyrsistent}
# /SECTION
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires: python-Twisted >= 23.10.0rc1
Requires: python-attrs >= 19
Requires: python-click
@@ -47,6 +42,21 @@ Requires: python-colorama
Requires: python-pyrsistent
Suggests: python-importlib_metadata
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Twisted >= 23.10.0rc1}
BuildRequires: %{python_module attrs >= 19}
BuildRequires: %{python_module click}
BuildRequires: %{python_module colorama}
BuildRequires: %{python_module pyrsistent}
BuildRequires: %{python_module pytest}
# /SECTION
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%python_subpackages
%description
@@ -73,6 +83,9 @@ export PYTEST_IGNORE="test_foo"
%postun
%python_uninstall_alternative virtue
%pre
%python_libalternatives_reset_alternative virtue
%files %{python_files}
%doc README.rst
%license COPYING

Binary file not shown.

3
virtue-2025.7.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7af7e000de8629279f7dcdad43a851a833aa5019c02b277e737d544600ca319b
size 34972