Accepting request 1187423 from devel:languages:python:numeric
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1187423 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastremap?expand=0&rev=11
This commit is contained in:
commit
357994b505
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:189d329a60d741fcef8945ad79068e3165e80bc5aa69b8d8897c2d33e701e95c
|
|
||||||
size 621365
|
|
3
fastremap-1.14.2.tar.gz
Normal file
3
fastremap-1.14.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6f6ed313a44c8214fa97576338fb4af691eb9e3f3153b121f5f345abece7b8b2
|
||||||
|
size 43947
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 8 01:11:21 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.14.2:
|
||||||
|
* build: temporarily exclude macos until ecosystem fixes itself
|
||||||
|
* chore: ignore fastremap.cpp
|
||||||
|
* chore: ignore fastremap.cpp
|
||||||
|
* build: update for py312
|
||||||
|
* build: update build
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- Cythonize pyx file before building.
|
||||||
|
- No more greedy globs in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 5 17:49:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Tue Dec 5 17:49:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-fastremap
|
# spec file for package python-fastremap
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,21 +16,21 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
%define skip_python36 1
|
|
||||||
Name: python-fastremap
|
Name: python-fastremap
|
||||||
Version: 1.14.0
|
Version: 1.14.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Module to Remap, mask, renumber, and in-place transpose numpy arrays
|
Summary: Module to Remap, mask, renumber, and in-place transpose numpy arrays
|
||||||
License: LGPL-3.0-only
|
License: LGPL-3.0-only
|
||||||
URL: https://github.com/seung-lab/fastremap/
|
URL: https://github.com/seung-lab/fastremap/
|
||||||
Source: https://files.pythonhosted.org/packages/source/f/fastremap/fastremap-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/f/fastremap/fastremap-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module Cython}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module numpy-devel >= 1.16.0}
|
BuildRequires: %{python_module numpy-devel >= 1.16.0}
|
||||||
BuildRequires: %{python_module pbr}
|
BuildRequires: %{python_module pbr}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@ -45,10 +45,11 @@ A module to remap, mask, renumber, and in-place transpose numpy arrays.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%python_build
|
cython -3 --cplus fastremap.pyx
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -57,6 +58,7 @@ export CFLAGS="%{optflags}"
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc AUTHORS ChangeLog README.md
|
%doc AUTHORS ChangeLog README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/fastremap.cpython-*-linux-gnu.so
|
||||||
|
%{python_sitearch}/fastremap-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user