|
|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
|
#
|
|
|
|
|
# spec file
|
|
|
|
|
# spec file for package python-pytest-astropy-header
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2022 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,12 +31,13 @@ Version: 0.2.2
|
|
|
|
|
Release: 0
|
|
|
|
|
Summary: Pytest plugin to add diagnostic information to the header of the test output
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
Group: Productivity/Scientific/Astronomy
|
|
|
|
|
URL: https://github.com/astropy/pytest-astropy-header
|
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
|
|
|
|
|
BuildRequires: %{python_module base >= 3.7}
|
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
|
BuildRequires: %{python_module setuptools >= 30.3.0}
|
|
|
|
|
BuildRequires: %{python_module setuptools_scm}
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
|
Requires: python-pytest >= 4.6
|
|
|
|
|
@@ -59,11 +60,11 @@ Astropy project, but is optimized for use with astropy-related projects.
|
|
|
|
|
%autosetup -p1 -n %{modname}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%python_build
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%if !%{with test}
|
|
|
|
|
%python_install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
@@ -79,7 +80,7 @@ export PYTHONPATH=$(pwd)
|
|
|
|
|
%doc CHANGES.rst README.rst
|
|
|
|
|
%license LICENSE.rst
|
|
|
|
|
%{python_sitelib}/pytest_astropy_header
|
|
|
|
|
%{python_sitelib}/pytest_astropy_header-%{version}*-info
|
|
|
|
|
%{python_sitelib}/pytest_astropy_header-%{version}.dist-info
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
|