14
0

Accepting request 1282524 from devel:languages:python

- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1282524
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tortilla?expand=0&rev=3
This commit is contained in:
2025-06-04 18:28:42 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 4 06:08:01 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Wed Jun 28 07:36:35 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-tortilla
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2016-2020, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -17,16 +17,16 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-tortilla
Version: 0.5.0
Release: 0
Summary: A library for creating wrappers around web APIs
License: MIT
Group: Development/Languages/Python
URL: https://github.com/jcarbaugh/python-tortilla
Source: https://github.com/tortilla/tortilla/archive/v%{version}.tar.gz#/tortilla-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
@@ -53,10 +53,10 @@ A tiny library for creating wrappers around web APIs.
%setup -q -n tortilla-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -65,6 +65,7 @@ A tiny library for creating wrappers around web APIs.
%files %{python_files}
%license LICENSE
%doc CHANGES.rst README.rst
%{python_sitelib}/tortilla*
%{python_sitelib}/tortilla
%{python_sitelib}/tortilla-%{version}.dist-info
%changelog