Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
python-pyFFTW
python-pyFFTW.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pyFFTW.spec of Package python-pyFFTW
# # spec file for package python-pyFFTW # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %ifarch %{ix86} x86_64 %bcond_without test %else %bcond_with test %endif Name: python-pyFFTW Version: 0.14.0 Release: 0 Summary: A pythonic wrapper around FFTW, the FFT library License: BSD-3-Clause AND GPL-2.0-or-later Group: Development/Languages/Python URL: https://github.com/pyFFTW/pyFFTW Source: https://github.com/pyFFTW/pyFFTW/archive/v%{version}.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module dask} BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel >= 1.16} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scipy >= 1.2.1} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: fftw3-devel BuildRequires: fftw3-threads-devel BuildRequires: python-rpm-macros Requires: python-dask Requires: python-numpy >= 1.16 Requires: python-scipy >= 1.2.1 %python_subpackages %description pyFFTW is a pythonic wrapper around the FFTW libary. An interface for all the possible transforms that FFTW can perform is provided. Both the complex DFT and the real DFT are supported, as well as arbitrary axes of abitrary shaped and strided arrays, which makes it almost feature equivalent to standard and real FFT functions of ``numpy.fft`` (indeed, it supports the ``clongdouble`` dtype which ``numpy.fft`` does not). Operating FFTW in multithreaded mode is supported. A comprehensive unittest suite can be found with the source on the github repository. %prep %autosetup -p1 -n pyFFTW-%{version} # remove shebangs sed -i -e '/^#!\//, 1d' pyfftw/*.py sed -i -e '/^#!\//, 1d' pyfftw/*/*.py %build # Work around gh#pyFFTW/pyFFTW#378 export CFLAGS="%{optflags} -Wno-incompatible-pointer-types" %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}/%{$python_sitearch}/pyfftw %if %{with test} %check %pytest_arch --import-mode=append tests %endif %files %{python_files} %doc README.md %license LICENSE.txt %{python_sitearch}/pyfftw %{python_sitearch}/pyFFTW-%{version}*-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor