17
0

4 Commits

Author SHA256 Message Date
9664ee045a Accepting request 1272802 from science
OBS-URL: https://build.opensuse.org/request/show/1272802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-casacore?expand=0&rev=8
2025-04-26 20:25:28 +00:00
b769888ad1 * Update to version 3.7.1.
* Drop python-casacore-no-six.patch: upstreamed.
* Drop unecessary hashbang from a non-exectuable file.

OBS-URL: https://build.opensuse.org/package/show/science/python-casacore?expand=0&rev=14
2025-04-25 22:21:20 +00:00
a43ee6e1ff Accepting request 1199918 from science
OBS-URL: https://build.opensuse.org/request/show/1199918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-casacore?expand=0&rev=7
2024-09-11 14:55:33 +00:00
36802f1d7d Accepting request 1199178 from home:pgajdos:python
- version update to 3.6.1
  * The build system has seen a major upgrade.
  * Wheel related changes.
- do not require six
- added patches
  fix afb5cbf88e
  + python-casacore-no-six.patch

OBS-URL: https://build.opensuse.org/request/show/1199178
OBS-URL: https://build.opensuse.org/package/show/science/python-casacore?expand=0&rev=12
2024-09-10 17:29:41 +00:00
4 changed files with 31 additions and 9 deletions

View File

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

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Apr 25 13:54:04 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 3.7.1:
* No changelog.
- Drop python-casacore-no-six.patch: upstreamed.
- Drop unecessary hashbang from a non-exectuable file.
-------------------------------------------------------------------
Fri Sep 6 11:35:23 UTC 2024 - pgajdos@suse.com
- version update to 3.6.1
* The build system has seen a major upgrade.
* Wheel related changes.
- do not require six
- added patches
fix https://github.com/casacore/python-casacore/commit/afb5cbf88eb6e78dd2aefe53d5ddf5179e1f8110
+ python-casacore-no-six.patch
-------------------------------------------------------------------
Mon Sep 4 05:52:12 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-casacore
#
# Copyright (c) 2023 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
@@ -20,19 +20,20 @@
%define pythons python3
%global modname casacore
Name: python-casacore
Version: 3.5.2
Version: 3.7.1
Release: 0
Summary: A wrapper around CASACORE, the radio astronomy library
License: LGPL-3.0-or-later
Group: Development/Languages/Python
URL: https://github.com/casacore/python-casacore
Source: https://github.com/casacore/python-casacore/archive/refs/tags/v%{version}.tar.gz#/python-casacore-%{version}-gh.tar.gz
Source: https://files.pythonhosted.org/packages/source/p/python_casacore/python_casacore-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module scikit-build-core}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module wheel}
BuildRequires: casacore-devel
BuildRequires: fdupes
@@ -43,7 +44,6 @@ BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(cfitsio)
BuildRequires: pkgconfig(wcslib)
Requires: python-numpy
Requires: python-six
ExcludeArch: %ix86
%python_subpackages
@@ -51,10 +51,13 @@ ExcludeArch: %ix86
A python wrapper around CASACORE, the radio astronomy library
%prep
%setup -q -n python-casacore-%{version}
%autosetup -p1 -n python_casacore-%{version}
# empty file masking the module directory
rm pyrap/images.py
# Unnecessary hashbang
sed -Ei "1{\@/usr/bin/env python@d}" casacore/tables/wxtablebrowser.py
%build
export CFLAGS="%{optflags}"
%pyproject_wheel

View File

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