[Python-modules-commits] [deap] 05/17: change version to 1.0.2.post2-1 (UNRELEASED) New upstream release.
Daniel Stender
danstender-guest at moszumanska.debian.org
Sun Mar 20 01:33:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
danstender-guest pushed a commit to branch master
in repository deap.
commit 37ae57817254db815c3cdf21d886c3a2fefac6ef
Merge: fd520aa ec074ea
Author: Daniel Stender <stender at debian.org>
Date: Sun Mar 20 01:42:41 2016 +0100
change version to 1.0.2.post2-1 (UNRELEASED)
New upstream release.
PKG-INFO | 146 +++++++++++++++++++--
README.md | 133 +++++++++++++++++++
README.txt | 9 --
deap/__init__.py | 2 +-
deap/algorithms.py | 92 ++++++++-----
deap/benchmarks/__init__.py | 7 +-
deap/cma.py | 4 +-
deap/gp.py | 31 +++--
debian/.git-dpm | 6 +-
debian/changelog | 6 +
debian/patches/0001-fix-docs.patch | 21 ++-
debian/patches/0002-fix-tests.patch | 2 +-
doc/_templates/indexsidebar.html | 2 +-
.../tutorials/part_2/2_3_5_seeding_a_population.py | 3 +-
doc/code/tutorials/part_3/logbook.py | 3 +-
doc/conf.py | 3 +-
doc/releases.rst | 12 ++
doc/tutorials/advanced/checkpoint.rst | 7 +-
doc/tutorials/basic/part3.rst | 12 +-
examples/ga/evoknn.py | 10 +-
examples/ga/knn.py | 10 +-
examples/ga/nsga2.py | 3 +-
examples/ga/test.py | 12 --
examples/ga/tsp.py | 4 +-
examples/gp/ant.py | 6 +-
examples/gp/spambase.py | 7 +-
setup.py | 12 +-
27 files changed, 434 insertions(+), 131 deletions(-)
diff --cc debian/.git-dpm
index bdcf5f8,0000000..2a712f1
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
+# see git-dpm(1) from git-dpm package
- d52b2785a0611a8cd175c7a4185b6d2be27d99cd
- d52b2785a0611a8cd175c7a4185b6d2be27d99cd
- cd6d4cb6de7bc5d56feb2b983fc9e3d51307103d
++ec074ea8a5f423889a6bc1310a94104ce7882d5f
++ec074ea8a5f423889a6bc1310a94104ce7882d5f
++72cb7e0658016b4a9c8d8a04f82635936819320e
+72cb7e0658016b4a9c8d8a04f82635936819320e
+deap_1.0.2.post2.orig.tar.xz
+4e673112d4c5cb5ab32ff43d05b98cec79aca425
+733264
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --cc debian/changelog
index d438e2a,0000000..8ef1d0d
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,113 -1,0 +1,119 @@@
++deap (1.0.2.post2-1) UNRELEASED; urgency=medium
++
++ * New upstream release.
++
++ -- Daniel Stender <stender at debian.org> Sun, 20 Mar 2016 01:42:41 +0100
++
+deap (1.0.1-4) unstable; urgency=medium
+
+ * deb/control:
+ + Uploaders: added missing group belonging.
+ + updated Vcs fields (moved to git).
+ + added python{,3}-scoop to Suggests.
+ * deb/copyright: removed trailing commas, updated.
+ * deb/watch: watch pypi.debian.net.
+ * Symlinks for docs package to reduce file redundancy:
+ + deb/control: added rdfind and symlinks to b-deps.
+ + deb/rules: added auto symlink creation to dh_auto_install override.
+ * fix-docs.patch:
+ + enabled and updated extlinks for examples.
+ + don't produce PDFs by Matplotlib (Closes: #775303).
+ * Autopkgtests:
+ + activated Python deprecation warnings.
+ + iterate unittests over py{,3}versions.
+
+ -- Daniel Stender <debian at danielstender.com> Fri, 08 May 2015 19:50:28 +0200
+
+deap (1.0.1-3+deb8u1) unstable; urgency=medium
+
+ * deb/control:
+ + added Conflicts and Replaces of python-deap-doc
+ (former name of docs package) for deap-doc (Closes: #765440).
+
+ -- Daniel Stender <debian at danielstender.com> Fri, 07 Nov 2014 01:24:41 +0100
+
+deap (1.0.1-3) unstable; urgency=medium
+
+ * deb/copyright: added licenses for doc/_static/sidebar.js and
+ doc/_static/copybutton.js (Closes: #765330).
+
+ -- Daniel Stender <debian at danielstender.com> Tue, 14 Oct 2014 11:33:32 +0200
+
+deap (1.0.1-2) unstable; urgency=medium
+
+ * deb/control:
+ + Transferred package to individual maintenance.
+ + Added package description for python3-deap.
+ + Updated b-ds and package dependencies, added numpy and
+ matplotlib to Recommends.
+ + Bumped standards to 3.9.6 (no changes needed).
+ + Changed package descriptions (antiquated).
+ * deb/copyright:
+ + Removed redundant paragraph.
+ * deb/rules:
+ + Added export lines for DH_VERBOSE and DEB_BUILD_OPTIONS.
+ + Build with Pybuild and dh_sphinxdoc, reduced.
+ * Tests:
+ + deb/control: added python{,3}-numpy to b-deps.
+ + Added fix-tests.patch.
+ + Set up autopkgtest suite.
+ * Docs:
+ + deb/control: renamed docs package (changed doc-base accordingly),
+ added needed packages (matplotlib, latex-extra, dvipng).
+ + Dropped deb/python-deap-doc.install, added deb/deap-doc.examples.
+ + Added fix-docs.patch (dropped deb/remove_ga.awk).
+ + Included doc.patch into fix-docs.patch.
+ * Improved watch file.
+ * Removed deb/source/options and deb/README.source (obsolete).
+
+ -- Daniel Stender <debian at danielstender.com> Mon, 13 Oct 2014 08:24:40 +0200
+
+deap (1.0.1-1) unstable; urgency=low
+
+ [ Miriam Ruiz ]
+ * New Upstream Release. Closes: #675200
+ * Upgraded Standards-Version from 3.9.2 to 3.9.5
+ * Switched to dh_python2
+ * Upgraded debian/compat to 9
+ * Added build-arch and build-indep targets to debian/rules
+ * Using awk to remove connection from the documentation to google analytics
+ * Using jquery.js and underscore.js from libjs-jquery and libjs-underscore
+ * Added patches/doc.patch
+
+ [ Daniel Stender ]
+ * deb/control:
+ + Added myself to Uploaders.
+ + Added version to b-p on python-all.
+ + Updated Homepage.
+ + Wrapped and sorted.
+ * deb/copyright:
+ + Changed copyright file towards DEP-5.
+ + Updated Source URI (project source moved to Github).
+ + Added email addresses for copyright holders.
+ + Dropped license for eap/toolbox.py (not included anymore).
+ + Extended copyrights to 2014.
+ + Added myself to copyrights for deb/*.
+ + Specified license location.
+ * Added watch file [initial version by Jackson Doak].
+
+ [ Jakub Wilk ]
+ * Use canonical URIs for Vcs-* fields.
+
+ -- Daniel Stender <debian at danielstender.com> Sun, 06 Jul 2014 00:03:41 +0200
+
+deap (0.7.1-1) unstable; urgency=low
+
+ [ Jakub Wilk ]
+ * Add Vcs-* fields.
+
+ [ Miriam Ruiz ]
+ * New Upstream Release
+ * Upgraded Standards-Version from 3.9.1 to 3.9.2
+
+ -- Miriam Ruiz <little_miry at yahoo.es> Thu, 17 Nov 2011 11:53:15 +0100
+
+deap (0.6-1) unstable; urgency=low
+
+ * Initial release. Closes: #609834
+
+ -- Miriam Ruiz <little_miry at yahoo.es> Thu, 09 Dec 2010 23:05:47 +0100
diff --cc debian/patches/0001-fix-docs.patch
index 638167d,0000000..547907c
mode 100644,000000..100644
--- a/debian/patches/0001-fix-docs.patch
+++ b/debian/patches/0001-fix-docs.patch
@@@ -1,99 -1,0 +1,98 @@@
- From cccef6357535a69f53b2e0f9ceae9790cf2ae14c Mon Sep 17 00:00:00 2001
++From 67baf205b6776d41fee51b12277c292164ce840d Mon Sep 17 00:00:00 2001
+From: Daniel Stender <debian at danielstender.com>
+Date: Fri, 16 Oct 2015 19:28:48 +0200
+Subject: fix-docs
+
+ privacy breaches and minor flaws, extlinks extension, don't produce PDFs
+ Forwarded: not-needed
+---
+ doc/_templates/layout.html | 12 ++----------
- doc/conf.py | 10 +++++-----
++ doc/conf.py | 8 +++++---
+ doc/examples/pso_basic.rst | 19 -------------------
- 3 files changed, 7 insertions(+), 34 deletions(-)
++ 3 files changed, 7 insertions(+), 32 deletions(-)
+
+diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
+index 41cccd5..7c98e3b 100644
+--- a/doc/_templates/layout.html
++++ b/doc/_templates/layout.html
+@@ -11,7 +11,7 @@
+ {% endblock %}
+
+ {% block rootrellink %}
+- <li><a href="http://code.google.com/p/deap/"><img src="{{ pathto('_static/deap_icon-39x55.png', 1) }}" style="height: 30px; vertical-align: middle; padding-right: 1em;" />Project Homepage</a>{{ reldelim1 }}</li>
++ <li><a href="http://code.google.com/p/deap/"><img src="{{ pathto('_static/deap_icon_16x16.ico', 1) }}" style="height: 30px; vertical-align: middle; padding-right: 1em;" />Project Homepage</a>{{ reldelim1 }}</li>
+ <li><a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }} </li>
+ {% endblock %}
+
+@@ -25,13 +25,5 @@
+ <br />
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version|e }}.
+ </div>
+-<script type="text/javascript">
+- (function() {
+- var ga = document.createElement('script');
+- ga.src = ('https:' == document.location.protocol ?
+- 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+- ga.setAttribute('async', 'true');
+- document.documentElement.firstChild.appendChild(ga);
+- })();
+-</script>
++
+ {% endblock %}
+diff --git a/doc/conf.py b/doc/conf.py
- index a16130e..99b7bb2 100644
++index c65136e..bf7084d 100644
+--- a/doc/conf.py
++++ b/doc/conf.py
+@@ -37,6 +37,8 @@ else:
+ extensions += ['matplotlib.sphinxext.only_directives',
+ 'matplotlib.sphinxext.plot_directive']
+
++plot_formats = [('png', 80), ('hires.png', 200)]
++
+ # Add any paths that contain templates here, relative to this directory.
+ templates_path = ['_templates']
+
- @@ -127,11 +129,9 @@ plot_html_show_formats = True
++@@ -126,10 +128,10 @@ plot_include_source = False
++ plot_html_show_formats = True
+
+ # -- Options for extlinks extension ----------------------------------------------
-
+-import subprocess
- -branch = str(subprocess.check_output(["hg", "branch"])[:-1])
- -extlinks = {'example': ('https://code.google.com/p/deap/source/browse/examples/%s.py?name='+branch,
- - 'examples/')}
- -
++-tree = subprocess.check_output(["git", "rev-parse", "HEAD"]).strip()
++#import subprocess
++#branch = str(subprocess.check_output(["hg", "branch"])[:-1])
- +extlinks = {'example': ('https://github.com/DEAP/deap/blob/master/examples/%s.py','examples/')}
+
++-extlinks = {'example': ('https://github.com/DEAP/deap/blob/{tree}/examples/%s.py'.format(tree=tree), "examples/")}
+++extlinks = {'example': ('https://github.com/DEAP/deap/blob/master/examples/%s.py','examples/')}
+ # -- Options for HTML output ---------------------------------------------------
+
++ # Add any paths that contain custom themes here, relative to this directory.
+diff --git a/doc/examples/pso_basic.rst b/doc/examples/pso_basic.rst
+index 01a488a..6232bca 100644
+--- a/doc/examples/pso_basic.rst
++++ b/doc/examples/pso_basic.rst
+@@ -97,25 +97,6 @@ Conclusion
+
+ The full PSO basic example can be found here : :example:`pso/basic`.
+
+-This is a video of the algorithm in action, plotted with matplotlib_.
+-The red dot represents the best solution found so far.
+-
+-.. _matplotlib: http://matplotlib.org/
+-
+-.. raw:: html
+-
+- <center>
+- <object style="height: 390px; width: 640px">
+- <param name="movie" value="http://www.youtube.com/v/f3MW2krobpo?version=3&feature=player_detailpage">
+- <param name="allowFullScreen" value="true">
+- <param name="allowScriptAccess" value="always">
+- <embed src="http://www.youtube.com/v/f3MW2krobpo?version=3&feature=player_detailpage"
+- type="application/x-shockwave-flash" allowfullscreen="true"
+- allowScriptAccess="always"
+- width="640" height="360">
+- </object>
+- </center>
+-
+ References
+ ==========
+
diff --cc debian/patches/0002-fix-tests.patch
index 4c14f5d,0000000..0750186
mode 100644,000000..100644
--- a/debian/patches/0002-fix-tests.patch
+++ b/debian/patches/0002-fix-tests.patch
@@@ -1,63 -1,0 +1,63 @@@
- From d52b2785a0611a8cd175c7a4185b6d2be27d99cd Mon Sep 17 00:00:00 2001
++From ec074ea8a5f423889a6bc1310a94104ce7882d5f Mon Sep 17 00:00:00 2001
+From: Daniel Stender <debian at danielstener.com>
+Date: Fri, 16 Oct 2015 19:30:13 +0200
+Subject: fix-tests
+
+ make tests run tree independently, removed unused import (cherry
+ picked from repo), disabled defective stuff, see
+ http://groups.google.com/forum/#!topic/deap-users/nOyiGlm38Zw
+ Forwarded: not-needed
+---
+ deap/tests/test_logbook.py | 2 +-
+ deap/tests/test_pickle.py | 13 ++++++-------
+ 2 files changed, 7 insertions(+), 8 deletions(-)
+
+diff --git a/deap/tests/test_logbook.py b/deap/tests/test_logbook.py
+index f0238fd..b5f2834 100644
+--- a/deap/tests/test_logbook.py
++++ b/deap/tests/test_logbook.py
+@@ -3,7 +3,7 @@ import unittest
+
+ sys.path.append("..")
+
+-import tools
++from deap import tools
+
+ class LogbookTest(unittest.TestCase):
+
+diff --git a/deap/tests/test_pickle.py b/deap/tests/test_pickle.py
+index 696b4db..0f808ab 100644
+--- a/deap/tests/test_pickle.py
++++ b/deap/tests/test_pickle.py
+@@ -4,16 +4,15 @@ import unittest
+ import array
+ import pickle
+ import operator
+-from test import test_support
+
+ sys.path.append("..")
+
+ import numpy
+
+-import creator
+-import base
+-import gp
+-import tools
++from deap import creator
++from deap import base
++from deap import gp
++from deap import tools
+
+ def func():
+ return "True"
+@@ -57,8 +56,8 @@ class Pickling(unittest.TestCase):
+ ind.fitness.values = (1.0,)
+ ind_s = pickle.dumps(ind)
+ ind_l = pickle.loads(ind_s)
+- msg = "Unpickled individual %s != pickled individual %s" % (str(ind), str(ind_l))
+- self.failUnlessEqual(ind, ind_l, msg)
++ # msg = "Unpickled individual %s != pickled individual %s" % (str(ind), str(ind_l))
++ self.failUnlessEqual(ind, ind_l)
+ msg = "Unpickled fitness %s != pickled fitness %s" % (str(ind.fitness), str(ind_l.fitness))
+ self.failUnlessEqual(ind.fitness, ind_l.fitness, msg)
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/deap.git
More information about the Python-modules-commits
mailing list