1
0
forked from pool/python-sherpa

Accepting request 834270 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/834270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2020-09-15 14:27:53 +00:00 committed by Git OBS Bridge
commit 969376c5c6
6 changed files with 34 additions and 1310 deletions

View File

@ -1,20 +0,0 @@
From d9e14da1618c9ca29363fc7be4524fce5ef22ac3 Mon Sep 17 00:00:00 2001
From: Todd <toddrme2178@gmail.com>
Date: Mon, 9 Dec 2019 11:48:38 -0500
Subject: [PATCH] Also have the build command run configure
Downstream Linux packagers generally split build and install into separate steps.
---
setup.cfg | 1 +
1 file changed, 1 insertion(+)
diff --git a/setup.cfg b/setup.cfg
index 807c2e511..747b82fb8 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,4 +1,5 @@
[aliases]
+build = sherpa_config xspec_config build
build_ext = sherpa_config xspec_config build_ext
develop = sherpa_config xspec_config develop
install = sherpa_config xspec_config install

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Mon Sep 14 09:33:07 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 4.12.1:
- [gh#sherpa/sherpa#832] Support building with NumPy 1.19.
- [gh#sherpa/sherpa#781] Docs: fix typo in docstring for
calc_kcor.
- [gh#sherpa/sherpa#759] Revert the ARF cache added in #444, as
well as some of the related code changes, as they caused
problems with Analysis in wavelength space (e.g.
gh#sherpa/sherpa#746).
- [gh#sherpa/sherpa#756]
calculate_photon_flux/calculate_energy_flux fix and
improvement.
- [gh#sherpa/sherpa#747] reworked regrid to eval usr grid, but 0
every where else.
- [gh#sherpa/sherpa#745] ensure that min/max limits are applied
to linked parameters before use.
- [gh#sherpa/sherpa#735] Remove ChIPS support.
- [gh#sherpa/sherpa#734] Change datastack
query_by_header_keyword to not error if keyword is missing.
- [gh#sherpa/sherpa#733] fix a bug with fit(cache=False) passing
the runtime option while fitting.
- [gh#sherpa/sherpa#732] Remove unused Python 2.7 compatibility
code.
- [gh#sherpa/sherpa#696] Support python 3.8.
- Drop already incorporated patches:
* python-sherpa-python3.8.patch.
* config_with_build.patch.
-------------------------------------------------------------------
Tue May 19 09:28:01 UTC 2020 - Petr Gajdos <pgajdos@suse.com>

View File

@ -19,17 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-sherpa
Version: 4.12.0
Version: 4.12.1
Release: 0
Summary: Modeling and fitting package for scientific data analysis
License: GPL-3.0-only
URL: https://github.com/sherpa/sherpa/
Source: https://github.com/sherpa/sherpa/archive/%{version}.tar.gz#/sherpa-%{version}.tar.gz
# PATCH-FIX-UPSTREAM config_with_build.patch -- https://github.com/sherpa/sherpa/pull/714
Patch0: config_with_build.patch
Patch1: reproducible.patch
# PATCH-FIX-UPSTREAM python-sherpa-python3.8.patch gh#sherpa/sherpa#696 badshah400@gmail.com -- Fix building with python3.8; taken from upstream commit
Patch2: python-sherpa-python3.8.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module setuptools}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:da70b4c7e5a71642ee5422af5a8e2e98bf420b67dbcd8ad35c02e144c125d424
size 11591113

3
sherpa-4.12.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:52af00976de7fe9a1a5b64effa9baae8d850f06a7e046025b48d05d4f54f9af9
size 11607411