[pyevolve] 03/81: Initial Debian packaging

Christian Kastner chrisk-guest at moszumanska.debian.org
Sun Aug 17 21:12:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

chrisk-guest pushed a commit to branch master
in repository pyevolve.

commit 8e05413172742293ec72974566e45730638b4d25
Author: Christian Kastner <debian at kvr.at>
Date:   Tue May 25 21:58:58 2010 +0200

    Initial Debian packaging
---
 debian/changelog                    |  5 +++
 debian/compat                       |  1 +
 debian/control                      | 82 +++++++++++++++++++++++++++++++++++++
 debian/copyright                    | 76 ++++++++++++++++++++++++++++++++++
 debian/patches/series               |  0
 debian/python-pyevolve-doc.doc-base |  9 ++++
 debian/python-pyevolve-doc.docs     |  4 ++
 debian/python-pyevolve-doc.links    |  1 +
 debian/python-pyevolve.examples     |  1 +
 debian/python-pyevolve.manpages     |  1 +
 debian/pyversions                   |  1 +
 debian/rules                        | 39 ++++++++++++++++++
 debian/source/format                |  1 +
 debian/watch                        |  3 ++
 14 files changed, 224 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0c61428
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pyevolve (0.6~rc1~svn397+dfsg-1) unstable; urgency=low
+
+  * Initial release (Closes: #580924)
+
+ -- Christian Kastner <debian at kvr.at>  Sun, 09 May 2010 14:02:17 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7ec9cc5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,82 @@
+Source: pyevolve
+Section: python
+Priority: optional
+Maintainer: Christian Kastner <debian at kvr.at>
+Build-Depends:
+    debhelper (>= 7.4.3),
+    python-all (>= 2.5),
+    python-support (>= 0.90),
+    python-setuptools,
+    python-sphinx,
+    python-matplotlib (>= 0.98.5),
+    python-tk,
+    python-numpy,
+    python-pydot
+Standards-Version: 3.8.4
+Homepage: http://pyevolve.sourceforge.net
+Vcs-Git: git://scm.kvr.at/git/pkg-pyevolve.git
+Vcs-Browser: http://scm.kvr.at/git/?p=pkg-pyevolve.git;a=summary
+
+Package: python-pyevolve
+Architecture: all
+Depends:
+    ${python:Depends},
+    ${misc:Depends}
+Recommends:
+    python-pyevolve-doc,
+    python-sqlite,
+    python-matplotlib (>= 0.98.5),
+    python-tk,
+    python-numpy,
+    python-pydot
+Suggests:
+    python-visual
+Description: Complete genetic algorithm framework written in pure python
+ Pyevolve was developed to be a complete genetic algorithm framework written in
+ pure python. The main objectives of Pyevolve are:
+ .
+  * written in pure python  - to maximize the cross-platform aspect
+  * easy to use API         - the API must simple to use to the end-user
+  * see the evolution       - the user must be able to see and interact with
+                              the evolution statistics, graphs, etc.
+  * extensible              - the API must be extensible, the user must be able
+                              to create new representations, genetic operators
+                              such as crossover, mutation, etc.
+  * fast                    - the design must be optimized for performance
+  * common features         - the framework must implement the most common
+                              features of GA: selectors like roulette wheel,
+                              tournament, ranking, uniform. Scaling schemes
+                              such as linear scaling, etc.
+  * default parameters      - There must be sensible defaults for all
+                              operators, settings, etc.
+  * open-source             - the source must be available to everyone.
+ 
+Package: python-pyevolve-doc
+Section: doc
+Architecture: all
+Depends:
+    ${misc:Depends}
+Suggests:
+    python-pyevolve,
+    libjs-jquery
+Description: Documentation for the Pyevolve genetic algorithm framework
+ Pyevolve was developed to be a complete genetic algorithm framework written in
+ pure python. The main objectives of Pyevolve are:
+ .
+  * written in pure python  - to maximize the cross-platform aspect
+  * easy to use API         - the API must be simple to use to the end-user
+  * see the evolution       - the user must be able to see and interact with
+                              the evolution statistics, graphs, etc.
+  * extensible              - the API must be extensible, the user can create
+                              new representations, genetic operators such as
+                              crossover, mutation, etc.
+  * fast                    - the design must be optimized for performance
+  * common features         - the framework must implement the most common
+                              features of GA: selectors like roulette wheel,
+                              tournament, ranking, uniform. Scaling schemes
+                              such as linear scaling, etc.
+  * default parameters      - There must be sensible defaults for all
+                              operators, settings, etc.
+  * open-source             - the source must be available to everyone.
+ . 
+ This package contains the documentation for Pyevolve in HTML form.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7a302a4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,76 @@
+This work was packaged for Debian by:
+
+    Christian Kastner <debian at kvr.at> on Sun, 09 May 2010 14:02:17 +0200
+
+It was downloaded from:
+
+    http://pyevolve.sourceforge.net
+
+Upstream Author(s):
+
+    Christian S. Perone <christian.perone at gmail.com>
+
+Copyright:
+
+    Copyright (C) 2007-2010 Christian S. Perone <christian.perone at gmail.com>
+
+
+License:
+
+    The Pyevolve license is based on the PSF license, which is GPL compatible
+    license. See http://www.python.org/psf/license.
+
+    1. This LICENSE AGREEMENT is between Christian S. Perone ("CSP"), and the
+    Individual or Organization ("Licensee") accessing and otherwise using
+    Pyevolve software in source or binary form and its associated
+    documentation.
+
+    2. Subject to the terms and conditions of this License Agreement, CSP
+    hereby grants Licensee a nonexclusive, royalty-free, world-wide license
+    to reproduce, analyze, test, perform and/or display publicly, prepare
+    derivative works, distribute, and otherwise use Pyevolve 0.6
+    alone or in any derivative version, provided, however, that CSP's
+    License Agreement and CSP's notice of copyright, i.e., "Copyright (c)
+    2007-2010 Christian S. Perone; All Rights Reserved" are retained in
+    Pyevolve 0.6 alone or in any derivative version prepared by
+    Licensee.
+
+    3. In the event Licensee prepares a derivative work that is based on or
+    incorporates Pyevolve 0.6 or any part thereof, and wants to
+    make the derivative work available to others as provided herein, then
+    Licensee hereby agrees to include in any such work a brief summary of
+    the changes made to Pyevolve 0.6.
+
+    4. CSP is making Pyevolve 0.6 available to Licensee on an "AS
+    IS" basis.  CSP MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+    IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, CSP MAKES NO AND
+    DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+    FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF Pyevolve 0.6
+    WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
+
+    5. CSP SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF Pyevolve
+    0.6 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR
+    LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING
+    Pyevolve 0.6, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF
+    THE POSSIBILITY THEREOF.
+
+    6. This License Agreement will automatically terminate upon a material
+    breach of its terms and conditions.
+
+    7. Nothing in this License Agreement shall be deemed to create any
+    relationship of agency, partnership, or joint venture between CSP and
+    Licensee.  This License Agreement does not grant permission to use CSP
+    trademarks or trade name in a trademark sense to endorse or promote
+    products or services of Licensee, or any third party.
+
+    8. By copying, installing or otherwise using Pyevolve 0.6,
+    Licensee agrees to be bound by the terms and conditions of this License
+    Agreement.
+
+
+The Debian packaging is:
+
+    Copyright (C) 2010 Christian Kastner <debian at kvr.at>
+
+and is licensed under the GPL version 3,
+see "/usr/share/common-licenses/GPL-3".
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e69de29
diff --git a/debian/python-pyevolve-doc.doc-base b/debian/python-pyevolve-doc.doc-base
new file mode 100644
index 0000000..5474c53
--- /dev/null
+++ b/debian/python-pyevolve-doc.doc-base
@@ -0,0 +1,9 @@
+Document: python-pyevolve-doc
+Title: Debian Pyevolve Manual
+Author: Christian S. Perone
+Abstract: This manual contains the API and usage documentation for the Pyevolve genetic algorithm framework.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/python-pyevolve-doc/index.html
+Files: /usr/share/doc/python-pyevolve-doc/*.html
diff --git a/debian/python-pyevolve-doc.docs b/debian/python-pyevolve-doc.docs
new file mode 100644
index 0000000..2236399
--- /dev/null
+++ b/debian/python-pyevolve-doc.docs
@@ -0,0 +1,4 @@
+docs/build/_images
+docs/build/_static
+docs/build/*.html
+docs/build/*.js
diff --git a/debian/python-pyevolve-doc.links b/debian/python-pyevolve-doc.links
new file mode 100644
index 0000000..04e9739
--- /dev/null
+++ b/debian/python-pyevolve-doc.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js	usr/share/doc/python-pyevolve-doc/jquery.js
diff --git a/debian/python-pyevolve.examples b/debian/python-pyevolve.examples
new file mode 100644
index 0000000..2c8fad4
--- /dev/null
+++ b/debian/python-pyevolve.examples
@@ -0,0 +1 @@
+examples/*.py
diff --git a/debian/python-pyevolve.manpages b/debian/python-pyevolve.manpages
new file mode 100644
index 0000000..0d02472
--- /dev/null
+++ b/debian/python-pyevolve.manpages
@@ -0,0 +1 @@
+docs/pyevolve-graph.1
diff --git a/debian/pyversions b/debian/pyversions
new file mode 100644
index 0000000..b3dc41e
--- /dev/null
+++ b/debian/pyversions
@@ -0,0 +1 @@
+2.5-
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4875120
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,39 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+PKG_ABSDIR = $(CURDIR)/debian/python-pyevolve
+HTML_ABSDIR = ${PKG_ABSDIR}/usr/share/doc/python-pyevolve/html
+
+
+%:
+	dh  $@
+
+# Override needed for docs and egg-info
+override_dh_auto_clean:
+	rm -rf Pyevolve.egg-info
+	rm -rf docs/build
+	rm -rf build
+
+# Override needed for building documentation; jquery link
+override_dh_auto_build:
+	python setup.py build
+	cd docs && sh build_docs.sh
+	rm -f docs/build/_static/jquery.js
+
+# Override needed for multiple binary package;
+# script must be renamed, line endings converted to Unix
+override_dh_auto_install:
+	python setup.py install --root=${PKG_ABSDIR}
+	tr -d '\r' < ${PKG_ABSDIR}/usr/bin/pyevolve_graph.py \
+	           > ${PKG_ABSDIR}/usr/bin/pyevolve-graph
+	rm -f ${PKG_ABSDIR}/usr/bin/pyevolve_graph.py
+
+# Don't compress sphinx's javascript files
+override_dh_compress:
+	dh_compress -X.js
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..b7a3aa6
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://sf.net/pyevolve/Pyevolve-(.+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyevolve.git



More information about the debian-science-commits mailing list