[Python-modules-commits] r29898 - in packages/deap/trunk/debian (10 files)

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Thu Jul 24 23:08:16 UTC 2014


    Date: Thursday, July 24, 2014 @ 23:08:15
  Author: danstender-guest
Revision: 29898

* deb/control:
  + Transferred package to individual maintenance.
  + Added package description for python3-deap.
  + Updated b-ds and package dependencies.
* deb/copyright:
  + Removed redundant paragraph.
* deb/rules:
  + Added export lines for DH_VERBOSE and DEB_BUILD_OPTIONS.
  + Reduced to build with Pybuild.
  + Prevent compression for scripts in examples.
* Changed python-deap-doc.install to python-deap-doc.docs.
* Added Forwarded info line to doc.patch.
* Removed source/option, README.source (obsolete).

Added:
  packages/deap/trunk/debian/python-deap-doc.docs
Modified:
  packages/deap/trunk/debian/changelog
  packages/deap/trunk/debian/control
  packages/deap/trunk/debian/copyright
  packages/deap/trunk/debian/patches/doc.patch
  packages/deap/trunk/debian/python-deap-doc.doc-base
  packages/deap/trunk/debian/rules
Deleted:
  packages/deap/trunk/debian/README.source
  packages/deap/trunk/debian/python-deap-doc.install
  packages/deap/trunk/debian/source/options

Deleted: packages/deap/trunk/debian/README.source
===================================================================
--- packages/deap/trunk/debian/README.source	2014-07-24 13:08:04 UTC (rev 29897)
+++ packages/deap/trunk/debian/README.source	2014-07-24 23:08:15 UTC (rev 29898)
@@ -1 +0,0 @@
-See /usr/share/doc/quilt/README.source

Modified: packages/deap/trunk/debian/changelog
===================================================================
--- packages/deap/trunk/debian/changelog	2014-07-24 13:08:04 UTC (rev 29897)
+++ packages/deap/trunk/debian/changelog	2014-07-24 23:08:15 UTC (rev 29898)
@@ -1,3 +1,21 @@
+deap (1.0.1-2) UNRELEASED; urgency=low
+
+  * deb/control:
+    + Transferred package to individual maintenance.
+    + Added package description for python3-deap.
+    + Updated b-ds and package dependencies.
+  * deb/copyright:
+    + Removed redundant paragraph.
+  * deb/rules:
+    + Added export lines for DH_VERBOSE and DEB_BUILD_OPTIONS.
+    + Reduced to build with Pybuild.
+    + Prevent compression for scripts in examples.
+  * Changed python-deap-doc.install to python-deap-doc.docs.
+  * Added Forwarded info line to doc.patch.
+  * Removed source/option, README.source (obsolete).
+
+ -- Daniel Stender <debian at danielstender.com>  Fri, 25 Jul 2014 01:06:28 +0200
+
 deap (1.0.1-1) unstable; urgency=low
 
   [ Miriam Ruiz ]

Modified: packages/deap/trunk/debian/control
===================================================================
--- packages/deap/trunk/debian/control	2014-07-24 13:08:04 UTC (rev 29897)
+++ packages/deap/trunk/debian/control	2014-07-24 23:08:15 UTC (rev 29898)
@@ -1,16 +1,15 @@
 Source: deap
 Section: python
 Priority: optional
-Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Miriam Ruiz <miriam at debian.org>, Daniel Stender <debian at danielstender.com>
+Maintainer: Daniel Stender <debian at danielstender.com>
+Uploaders:
+ Miriam Ruiz <miriam at debian.org>
 Build-Depends:
  debhelper (>= 9),
- dh-buildinfo,
- dvipng,
- python-all (>= 2.6.6-3~),
- python-setuptools,
+ dh-python,
+ python-all,
  python-sphinx,
- quilt
+ python3-all
 Standards-Version: 3.9.5
 Homepage: http://deap.gel.ulaval.ca/doc/default/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/deap/trunk/
@@ -18,21 +17,46 @@
 
 Package: python-deap
 Architecture: all
