forked from pool/python-pytest-astropy
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-astropy
|
||||
Version: 0.11.0
|
||||
Release: 0
|
||||
@@ -24,8 +25,10 @@ License: BSD-3-Clause
|
||||
URL: https://github.com/astropy/pytest-astropy
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-astropy/pytest-astropy-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-attrs >= 19.2.0
|
||||
@@ -39,7 +42,6 @@ Requires: python-pytest-filter-subpackage >= 0.1.2
|
||||
Requires: python-pytest-mock >= 2.0
|
||||
Requires: python-pytest-remotedata >= 0.4.1
|
||||
BuildArch: noarch
|
||||
%{?sle15_python_module_pythons}
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -57,16 +59,16 @@ and `-m hugemem`.
|
||||
%setup -q -n pytest-astropy-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGES.rst README.rst
|
||||
%license LICENSE.rst
|
||||
%{python_sitelib}/pytest_astropy
|
||||
%{python_sitelib}/pytest_astropy-%{version}*-info
|
||||
%{python_sitelib}/pytest_astropy-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user