15
0

Accepting request 1174901 from home:mcalabkova:branches:devel:languages:python

- Add patch pytest72.patch to fix compatibility with recent pytest

OBS-URL: https://build.opensuse.org/request/show/1174901
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMeeus?expand=0&rev=10
This commit is contained in:
2024-05-20 18:23:46 +00:00
committed by Git OBS Bridge
parent 231f07079f
commit cad63a2d8a
3 changed files with 96 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-PyMeeus
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-PyMeeus
Version: 0.5.12
@@ -25,6 +24,7 @@ Summary: Python implementation of Jean Meeus astronomical routines
License: LGPL-3.0-only
URL: https://github.com/architest/pymeeus
Source: https://files.pythonhosted.org/packages/source/P/PyMeeus/PyMeeus-%{version}.tar.gz
Patch: pytest72.patch
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -38,7 +38,7 @@ described in the classical book "Astronomical Algorithms, 2nd Edition,
Willmann-Bell Inc. (1998)" by Jean Meeus.
%prep
%setup -q -n PyMeeus-%{version}
%autosetup -p1 -n PyMeeus-%{version}
%build
%python_build
@@ -53,6 +53,7 @@ Willmann-Bell Inc. (1998)" by Jean Meeus.
%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/*
%{python_sitelib}/pymeeus
%{python_sitelib}/PyMeeus-%{version}*-info
%changelog