-Depends: ${misc:Depends}, ${shlibs:Depends}
-Provides: ${python:Provides}
-Suggests: python-deap-doc
+Depends:
+ ${misc:Depends},
+ ${python:Depends}
+Suggests:
+ python-deap-doc
 Description: Distributed Evolutionary Algorithms in Python
  DEAP is intended to be an easy to use distributed evolutionary algorithm
  library in the Python language. Its two main components are modular and can
  be used separately. The first module is a Distributed Task Manager (DTM),
  which is intended to run on cluster of computers. The second part is the
  Evolutionary Algorithms in Python (EAP) framework.
+ .
+ This package contains the modules for Python2.
 
+Package: python3-deap
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends}
+Suggests:
+ python-deap-doc
+Description: Distributed Evolutionary Algorithms in Python3
+ DEAP is intended to be an easy to use distributed evolutionary algorithm
+ library in the Python language. Its two main components are modular and can
+ be used separately. The first module is a Distributed Task Manager (DTM),
+ which is intended to run on cluster of computers. The second part is the
+ Evolutionary Algorithms in Python (EAP) framework.
+ .
+ This package contains the modules for Python3.
+
 Package: python-deap-doc
 Section: doc
 Architecture: all
-Depends: libjs-jquery, libjs-underscore, ${misc:Depends}, ${shlibs:Depends}
-Recommends: python-deap
+Depends:
+ libjs-jquery,
+ libjs-underscore,
+ ${misc:Depends}
+Recommends:
+ python-deap,
+ python3-deap
 Description: Distributed Evolutionary Algorithms in Python - documentation
  DEAP is intended to be an easy to use distributed evolutionary algorithm
  library in the Python language. Its two main components are modular and can

Modified: packages/deap/trunk/debian/copyright
===================================================================
--- packages/deap/trunk/debian/copyright	2014-07-24 13:08:04 UTC (rev 29897)
+++ packages/deap/trunk/debian/copyright	2014-07-24 23:08:15 UTC (rev 29898)
@@ -23,6 +23,3 @@
  .
  On Debian systems, the complete text of the latest version of the GNU Lesser
  General Public License can be found in `/usr/share/common-licenses/LGPL-3'.
- .
- The complete text of version 3 of the Lesser GNU General Public License
- can be found in `/usr/share/common-licenses/LGPL-3'.

Modified: packages/deap/trunk/debian/patches/doc.patch
===================================================================
--- packages/deap/trunk/debian/patches/doc.patch	2014-07-24 13:08:04 UTC (rev 29897)
+++ packages/deap/trunk/debian/patches/doc.patch	2014-07-24 23:08:15 UTC (rev 29898)
@@ -1,5 +1,6 @@
 Description: Disable options for extlinks extension
 Author: Miriam Ruiz <miriam at debian.org>
+Forwarded: not-needed
 
 --- a/doc/conf.py
 +++ b/doc/conf.py

Modified: packages/deap/trunk/debian/python-deap-doc.doc-base
===================================================================
--- packages/deap/trunk/debian/python-deap-doc.doc-base	2014-07-24 13:08:04 UTC (rev 29897)
+++ packages/deap/trunk/debian/python-deap-doc.doc-base	2014-07-24 23:08:15 UTC (rev 29898)
@@ -7,5 +7,5 @@
 Section: Programming/Python
 
 Format: HTML
