forked from pool/python-pymacaroons
Accepting request 1284380 from devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1284380 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymacaroons?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 10 08:26:02 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 26 09:05:17 UTC 2024 - ecsos <ecsos@opensuse.org>
|
Mon Feb 26 09:05:17 UTC 2024 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pymacaroons
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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 PyNaCl >= 1.1.2}
|
||||||
BuildRequires: %{python_module cffi}
|
BuildRequires: %{python_module cffi}
|
||||||
BuildRequires: %{python_module hypothesis}
|
BuildRequires: %{python_module hypothesis}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six >= 1.8.0}
|
BuildRequires: %{python_module six >= 1.8.0}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-PyNaCl < 2.0
|
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
|
rm -f tests/property_tests/macaroon_property_tests.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -76,6 +78,7 @@ rm -f tests/property_tests/macaroon_property_tests.py
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pymacaroons
|
||||||
|
%{python_sitelib}/pymacaroons-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user