1
0
forked from pool/python-vistir

Compare commits

4 Commits

2 changed files with 21 additions and 8 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Dec 19 00:59:27 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Add missing pytest plugins to BuildRequires, and disable strict mode.
-------------------------------------------------------------------
Fri Jun 13 12:44:10 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Tue May 9 21:43:26 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-vistir
#
# Copyright (c) 2023 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,17 +16,16 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-vistir
Version: 0.8.0
Release: 0
Summary: Utilities for filesystems, paths, projects, subprocesses, and more
License: ISC
Group: Development/Languages/Python
URL: https://github.com/sarugaku/vistir
Source: https://github.com/sarugaku/vistir/archive/refs/tags/v%{version}.tar.gz#/vistir-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 40.8.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-colorama >= 0.3.4
@@ -36,6 +35,9 @@ BuildArch: noarch
BuildRequires: %{python_module colorama >= 0.3.4}
BuildRequires: %{python_module hypothesis-fspaths}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pytest-flake8}
BuildRequires: %{python_module pytest-rerunfailures}
BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
# /SECTION
@@ -48,13 +50,13 @@ subprocesses, and more.
%prep
%setup -q -n vistir-%{version}
sed -i '/invoke/d;/parver/d;/wheel$/d;/addopts/d' setup.cfg
sed -i '/invoke/d;/parver/d;/wheel$/d;/addopts/d;/strict/d' setup.cfg
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -73,6 +75,7 @@ $python -m pytest -v -k "not ($skip_tests)"
%files %{python_files}
%doc CHANGELOG.rst README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/vistir
%{python_sitelib}/vistir-%{version}.dist-info
%changelog