Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-astropy-helpers for
openSUSE:Factory checked in at 2021-02-20 22:13:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-astropy-helpers (Old)
and /work/SRC/openSUSE:Factory/.python-astropy-helpers.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-astropy-helpers"
Sat Feb 20 22:13:18 2021 rev:8 rq:874044 version:4.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-astropy-helpers/python-astropy-helpers.changes
2020-02-03 11:12:51.705831087 +0100
+++
/work/SRC/openSUSE:Factory/.python-astropy-helpers.new.28504/python-astropy-helpers.changes
2021-02-20 22:13:19.575105117 +0100
@@ -1,0 +2,7 @@
+Fri Feb 19 16:43:02 UTC 2021 - Benjamin Greiner <[email protected]>
+
+- Skip python36 build. Neither Astropy 4.2 nor NumPy 1.20 present
+ in Tumbleweed provide a python36 flavor (NEP 29)
+- Use GitHub archive for test suite.
+
+-------------------------------------------------------------------
Old:
----
astropy-helpers-4.0.1.tar.gz
New:
----
astropy-helpers-4.0.1-gh.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-astropy-helpers.spec ++++++
--- /var/tmp/diff_new_pack.TAmBzc/_old 2021-02-20 22:13:20.007105576 +0100
+++ /var/tmp/diff_new_pack.TAmBzc/_new 2021-02-20 22:13:20.011105581 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-astropy-helpers
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,24 +18,28 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
+%define skip_python36 1
Name: python-astropy-helpers
Version: 4.0.1
Release: 0
Summary: Utilities for building and installing Astropy
License: BSD-3-Clause
URL: https://github.com/astropy/astropy-helpers
-Source:
https://files.pythonhosted.org/packages/source/a/astropy-helpers/astropy-helpers-%{version}.tar.gz
+# get the test suite
+Source:
%{url}/archive/v%{version}.tar.gz#/astropy-helpers-%{version}-gh.tar.gz
Source100: python-astropy-helpers-rpmlintrc
BuildRequires: %{python_module Cython}
-BuildRequires: %{python_module Sphinx >= 1.7}
BuildRequires: %{python_module numpydoc}
BuildRequires: %{python_module numpy}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
+BuildRequires: git-core
BuildRequires: python-rpm-macros
-Requires: python-Sphinx >= 1.7
-Requires: python-numpy
-Requires: python-numpydoc
+Recommends: python-sphinx-astropy
+Recommends: python-Cython
+Recommends: python-numpy
+Recommends: python-numpydoc
BuildArch: noarch
%python_subpackages
@@ -61,15 +65,21 @@
%install
%python_install
-%{python_expand %fdupes %{buildroot}%{$python_sitelib}
-$python -m compileall -d %{$python_sitelib}
%{buildroot}%{$python_sitelib}/astropy_helpers
-$python -O -m compileall -d %{$python_sitelib}
%{buildroot}%{$python_sitelib}/astropy_helpers
-%fdupes %{buildroot}%{$python_sitelib}
-}
+%python_compileall
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%check
+export OPENMP_EXPECTED=True
+git config --global user.email 'abuild@obs'
+git config --global user.nme 'abuild on OBS'
+# we don't have (and need) sphinx-astropy to build the docs.
+# Note that extension helpers, superseeding astropy-helpers dropped
sphinx-astropy
+%pytest --ignore build -k "not test_build_docs"
%files %{python_files}
%license LICENSE.rst
%doc README.rst CHANGES.rst
-%{python_sitelib}/*
+%{python_sitelib}/astropy_helpers
+%{python_sitelib}/astropy_helpers-%{version}*-info
%changelog