|
|
485dd8f |
%bcond_without check
|
|
|
485dd8f |
|
|
Sergio Pascual |
63bcfc6 |
%global srcname emcee
|
|
Sergio Pascual |
cca2020 |
|
|
Sergio Pascual |
63bcfc6 |
Name: python-%{srcname}
|
|
|
bae2f0d |
Version: 3.1.4
|
|
|
475afaf |
Release: 5%{?dist}
|
|
Sergio Pascual |
cca2020 |
Summary: The Python ensemble sampling toolkit for affine-invariant MCMC
|
|
Sergio Pascual |
cca2020 |
License: MIT
|
|
Sergio Pascual |
cca2020 |
|
|
|
c5b2baa |
URL: https://emcee.readthedocs.io/en/stable/
|
|
|
c52c004 |
Source0: %{pypi_source}
|
|
|
01bf095 |
BuildRequires: python3-devel
|
|
Sergio Pascual |
cca2020 |
BuildArch: noarch
|
|
Sergio Pascual |
cca2020 |
|
|
|
c5b2baa |
%global _description %{expand:
|
|
|
c5b2baa |
emcee is a stable, well tested Python implementation of the affine-invariant ensemble sampler for Markov chain Monte Carlo (MCMC) proposed by Goodman & Weare (2010). The code is open source and has already been used in several published projects in the Astrophysics literature.}
|
|
Sergio Pascual |
cca2020 |
|
|
|
8be96f9 |
%description %_description
|
|
|
8be96f9 |
|
|
Sergio Pascual |
63bcfc6 |
%package -n python3-%{srcname}
|
|
|
485dd8f |
Summary: %{summary}
|
|
|
485dd8f |
BuildRequires: %{py3_dist setuptools}
|
|
|
9999350 |
BuildRequires: %{py3_dist setuptools_scm}
|
|
|
485dd8f |
%if %{with check}
|
|
|
485dd8f |
BuildRequires: %{py3_dist pytest}
|
|
|
485dd8f |
BuildRequires: %{py3_dist scipy}
|
|
|
485dd8f |
BuildRequires: %{py3_dist h5py}
|
|
|
485dd8f |
%endif
|
|
Sergio Pascual |
cca2020 |
|
|
Sergio Pascual |
63bcfc6 |
%description -n python3-%{srcname}
|
|
|
c5b2baa |
%_description
|
|
Sergio Pascual |
cca2020 |
|
|
Sergio Pascual |
cca2020 |
%prep
|
|
|
9a6e61c |
%autosetup -n %{srcname}-%{version}
|
|
Sergio Pascual |
cca2020 |
|
|
|
c5b2baa |
%generate_buildrequires
|
|
|
c5b2baa |
%pyproject_buildrequires
|
|
|
c5b2baa |
|
|
Sergio Pascual |
cca2020 |
%build
|
|
|
c5b2baa |
%pyproject_wheel
|
|
Sergio Pascual |
cca2020 |
|
|
Sergio Pascual |
cca2020 |
%install
|
|
|
c5b2baa |
%pyproject_install
|
|
|
c5b2baa |
|
|
|
c5b2baa |
%pyproject_save_files emcee
|
|
Sergio Pascual |
cca2020 |
|
|
|
485dd8f |
%if %{with check}
|
|
Sergio Pascual |
cca2020 |
%check
|
|
|
485dd8f |
# Some tests are failling in ppc64le with longdouble
|
|
|
9a6e61c |
export PYTHONDONTWRITEBYTECODE=1
|
|
|
9a6e61c |
export PYTEST_ADDOPTS='-p no:cacheprovider'
|
|
|
9a6e61c |
pushd %{buildroot}/%{python3_sitelib}
|
|
|
485dd8f |
pytest-%{python3_version} \
|
|
|
485dd8f |
%ifarch ppc64le
|
|
|
485dd8f |
--deselect "emcee/tests/integration/test_longdouble.py::test_longdouble_actually_needed[TempHDFBackend]" \
|
|
|
485dd8f |
--deselect "emcee/tests/unit/test_backends.py::test_longdouble_preserved[TempHDFBackend]" \
|
|
|
485dd8f |
--deselect "emcee/tests/unit/test_backends.py::test_hdf5_dtypes" \
|
|
|
485dd8f |
%endif
|
|
|
485dd8f |
emcee
|
|
|
9a6e61c |
popd
|
|
|
485dd8f |
%endif
|
|
|
5a50269 |
|
|
|
c5b2baa |
%files -n python3-%{srcname} -f %{pyproject_files}
|
|
Sergio Pascual |
63bcfc6 |
%doc AUTHORS.rst HISTORY.rst README.rst
|
|
Sergio Pascual |
cca2020 |
|
|
Sergio Pascual |
cca2020 |
%changelog
|
|
|
475afaf |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-5
|
|
|
475afaf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
475afaf |
|
|
|
8e36034 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-4
|
|
|
8e36034 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
8e36034 |
|
|
|
7a7e38b |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-3
|
|
|
7a7e38b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
7a7e38b |
|
|
|
9a5459c |
* Wed Jul 12 2023 Python Maint <python-maint@redhat.com> - 3.1.4-2
|
|
|
9a5459c |
- Rebuilt for Python 3.12
|
|
|
9a5459c |
|
|
|
bae2f0d |
* Tue May 02 2023 Sergio Pascual <sergiopr@fedoraproject.org> - 3.1.4-1
|
|
|
bae2f0d |
- New upstream source 3.1.4
|
|
|
bae2f0d |
|
|
|
18fdec7 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.3-2
|
|
|
18fdec7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
18fdec7 |
|
|
|
c5b2baa |
* Sat Jan 14 2023 Sergio Pascual <sergiopr@fedoraproject.org> - 3.1.3-1
|
|
|
c5b2baa |
- New upstream source 3.1.3
|
|
|
c5b2baa |
|
|
|
5a0859e |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-3
|
|
|
5a0859e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
5a0859e |
|
|
|
7a6e45c |
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 3.1.2-2
|
|
|
7a6e45c |
- Rebuilt for Python 3.11
|
|
|
7a6e45c |
|
|
|
a73e0f3 |
* Sun Jun 12 2022 Sergio Pascual <sergiopr@fedoraproject.org> - 3.1.2-1
|
|
|
a73e0f3 |
- New upstream source 3.1.2
|
|
|
a73e0f3 |
|
|
|
e774138 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-2
|
|
|
e774138 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
e774138 |
|
|
|
9999350 |
* Mon Aug 23 2021 Sergio Pascual <sergiopr@fedoraproject.org> - 3.1.1-1
|
|
|
9999350 |
- New upstream source
|
|
|
9999350 |
|
|
|
7edb41b |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-5
|
|
|
7edb41b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
7edb41b |
|
|
|
d7d7cfb |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.0.2-4
|
|
|
d7d7cfb |
- Rebuilt for Python 3.10
|
|
|
d7d7cfb |
|
|
|
485dd8f |
* Mon Feb 15 2021 Sergio Pascual <sergiopr@fedoraproject.org> - 3.0.2-3
|
|
|
485dd8f |
- Deselect some tests in ppc64le
|
|
|
485dd8f |
|
|
|
54fae50 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
|
|
|
54fae50 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
54fae50 |
|
|
|
c63e8d2 |
* Thu Jan 14 2021 Sergio Pascual <sergiopr@fedoraproject.org> - 3.0.2-1
|
|
|
c63e8d2 |
- New upstream source (3.0.2)
|
|
|
c63e8d2 |
|
|
|
d6bf0e1 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-5
|
|
|
d6bf0e1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
d6bf0e1 |
|
|
|
5fb32c4 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.0.0-4
|
|
|
5fb32c4 |
- Rebuilt for Python 3.9
|
|
|
5fb32c4 |
|
|
|
40369bb |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-3
|
|
|
40369bb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
40369bb |
|
|
|
f87fd60 |
* Thu Oct 03 2019 Sergio Pascual <sergiopr@fedoraproject.org> - 3.0.0-2
|
|
|
9a6e61c |
- New upstream source (3.0.0)
|
|
|
9a6e61c |
- Enable tests in python 3.8
|
|
|
f87fd60 |
- Updated sources
|
|
|
9a6e61c |
|
|
|
1165e5b |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.2.1-18
|
|
|
1165e5b |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
1165e5b |
|
|
|
090a801 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.2.1-17
|
|
|
090a801 |
- Rebuilt for Python 3.8
|
|
|
090a801 |
|
|
|
9bfa64d |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-16
|
|
|
9bfa64d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
9bfa64d |
|
|
|
9a6e61c |
|
|
|
c52c004 |
* Thu Jul 11 2019 Sergio Pascual <sergiopr@fedoraproject.org> - 2.2.1-15
|
|
|
5a50269 |
- Do not run the tests on python 3.8 (bz #1705929)
|
|
|
5a50269 |
|
|
|
81b68e4 |
* Thu Jul 11 2019 Sergio Pascual <sergiopr@fedoraproject.org> - 2.2.1-13
|
|
|
81b68e4 |
- Add patch to fix the faulty test "test_nan_lnprob"
|
|
|
81b68e4 |
|
|
|
47644fa |
* Wed Feb 13 2019 Sergio Pascual <sergiopr@fedoraproject.org> - 2.2.1-12
|
|
|
47644fa |
- Allow faillures in test suite
|
|
|
47644fa |
|
|
|
cd49f82 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-11
|
|
|
cd49f82 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
cd49f82 |
|
|
|
47644fa |
* Mon Oct 08 2018 Sergio Pascual <sergiopr@fedoraproject.org> - 2.2.1-10
|
|
|
01bf095 |
- Drop python2 subpackage
|
|
|
01bf095 |
|
|
|
29dcf8a |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-9
|
|
|
29dcf8a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
29dcf8a |
|
|
|
3eb65ef |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.2.1-8
|
|
|
3eb65ef |
- Rebuilt for Python 3.7
|
|
|
3eb65ef |
|
|
|
6411cad |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-7
|
|
|
6411cad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
6411cad |
|
|
|
284bb4a |
* Tue Jan 16 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.2.1-6
|
|
|
284bb4a |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
284bb4a |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
284bb4a |
|
|
|
8be96f9 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.2.1-5
|
|
|
8be96f9 |
- Python 2 binary package renamed to python2-emcee
|
|
|
8be96f9 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
8be96f9 |
|
|
|
f38670b |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-4
|
|
|
f38670b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
f38670b |
|
|
|
9c005aa |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-3
|
|
|
9c005aa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
9c005aa |
|
|
|
1d7d7f0 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.2.1-2
|
|
|
1d7d7f0 |
- Rebuild for Python 3.6
|
|
|
1d7d7f0 |
|
|
Sergio Pascual |
adbc277 |
* Wed Jul 27 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 2.2.1-1
|
|
Sergio Pascual |
adbc277 |
- New upstream source (2.2.1)
|
|
Sergio Pascual |
adbc277 |
|
|
|
c416d9d |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-3
|
|
|
c416d9d |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
c416d9d |
|
|
Sergio Pascual |
7a0812b |
* Thu Jul 14 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 2.2.0-2
|
|
Sergio Pascual |
7a0812b |
- Remove reference to patch in specfile
|
|
Sergio Pascual |
7a0812b |
|
|
Sergio Pascual |
539d347 |
* Wed Jul 13 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 2.2.0-1
|
|
Sergio Pascual |
539d347 |
- New upstream source (2.2.0)
|
|
Sergio Pascual |
539d347 |
- Update pypi url
|
|
Sergio Pascual |
539d347 |
- Remove numpy 1.11 patch (upstream fixed it)
|
|
Sergio Pascual |
539d347 |
|
|
Sergio Pascual |
63bcfc6 |
* Tue Mar 29 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 2.1.0-5
|
|
Sergio Pascual |
63bcfc6 |
- Provide python2 package
|
|
Sergio Pascual |
63bcfc6 |
- Fix problem with numpy 1.11
|
|
Sergio Pascual |
63bcfc6 |
|
|
|
6aa1425 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
|
|
|
6aa1425 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
6aa1425 |
|
|
|
8fb08af |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3
|
|
|
8fb08af |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
8fb08af |
|
|
|
b410c1d |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
|
|
|
b410c1d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
b410c1d |
|
|
Sergio Pascual |
cca2020 |
* Sun Jun 15 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 2.1.0-1
|
|
Sergio Pascual |
cca2020 |
- Initial spec
|