From 274dcc2bebc286f31e1689f49958f43e40d161577dcda643963e21b91a9f8ae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 10 Jun 2025 08:26:16 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymacaroons?expand=0&rev=16 --- python-pymacaroons.changes | 5 +++++ python-pymacaroons.spec | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/python-pymacaroons.changes b/python-pymacaroons.changes index cd72830..f699375 100644 --- a/python-pymacaroons.changes +++ b/python-pymacaroons.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 10 08:26:02 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon Feb 26 09:05:17 UTC 2024 - ecsos diff --git a/python-pymacaroons.spec b/python-pymacaroons.spec index d5fded0..a8ca8e6 100644 --- a/python-pymacaroons.spec +++ b/python-pymacaroons.spec @@ -1,7 +1,7 @@ # # spec file for package python-pymacaroons # -# Copyright (c) 2023 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 @@ -31,9 +31,11 @@ BuildRequires: %{python_module PyNaCl < 2.0} BuildRequires: %{python_module PyNaCl >= 1.1.2} BuildRequires: %{python_module cffi} BuildRequires: %{python_module hypothesis} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.8.0} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyNaCl < 2.0 @@ -64,10 +66,10 @@ This is a Python implementation of Macaroons. rm -f tests/property_tests/macaroon_property_tests.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -76,6 +78,7 @@ rm -f tests/property_tests/macaroon_property_tests.py %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/* +%{python_sitelib}/pymacaroons +%{python_sitelib}/pymacaroons-%{version}*-info %changelog