diff --git a/fastremap-1.14.0.tar.gz b/fastremap-1.14.0.tar.gz deleted file mode 100644 index 8f8283e..0000000 --- a/fastremap-1.14.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:189d329a60d741fcef8945ad79068e3165e80bc5aa69b8d8897c2d33e701e95c -size 621365 diff --git a/fastremap-1.14.2.tar.gz b/fastremap-1.14.2.tar.gz new file mode 100644 index 0000000..2bca46e --- /dev/null +++ b/fastremap-1.14.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f6ed313a44c8214fa97576338fb4af691eb9e3f3153b121f5f345abece7b8b2 +size 43947 diff --git a/python-fastremap.changes b/python-fastremap.changes index c0fb462..d147a97 100644 --- a/python-fastremap.changes +++ b/python-fastremap.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Jul 8 01:11:21 UTC 2024 - Steve Kowalik + +- 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 diff --git a/python-fastremap.spec b/python-fastremap.spec index 5583c97..645cb1c 100644 --- a/python-fastremap.spec +++ b/python-fastremap.spec @@ -1,7 +1,7 @@ # # 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 # 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 -Version: 1.14.0 +Version: 1.14.2 Release: 0 Summary: Module to Remap, mask, renumber, and in-place transpose numpy arrays License: LGPL-3.0-only URL: https://github.com/seung-lab/fastremap/ Source: https://files.pythonhosted.org/packages/source/f/fastremap/fastremap-%{version}.tar.gz +BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel >= 1.16.0} BuildRequires: %{python_module pbr} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros @@ -45,10 +45,11 @@ A module to remap, mask, renumber, and in-place transpose numpy arrays. %build export CFLAGS="%{optflags}" -%python_build +cython -3 --cplus fastremap.pyx +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check @@ -57,6 +58,7 @@ export CFLAGS="%{optflags}" %files %{python_files} %doc AUTHORS ChangeLog README.md %license LICENSE -%{python_sitearch}/* +%{python_sitearch}/fastremap.cpython-*-linux-gnu.so +%{python_sitearch}/fastremap-%{version}.dist-info %changelog