The package rpms/python-deap.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/python-deap.git/commit/?id=013129....
Change:
+%ifarch s390x
Thanks.
Full change:
============
commit 2ab411979a274dd5dc7220d9279b192517e7362e
Author: Aniket Pradhan <aniketpradhan1999(a)gmail.com>
Date: Wed Feb 19 18:27:27 2020 +0530
Update to 1.3.1. Fixes fails to build with Py3.9
diff --git a/.gitignore b/.gitignore
index 25d9051..ad14773 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
/deap-a4dc752.tar.gz
/deap-232ed17.tar.gz
/deap-1.3.0.tar.gz
+/python-deap-1.3.1.tar.gz
+/remove-sidebar.diff
diff --git a/python-deap.spec b/python-deap.spec
index af380bf..2951610 100644
--- a/python-deap.spec
+++ b/python-deap.spec
@@ -1,19 +1,11 @@
-#global commit 232ed17142da1c8bb6a39179018f8278b122aada
-%{?commit: %global shortcommit %(c=%{commit}; echo ${c:0:7}) }
-#global date 20160624
-
Name: python-deap
-Version: 1.3.0
-Release: 2%{?dist}
+Version: 1.3.1
+Release: 1%{?dist}
Summary: Distributed Evolutionary Algorithms in Python
License: LGPLv3
URL:
https://www.github.com/deap
-%if %{defined commit}
-Source0:
https://github.com/DEAP/deap/archive/%{commit}/deap-%{shortcommit}.tar.gz
-%else
-Source0:
https://github.com/DEAP/deap/archive/%{version}/deap-%{version}.tar.gz
-%endif
+Source0: %{pypi_source}
# Fixes error "Reason: TemplateNotFound()"
Patch1: remove-sidebar.diff
@@ -101,6 +93,10 @@ rm -rf build/html/.{doctrees,buildinfo}
%doc build/html
%changelog
+* Wed Feb 19 2020 Aniket Pradhan <major AT fedoraproject DOT org> - 1.3.1-1
+- Version update to 1.3.1
+- New version fixes fails to build with Python 3.9: imports abc from collections
(#1792065)
+
* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.0-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
diff --git a/sources b/sources
index 465d63c..93c6824 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-SHA512 (deap-1.3.0.tar.gz) =
703df73fa02dea5d6b38b159858d1ed6dd2090681b631fce4546c8ab1624bbd8f0f1ee5748dbbf542117ae7702ad737b72db1179ccfc9cba8adfdce26dd9d2dd
+SHA512 (python-deap-1.3.1.tar.gz) =
6e527921e2d1c1505412bc82cf2fdf3d4888d9b2073714b1370affb935129c88ea2afb1cf97f352b7ded113b5caa02f687dcd6510d8e5f09a38460218b07272a
+SHA512 (remove-sidebar.diff) =
2ffe823589a83b9ce41c1097233704d66ac74fe7656facff8069ac744f8b39bccbae5d8e186d98431e973c2cc61a28f444861101deda8f0e7041459f3e9abe56
commit 54dfeba332f98c71b21ee0dc3b71c68d32113cc2
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Jan 30 11:35:51 2020 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/python-deap.spec b/python-deap.spec
index 3aa3291..af380bf 100644
--- a/python-deap.spec
+++ b/python-deap.spec
@@ -4,7 +4,7 @@
Name: python-deap
Version: 1.3.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Distributed Evolutionary Algorithms in Python
License: LGPLv3
@@ -101,6 +101,9 @@ rm -rf build/html/.{doctrees,buildinfo}
%doc build/html
%changelog
+* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.0-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
* Sun Sep 29 2019 Zbigniew Jdrzejewski-Szmek <zbyszek(a)in.waw.pl> - 1.3.0-1
- Update to 1.3.0 (#1514435)
commit 5440ca9f5c3e4bbf420c783224202221715ddfce
Author: Zbigniew Jdrzejewski-Szmek <zbyszek(a)in.waw.pl>
Date: Sun Sep 29 20:25:11 2019 +0200
Add missing dist tag
diff --git a/python-deap.spec b/python-deap.spec
index d358b93..3aa3291 100644
--- a/python-deap.spec
+++ b/python-deap.spec
@@ -4,7 +4,7 @@
Name: python-deap
Version: 1.3.0
-Release: 1
+Release: 1%{?dist}
Summary: Distributed Evolutionary Algorithms in Python
License: LGPLv3
commit a7da16d7a4763bcb42e1db063f6a36d427dd9366
Author: Zbigniew Jdrzejewski-Szmek <zbyszek(a)in.waw.pl>
Date: Sun Sep 29 14:52:51 2019 +0200
Update to 1.3.0
diff --git a/.gitignore b/.gitignore
index bfb1618..25d9051 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/deap-a4dc752.tar.gz
/deap-232ed17.tar.gz
+/deap-1.3.0.tar.gz
diff --git a/python-deap-2to3.patch b/python-deap-2to3.patch
deleted file mode 100644
index ae6ed26..0000000
--- a/python-deap-2to3.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- deap-232ed17142da1c8bb6a39179018f8278b122aada/setup.py 2017-01-07 20:06:31.770481938
-0800
-+++ deap-232ed17142da1c8bb6a39179018f8278b122aada/setup.py.new 2017-01-07
20:06:52.469575515 -0800
-@@ -87,7 +87,8 @@
- 'Topic :: Software Development',
- ],
- ext_modules = extra_modules,
-- cmdclass = {'build_py': build_py, "build_ext" :
ve_build_ext}
-+ cmdclass = {'build_py': build_py, "build_ext" :
ve_build_ext},
-+ use_2to3=True,
- )
-
- try:
diff --git a/python-deap.spec b/python-deap.spec
index 72bcdd3..d358b93 100644
--- a/python-deap.spec
+++ b/python-deap.spec
@@ -1,22 +1,19 @@
-%global commit 232ed17142da1c8bb6a39179018f8278b122aada
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global date 20160624
+#global commit 232ed17142da1c8bb6a39179018f8278b122aada
+%{?commit: %global shortcommit %(c=%{commit}; echo ${c:0:7}) }
+#global date 20160624
Name: python-deap
-Version: 1.0.1
-Release: 14.%{date}git%{shortcommit}%{?dist}
+Version: 1.3.0
+Release: 1
Summary: Distributed Evolutionary Algorithms in Python
License: LGPLv3
URL:
https://www.github.com/deap
-Source0:
https://github.com/DEAP/deap/archive/%{commit}.tar.gz#/deap-%{shortcommit...
-
-# Tweak the usage of 2to3 in setup.py; this makes it work for the
-# tests (so long as we're using setuptools, which we are; distutils
-# doesn't understand this). Similar to
-#
https://github.com/DEAP/deap/pull/131 , but without pypy-specific
-# bits we don't care about
-Patch0: python-deap-2to3.patch
+%if %{defined commit}
+Source0:
https://github.com/DEAP/deap/archive/%{commit}/deap-%{shortcommit}.tar.gz
+%else
+Source0:
https://github.com/DEAP/deap/archive/%{version}/deap-%{version}.tar.gz
+%endif
# Fixes error "Reason: TemplateNotFound()"
Patch1: remove-sidebar.diff
@@ -38,10 +35,10 @@ BuildRequires: tex(anyfontsize.sty)
BuildRequires: python3-numpy
BuildRequires: python3-matplotlib
-%global _description \
-DEAP is a novel evolutionary computation framework for rapid \
-prototyping and testing of ideas that implements a number of genetic \
-optimization algorithms behind a common interface.
+%global _description %{expand:
+DEAP is a novel evolutionary computation framework for rapid
+prototyping and testing of ideas that implements a number of genetic
+optimization algorithms behind a common interface.}
%description %_description
@@ -59,19 +56,18 @@ BuildArch: noarch
%{summary}.
%prep
-%autosetup -n deap-%{commit} -p1
+%autosetup -n deap-%{version} -p1
sed -i 's/\["git", "rev-parse",
"HEAD"\]/["echo", "deap-%{version}-%{release}"]/' \
doc/conf.py
-# Work around for
https://github.com/matplotlib/matplotlib/issues/7313
-sed -i -r 's/arange\(([-0-9.]+), ([-0-9.]+), [-0-9.]+\)/linspace(\1, \2, 20)/'
doc/code/benchmarks/*.py
+2to3 -nw doc/conf.py
+
+# # Work around for
https://github.com/matplotlib/matplotlib/issues/7313
+# sed -i -r 's/arange\(([-0-9.]+), ([-0-9.]+), [-0-9.]+\)/linspace(\1, \2, 20)/'
doc/code/benchmarks/*.py
#
https://bugzilla.redhat.com/show_bug.cgi?id=1644771
sed -i -r "s|'matplotlib.sphinxext.only_directives',||" doc/conf.py
-#
https://bugzilla.redhat.com/show_bug.cgi?id=1711962
-sed -i -r s/sphinx.ext.pngmath/sphinx.ext.imgmath/ doc/conf.py
-
%build
%py3_build
@@ -105,6 +101,9 @@ rm -rf build/html/.{doctrees,buildinfo}
%doc build/html
%changelog
+* Sun Sep 29 2019 Zbigniew Jdrzejewski-Szmek <zbyszek(a)in.waw.pl> - 1.3.0-1
+- Update to 1.3.0 (#1514435)
+
* Mon Aug 19 2019 Miro Hronok <mhroncok(a)redhat.com> - 1.0.1-14.20160624git232ed17
- Rebuilt for Python 3.8
diff --git a/sources b/sources
index ef4310a..465d63c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2d0548dabd9546cab4440db97bfa09d8 deap-232ed17.tar.gz
+SHA512 (deap-1.3.0.tar.gz) =
703df73fa02dea5d6b38b159858d1ed6dd2090681b631fce4546c8ab1624bbd8f0f1ee5748dbbf542117ae7702ad737b72db1179ccfc9cba8adfdce26dd9d2dd
commit 0b5d3543efcafb75efdf498af4018241b715dea0
Author: Miro Hronok <miro(a)hroncok.cz>
Date: Mon Aug 19 10:34:03 2019 +0200
Rebuilt for Python 3.8
diff --git a/python-deap.spec b/python-deap.spec
index 7ca434d..72bcdd3 100644
--- a/python-deap.spec
+++ b/python-deap.spec
@@ -4,7 +4,7 @@
Name: python-deap
Version: 1.0.1
-Release: 13.%{date}git%{shortcommit}%{?dist}
+Release: 14.%{date}git%{shortcommit}%{?dist}
Summary: Distributed Evolutionary Algorithms in Python
License: LGPLv3
@@ -105,6 +105,9 @@ rm -rf build/html/.{doctrees,buildinfo}
%doc build/html
%changelog
+* Mon Aug 19 2019 Miro Hronok <mhroncok(a)redhat.com> - 1.0.1-14.20160624git232ed17
+- Rebuilt for Python 3.8
+
* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.0.1-13.20160624git232ed17
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
commit bb2ed12c7536badaeaea712e1424677b6fdf7c66
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 26 13:00:41 2019 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/python-deap.spec b/python-deap.spec
index 08c5227..7ca434d 100644
--- a/python-deap.spec
+++ b/python-deap.spec
@@ -4,7 +4,7 @@
Name: python-deap
Version: 1.0.1
-Release: 12.%{date}git%{shortcommit}%{?dist}
+Release: 13.%{date}git%{shortcommit}%{?dist}
Summary: Distributed Evolutionary Algorithms in Python
License: LGPLv3
@@ -105,6 +105,9 @@ rm -rf build/html/.{doctrees,buildinfo}
%doc build/html
%changelog
+* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.0.1-13.20160624git232ed17
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
* Mon May 20 2019 Zbigniew Jdrzejewski-Szmek <zbyszek(a)in.waw.pl> -
1.0.1-12.20160624git232ed17
- Fix build with sphinx 2
commit 01312996f511a66de2280379ea5e49aec71452d6
Author: Zbigniew Jdrzejewski-Szmek <zbyszek(a)in.waw.pl>
Date: Wed May 22 07:55:36 2019 +0200
Skip failing test under s390x
diff --git a/python-deap.spec b/python-deap.spec
index 8c53a62..08c5227 100644
--- a/python-deap.spec
+++ b/python-deap.spec
@@ -87,7 +87,12 @@ rm -rf build/html/.{doctrees,buildinfo}
%py3_install
%check
-%{__python3} setup.py nosetests
+%ifarch s390x
+# Fails with: AssertionError: CMA algorithm did not converged properly.
+%global test_options --exclude test_cma
+%endif
+
+%{__python3} setup.py nosetests %{?test_options}
%files -n python3-deap
%license LICENSE.txt
commit 5cc5b813b496c7bc963df8f376352cf97041e744
Author: Zbigniew Jdrzejewski-Szmek <zbyszek(a)in.waw.pl>
Date: Mon May 20 20:51:33 2019 +0200
Fix build with sphinx 2
diff --git a/python-deap.spec b/python-deap.spec
index 5b3463d..8c53a62 100644
--- a/python-deap.spec
+++ b/python-deap.spec
@@ -4,7 +4,7 @@
Name: python-deap
Version: 1.0.1
-Release: 11.%{date}git%{shortcommit}%{?dist}
+Release: 12.%{date}git%{shortcommit}%{?dist}
Summary: Distributed Evolutionary Algorithms in Python
License: LGPLv3
@@ -18,6 +18,9 @@ Source0:
https://github.com/DEAP/deap/archive/%{commit}.tar.gz#/deap-%{sh
# bits we don't care about
Patch0: python-deap-2to3.patch
+# Fixes error "Reason: TemplateNotFound()"
+Patch1: remove-sidebar.diff
+
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -30,7 +33,8 @@ BuildRequires: python3-numpy
# documentation
BuildRequires: python3-sphinx
BuildRequires: texlive-scheme-basic
-BuildRequires: texlive-ucs
+BuildRequires: tex(ucs.sty)
+BuildRequires: tex(anyfontsize.sty)
BuildRequires: python3-numpy
BuildRequires: python3-matplotlib
@@ -55,7 +59,7 @@ BuildArch: noarch
%{summary}.
%prep
-%autosetup -n deap-%{commit}
+%autosetup -n deap-%{commit} -p1
sed -i 's/\["git", "rev-parse",
"HEAD"\]/["echo", "deap-%{version}-%{release}"]/' \
doc/conf.py
@@ -65,6 +69,9 @@ sed -i -r 's/arange\(([-0-9.]+), ([-0-9.]+), [-0-9.]+\)/linspace(\1,
\2, 20)/' d
#
https://bugzilla.redhat.com/show_bug.cgi?id=1644771
sed -i -r "s|'matplotlib.sphinxext.only_directives',||" doc/conf.py
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1711962
+sed -i -r s/sphinx.ext.pngmath/sphinx.ext.imgmath/ doc/conf.py
+
%build
%py3_build
@@ -93,6 +100,9 @@ rm -rf build/html/.{doctrees,buildinfo}
%doc build/html
%changelog
+* Mon May 20 2019 Zbigniew Jdrzejewski-Szmek <zbyszek(a)in.waw.pl> -
1.0.1-12.20160624git232ed17
+- Fix build with sphinx 2
+
* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.0.1-11.20160624git232ed17
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
diff --git a/remove-sidebar.diff b/remove-sidebar.diff
new file mode 100644
index 0000000..8700415
--- /dev/null
+++ b/remove-sidebar.diff
@@ -0,0 +1,15 @@
+--- a/doc/conf.py 2019-05-20 21:46:33.132000331 +0200
++++ b/doc/conf.py 2019-05-20 21:47:53.355781211 +0200
+@@ -181,9 +181,9 @@
+ html_use_smartypants = True
+
+ # Custom sidebar templates, maps document names to template names.
+-html_sidebars = {
+- 'index': 'indexsidebar.html',
+-}
++#html_sidebars = {
++# 'index': 'indexsidebar.html',
++#}
+
+ # Additional templates that should be rendered to pages, maps page names to
+ # template names.