17
0

Compare commits

2 Commits

2 changed files with 11 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 15 11:58:05 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Thu Dec 16 10:45:31 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-booleanOperations
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,9 +24,6 @@
%define psuffix %{nil}
%bcond_with test
%endif
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%define skip_python36 1
Name: python-booleanOperations%{psuffix}
Version: 0.9.0
Release: 0
@@ -34,6 +31,7 @@ Summary: Boolean operations on paths
License: MIT
URL: https://github.com/typemytype/booleanOperations
Source: https://files.pythonhosted.org/packages/source/b/booleanOperations/booleanOperations-%{version}.zip
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -59,11 +57,11 @@ Boolean operations on paths.
%setup -q -n booleanOperations-%{version}
%build
%python_build
%pyproject_wheel
%install
%if !%{with test}
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@@ -77,7 +75,7 @@ Boolean operations on paths.
%doc README.rst
%license LICENSE
%{python_sitelib}/booleanOperations
%{python_sitelib}/booleanOperations-%{version}*-info
%{python_sitelib}/boolean[Oo]perations-%{version}*-info
%endif
%changelog