15
0
forked from pool/python-aenum

Accepting request 1273885 from devel:languages:python

- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1273885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aenum?expand=0&rev=13
This commit is contained in:
2025-05-02 12:59:43 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 2 03:13:04 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Feb 6 08:42:07 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-aenum
#
# Copyright (c) 2024 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
@@ -32,7 +32,9 @@ Patch0: tempdir_missing.patch
Patch1: skip_failing_testcases.patch
# PATCH-FIX-UPSTREAM fix-python312-tests.patch gh#ethanfurman/aenum#36
Patch2: fix-python312-tests.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -67,10 +69,10 @@ duplicate values.
%autosetup -p1 -n aenum-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -81,6 +83,6 @@ export LANG=en_US.UTF-8
%doc README.md aenum/CHANGES aenum/doc/*
%license aenum/LICENSE
%{python_sitelib}/aenum
%{python_sitelib}/aenum-%{version}*-info
%{python_sitelib}/aenum-%{version}.dist-info
%changelog