File python-plum-py.spec of Package python-plum-py

#
# spec file for package python-plum-py
#
# Copyright (c) 2024 Malcolm J Lewis <malcolmlewis@opensuse.org>
#
# 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/
#

%define pythons python3

Name:           python-plum-py
Version:        0.8.7
Release:        0
Summary:        Pack/Unpack Memory
License:        MIT
URL:            https://plum-py.readthedocs.io/en/latest/index.html
Source:         https://files.pythonhosted.org/packages/source/p/plum-py/plum-py-%{version}.tar.gz
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module pip}
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{python_module setuptools >= 39.0.1}
BuildRequires:  %{python_module wheel}
BuildRequires:  fdupes
BuildArch:      noarch
%python_subpackages

%description
Pack/Unpack Memory.

%prep
%autosetup -p1 -n plum-py-%{version}

%build
%pyproject_wheel

%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/plum
%{python_sitelib}/plum_py-%{version}.dist-info

%changelog
openSUSE Build Service is sponsored by