forked from pool/python-virtue
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 8dae09735b | |||
| cc1e720343 | |||
| be67e5a799 | |||
| 4916cad4a7 | |||
| acc3657443 | |||
| 135629ad87 |
@@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- update to 2025.2.1:
|
||||||
|
no changelog available, diff here:
|
||||||
|
https://github.com/Julian/Virtue/compare/v2023.08.2...v2025.2.1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 6 15:43:14 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
Wed Sep 6 15:43:14 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-virtue
|
# spec file for package python-virtue
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -16,9 +16,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-virtue
|
Name: python-virtue
|
||||||
Version: 2023.8.2
|
Version: 2025.7.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: After trial comes virtue. A test runner for good
|
Summary: After trial comes virtue. A test runner for good
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -30,23 +35,28 @@ BuildRequires: %{python_module pip}
|
|||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
Requires: python-Twisted >= 23.10.0rc1
|
||||||
BuildRequires: %{python_module attrs >= 19}
|
|
||||||
BuildRequires: %{python_module Twisted}
|
|
||||||
BuildRequires: %{python_module click}
|
|
||||||
BuildRequires: %{python_module colorama}
|
|
||||||
BuildRequires: %{python_module pyrsistent}
|
|
||||||
# /SECTION
|
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun):update-alternatives
|
|
||||||
Requires: python-Twisted
|
|
||||||
Requires: python-attrs >= 19
|
Requires: python-attrs >= 19
|
||||||
Requires: python-click
|
Requires: python-click
|
||||||
Requires: python-colorama
|
Requires: python-colorama
|
||||||
Requires: python-pyrsistent
|
Requires: python-pyrsistent
|
||||||
Suggests: python-importlib_metadata
|
Suggests: python-importlib_metadata
|
||||||
Suggests: python-pkgutil_resolve_name >= 1.3.10
|
|
||||||
BuildArch: noarch
|
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
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -63,12 +73,19 @@ After trial comes virtue. A test runner for good.
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/virtue
|
%python_clone -a %{buildroot}%{_bindir}/virtue
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
export PYTEST_IGNORE="test_foo"
|
||||||
|
%pytest -k "not (${PYTEST_IGNORE})"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative virtue
|
%python_install_alternative virtue
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative virtue
|
%python_uninstall_alternative virtue
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative virtue
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
|||||||
BIN
virtue-2023.8.2.tar.gz
LFS
BIN
virtue-2023.8.2.tar.gz
LFS
Binary file not shown.
3
virtue-2025.7.1.tar.gz
Normal file
3
virtue-2025.7.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7af7e000de8629279f7dcdad43a851a833aa5019c02b277e737d544600ca319b
|
||||||
|
size 34972
|
||||||
Reference in New Issue
Block a user