-Index: /usr/share/doc/python-deap/html/index.html
-Files: /usr/share/doc/python-deap/html/*
+Index: /usr/share/doc/python-deap-doc/html/index.html
+Files: /usr/share/doc/python-deap-doc/html/*.html

Added: packages/deap/trunk/debian/python-deap-doc.docs
===================================================================
--- packages/deap/trunk/debian/python-deap-doc.docs	                        (rev 0)
+++ packages/deap/trunk/debian/python-deap-doc.docs	2014-07-24 23:08:15 UTC (rev 29898)
@@ -0,0 +1,2 @@
+doc/_build/html
+examples

Deleted: packages/deap/trunk/debian/python-deap-doc.install
===================================================================
--- packages/deap/trunk/debian/python-deap-doc.install	2014-07-24 13:08:04 UTC (rev 29897)
+++ packages/deap/trunk/debian/python-deap-doc.install	2014-07-24 23:08:15 UTC (rev 29898)
@@ -1,2 +0,0 @@
-doc/_build/html usr/share/doc/python-deap/
-examples/ usr/share/doc/python-deap/

Modified: packages/deap/trunk/debian/rules
===================================================================
--- packages/deap/trunk/debian/rules	2014-07-24 13:08:04 UTC (rev 29897)
+++ packages/deap/trunk/debian/rules	2014-07-24 23:08:15 UTC (rev 29898)
@@ -1,78 +1,31 @@
 #!/usr/bin/make -f
+#export DH_VERBOSE=1
+export DEB_BUILD_OPTIONS=nocheck
+export PYBUILD_NAME=deap
 
-include /usr/share/quilt/quilt.make
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
-PYVERS=$(shell pyversions -vs)
+override_dh_auto_clean:
+	rm -rf doc/_build
+	dh_auto_clean
 
-config: config-stamp
-config-stamp: 
-	dh_testdir
-	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make patch
-	touch $@
-
-build-arch: build
-build-indep: build
-
-build: $(PYVERS:%=build-python%)
-	cd doc/ && make html
+override_dh_installdocs:
+	cd doc && $(MAKE) html
 	find doc/_build/html -name "*.html" | while read F; do \
-		echo Removing google-analytics from $$F; \
-		cp "$$F" tmp.html; \
-		printf "\n\n" >> tmp.html; \
-		awk -f "$(CURDIR)/debian/remove_ga.awk" tmp.html > "$$F"; \
-		rm tmp.html; \
-		done
-
-build-python%: config-stamp
-	dh_testdir
-	python$* setup.py build
-	touch $@
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f config-stamp build-python?.* install-python?.*
-	rm -f `find . -name "*.pyc"`
-	rm -rf build doc/build doc/_build
-	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
-	dh_clean
-
-install: build $(PYVERS:%=install-python%)
-
-install-python%:
-	dh_testdir
-	dh_testroot
-	python$* setup.py install \
-		--no-compile \
-		--root=$(CURDIR)/debian/python-deap
-	touch $@
-
-binary-indep: install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
+	   echo Removing google-analytics from $$F; \
+	   cp "$$F" tmp.html; \
+	   printf "\n\n" >> tmp.html; \
+	   awk -f "$(CURDIR)/debian/remove_ga.awk" tmp.html > "$$F"; \
+	   rm tmp.html; \
+	done
 	dh_installdocs
-	dh_installexamples
-	dh_install
-	dh_installman
-	rm -fv debian/python-deap-doc/usr/share/doc/python-deap/html/_static/jquery.js
+	rm -fv debian/python-deap-doc/usr/share/doc/python-deap-doc/html/_static/jquery.js
 	ln -s /usr/share/javascript/jquery/jquery.js \
-		debian/python-deap-doc/usr/share/doc/python-deap/html/_static/jquery.js
-	rm -fv debian/python-deap-doc/usr/share/doc/python-deap/html/_static/underscore.js
+	   debian/python-deap-doc/usr/share/doc/python-deap-doc/html/_static/jquery.js
+	rm -fv debian/python-deap-doc/usr/share/doc/python-deap-doc/html/_static/underscore.js
 	ln -s /usr/share/javascript/underscore/underscore.js \
-		debian/python-deap-doc/usr/share/doc/python-deap/html/_static/underscore.js
-	dh_link
-	dh_compress --exclude=.js --exclude=.pdf --exclude=.py --exclude=.yml
-	dh_fixperms
-	dh_python2
-	[ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	   debian/python-deap-doc/usr/share/doc/python-deap-doc/html/_static/underscore.js
 
-binary-arch: build install
-
-binary: binary-indep binary-arch
-.PHONY: config build build-indep build-arch clean binary-indep binary-arch binary install
+override_dh_compress:
+	dh_compress -X.py

Deleted: packages/deap/trunk/debian/source/options
===================================================================
--- packages/deap/trunk/debian/source/options	2014-07-24 13:08:04 UTC (rev 29897)
+++ packages/deap/trunk/debian/source/options	2014-07-24 23:08:15 UTC (rev 29898)
@@ -1,5 +0,0 @@
-# Bzip2 compression for debian.tar
-compression = "bzip2"
-compression-level = 7
-# Do not generate diff for changes in config.(sub|guess)
-extend-diff-ignore = "(^|/)config.(sub|guess)$"




More information about the Python-modules-commits mailing list