From 8f5b69a16518aa1f90f8b315e007414f1ce826a4 Mon Sep 17 00:00:00 2001 From: Aniket Pradhan Date: Jul 03 2021 12:00:02 +0000 Subject: Update to v2.1.0 --- diff --git a/.gitignore b/.gitignore index acb2680..e6bbb34 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /neurodsp-2.0.0.tar.gz /0001-Enforce-that-wavelet_len-be-an-int-as-it-should-be.patch +/neurodsp-2.1.0.tar.gz diff --git a/python-neurodsp.spec b/python-neurodsp.spec index b2974fe..69433b3 100644 --- a/python-neurodsp.spec +++ b/python-neurodsp.spec @@ -29,20 +29,16 @@ Journal of Open Source Software, 4(36), 1272. https://doi.org/10.21105/joss.01272} Name: python-%{pypi_name} -Version: 2.0.0 -Release: 8%{?dist} +Version: 2.1.0 +Release: 1%{?dist} Summary: A tool for digital signal processing for neural time series License: ASL 2.0 URL: https://neurodsp-tools.github.io/ Source0: https://github.com/neurodsp-tools/%{pypi_name}/archive/%{version}/%{pypi_name}-%{version}.tar.gz -Patch1: 0001-Enforce-that-wavelet_len-be-an-int-as-it-should-be.patch BuildArch: noarch -# Install dependencies automatically -%{?python_enable_dependency_generator} - %description %_description %package -n python3-%{pypi_name} @@ -57,13 +53,13 @@ BuildRequires: %{py3_dist matplotlib} BuildRequires: python3-pytest %endif -%{?python_provide:%python_provide python3-%{pypi_name}} +%py_provides python3-%{pypi_name} %description -n python3-%{pypi_name} %_description %prep # No keyring/signature from the upstream to verify the source -%autosetup -n %{pypi_name}-%{version} -p1 +%autosetup -n %{pypi_name}-%{version} rm -rf %{pypi_name}.egg-info find . -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' {} 2>/dev/null ';' @@ -71,23 +67,30 @@ find . -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' {} 2>/ %build %py3_build # cannot build the docs, as it downloads additional datasets (through mne). -# the docs also don't build unless line #101 is uncommented (in conf.py). %install %py3_install %check %if %{with tests} -pytest-3 +# Deselected tests that require internet +%pytest --deselect neurodsp/tests/utils/test_download.py %endif %files -n python3-%{pypi_name} %license LICENSE -%doc README.md paper/* +%doc README.rst paper/* %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %{python3_sitelib}/%{pypi_name} %changelog +* Sat Jul 03 2021 Aniket Pradhan - 2.1.0-1 +- Update to v2.1.0 +- Remove patch as it is no longer required +- Use pytest macro +- Remove automatic dependency generator +- Use py_provides macro + * Fri Jun 04 2021 Python Maint - 2.0.0-8 - Rebuilt for Python 3.10 diff --git a/sources b/sources index 560b38c..f0b09e3 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (0001-Enforce-that-wavelet_len-be-an-int-as-it-should-be.patch) = 88331a0a506720009a07ccac77948c8d6487b4e51586a70f2e2ad396838e91ceb1b568d2284b40e026eae74874c9de188c29f800f98b49ff2f126fa282d46f7b -SHA512 (neurodsp-2.0.0.tar.gz) = 7a8748175816f675e92e80d6154293945071052b30abb3203da5a66ec4c10ae4a985dff04ddfa65ed00238fe95cb6c3c7f0e25ed93176bd32ccaa9ec794c9056 +SHA512 (neurodsp-2.1.0.tar.gz) = 257bcee86d38c34f72b7d999469738a04f489789e1c401a6c21e04fcee7ba274acc4c342db0fa1a263ef222843d3fc061c987d2c8fa3e63861e618e37b24e2d4