From c77a0a3909f3201648ba7c6162f4df2875134809 Mon Sep 17 00:00:00 2001 From: Aniket Pradhan Date: Nov 08 2021 13:47:49 +0000 Subject: Updated to v0.8 --- diff --git a/.gitignore b/.gitignore index db5072c..1c767bb 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /mne-bids-0.3.1.tar.gz /mne-bids-0.4.tar.gz /mne-bids-0.7.tar.gz +/mne-bids-0.8.tar.gz diff --git a/python-mne-bids.spec b/python-mne-bids.spec index ecb0dfa..cc74380 100644 --- a/python-mne-bids.spec +++ b/python-mne-bids.spec @@ -12,16 +12,14 @@ This is a repository for creating BIDS compatible data-sets with MNE. https://mne-tools.github.io/mne-bids/index.html} Name: python-%{pypi_name} -Version: 0.7 -Release: 3%{?dist} +Version: 0.8 +Release: 1%{?dist} Summary: Experimental code for BIDS using MNE License: BSD URL: https://github.com/mne-tools/mne-bids Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch -%{?python_enable_dependency_generator} - %description %{desc} @@ -32,12 +30,16 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-numpy BuildRequires: python3-pandas +BuildRequires: python3-tempita BuildRequires: python3-six BuildRequires: python3-nose BuildRequires: python3-scipy BuildRequires: python3-pytest-shutil BuildRequires: python3-matplotlib BuildRequires: python3-mne +BuildRequires: python3-tqdm +BuildRequires: python3-nibabel +BuildRequires: python3-pybv Requires: python3-mne Requires: python3-numpy @@ -47,6 +49,7 @@ Requires: python3-nose Requires: python3-scipy Requires: python3-pytest-shutil Requires: python3-matplotlib +Requires: python3-tempita %{?python_provide:%python_provide python3-%{pypi_name}} @@ -59,6 +62,11 @@ rm -rf %{pypi_name}.egg-info sed -i 's/mne.externals.six/six/' mne_bids/utils.py +find -type f -name '*.py' -exec sed -i \ + -e "s/from mne.externals.tempita/from tempita/" \ + {} ';' + + # remove she-bang lines in .py files. find * -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/.*$/ d' {} 2>/dev/null ';' @@ -71,7 +79,7 @@ find * -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/.*$/ d' {} 2>/dev/ %check %if %{with tests} export PYTHONPATH=$RPM_BUILD_ROOT/%{python3_sitelib} -pytest-%{python3_version} mne_bids +pytest-%{python3_version} mne_bids -W ignore::DeprecationWarning %endif # Run test require internet @@ -86,6 +94,10 @@ pytest-%{python3_version} mne_bids %{python3_sitelib}/*-py%{python3_version}.egg-info %changelog +* Mon Nov 08 2021 Aniket Pradhan - 0.8-1 +- New upstream version +- Removed explicit call to dependency generator + * Fri Jul 23 2021 Fedora Release Engineering - 0.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 0a36160..194cdf0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mne-bids-0.7.tar.gz) = daa7a30c98cf9dc7af5f22bef3e9b667cc5a6b9dbeb3c6e934242bd9d16069c00d09d561c273d2c98fe69b7f247f44c901df0efafc48f101f7905a49276609a4 +SHA512 (mne-bids-0.8.tar.gz) = 343704d132d18d794e0d2a032606e6b18a9954147a6b8d7e4c4b0f2ad427f9e9a1acb98b1b0f92767f17906dcaa1b72356a27f45c56d7c01d9225125d1fb055f