From 52b54f92f1772bb43decdb04a2976192e2b74ccb Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 11:04:32 +0000 Subject: automatic import of python-resampy --- .gitignore | 1 + python-resampy.spec | 167 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 169 insertions(+) create mode 100644 python-resampy.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..3b3f839 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/resampy-0.4.2.tar.gz diff --git a/python-resampy.spec b/python-resampy.spec new file mode 100644 index 0000000..5eef26b --- /dev/null +++ b/python-resampy.spec @@ -0,0 +1,167 @@ +%global _empty_manifest_terminate_build 0 +Name: python-resampy +Version: 0.4.2 +Release: 1 +Summary: Efficient signal resampling +License: ISC +URL: https://github.com/bmcfee/resampy +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/53/2e/734e1813f929ce562702f59283d5e585655eb2208ba97987549a5fc7fb68/resampy-0.4.2.tar.gz +BuildArch: noarch + +Requires: python3-numpy +Requires: python3-numba +Requires: python3-optuna +Requires: python3-numpydoc +Requires: python3-sphinx +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-scipy + +%description +# resampy +[![GitHub license](https://img.shields.io/badge/license-ISC-blue.svg)](https://raw.githubusercontent.com/bmcfee/resampy/master/LICENSE) +[![PyPI](https://img.shields.io/pypi/v/resampy.svg)](https://pypi.python.org/pypi/resampy) +[![Anaconda-Server Badge](https://anaconda.org/conda-forge/resampy/badges/version.svg)](https://anaconda.org/conda-forge/resampy) +[![CI](https://github.com/bmcfee/resampy/actions/workflows/ci.yml/badge.svg)](https://github.com/bmcfee/resampy/actions/workflows/ci.yml) +[![codecov](https://codecov.io/gh/bmcfee/resampy/branch/main/graph/badge.svg?token=o6a0xO89rz)](https://codecov.io/gh/bmcfee/resampy) +[![Documentation Status](https://readthedocs.org/projects/resampy/badge/?version=stable)](https://resampy.readthedocs.io/en/stable/?badge=stable) +[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.596633.svg)](https://doi.org/10.5281/zenodo.596633) + +Efficient sample rate conversion in Python. + +This package implements the band-limited sinc interpolation method for sampling rate conversion as described by: +> Smith, Julius O. Digital Audio Resampling Home Page +> Center for Computer Research in Music and Acoustics (CCRMA), +> Stanford University, 2015-02-23. +> Web published at [http://ccrma.stanford.edu/~jos/resample/](http://ccrma.stanford.edu/~jos/resample/). + + +# Installation + +`resampy` can be installed `pip` by the following command: +``` +python -m pip install resampy +``` + +It can also be installed by `conda` as follows: +``` +conda install -c conda-forge resampy +``` + + +%package -n python3-resampy +Summary: Efficient signal resampling +Provides: python-resampy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-resampy +# resampy +[![GitHub license](https://img.shields.io/badge/license-ISC-blue.svg)](https://raw.githubusercontent.com/bmcfee/resampy/master/LICENSE) +[![PyPI](https://img.shields.io/pypi/v/resampy.svg)](https://pypi.python.org/pypi/resampy) +[![Anaconda-Server Badge](https://anaconda.org/conda-forge/resampy/badges/version.svg)](https://anaconda.org/conda-forge/resampy) +[![CI](https://github.com/bmcfee/resampy/actions/workflows/ci.yml/badge.svg)](https://github.com/bmcfee/resampy/actions/workflows/ci.yml) +[![codecov](https://codecov.io/gh/bmcfee/resampy/branch/main/graph/badge.svg?token=o6a0xO89rz)](https://codecov.io/gh/bmcfee/resampy) +[![Documentation Status](https://readthedocs.org/projects/resampy/badge/?version=stable)](https://resampy.readthedocs.io/en/stable/?badge=stable) +[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.596633.svg)](https://doi.org/10.5281/zenodo.596633) + +Efficient sample rate conversion in Python. + +This package implements the band-limited sinc interpolation method for sampling rate conversion as described by: +> Smith, Julius O. Digital Audio Resampling Home Page +> Center for Computer Research in Music and Acoustics (CCRMA), +> Stanford University, 2015-02-23. +> Web published at [http://ccrma.stanford.edu/~jos/resample/](http://ccrma.stanford.edu/~jos/resample/). + + +# Installation + +`resampy` can be installed `pip` by the following command: +``` +python -m pip install resampy +``` + +It can also be installed by `conda` as follows: +``` +conda install -c conda-forge resampy +``` + + +%package help +Summary: Development documents and examples for resampy +Provides: python3-resampy-doc +%description help +# resampy +[![GitHub license](https://img.shields.io/badge/license-ISC-blue.svg)](https://raw.githubusercontent.com/bmcfee/resampy/master/LICENSE) +[![PyPI](https://img.shields.io/pypi/v/resampy.svg)](https://pypi.python.org/pypi/resampy) +[![Anaconda-Server Badge](https://anaconda.org/conda-forge/resampy/badges/version.svg)](https://anaconda.org/conda-forge/resampy) +[![CI](https://github.com/bmcfee/resampy/actions/workflows/ci.yml/badge.svg)](https://github.com/bmcfee/resampy/actions/workflows/ci.yml) +[![codecov](https://codecov.io/gh/bmcfee/resampy/branch/main/graph/badge.svg?token=o6a0xO89rz)](https://codecov.io/gh/bmcfee/resampy) +[![Documentation Status](https://readthedocs.org/projects/resampy/badge/?version=stable)](https://resampy.readthedocs.io/en/stable/?badge=stable) +[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.596633.svg)](https://doi.org/10.5281/zenodo.596633) + +Efficient sample rate conversion in Python. + +This package implements the band-limited sinc interpolation method for sampling rate conversion as described by: +> Smith, Julius O. Digital Audio Resampling Home Page +> Center for Computer Research in Music and Acoustics (CCRMA), +> Stanford University, 2015-02-23. +> Web published at [http://ccrma.stanford.edu/~jos/resample/](http://ccrma.stanford.edu/~jos/resample/). + + +# Installation + +`resampy` can be installed `pip` by the following command: +``` +python -m pip install resampy +``` + +It can also be installed by `conda` as follows: +``` +conda install -c conda-forge resampy +``` + + +%prep +%autosetup -n resampy-0.4.2 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-resampy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot - 0.4.2-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..a51a7b2 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +6d008e8a4ee3f5abc1a9070d7c9b311b resampy-0.4.2.tar.gz -- cgit v1.2.3