[Python-modules-commits] r20649 - in packages/python-simpy/trunk/debian (5 files)
dandrimont-guest at users.alioth.debian.org
dandrimont-guest at users.alioth.debian.org
Fri Mar 2 17:20:04 UTC 2012
Date: Friday, March 2, 2012 @ 17:19:59
Author: dandrimont-guest
Revision: 20649
Add a python3-simpy package
Added:
packages/python-simpy/trunk/debian/python3-simpy.install
Modified:
packages/python-simpy/trunk/debian/changelog
packages/python-simpy/trunk/debian/control
packages/python-simpy/trunk/debian/copyright
packages/python-simpy/trunk/debian/rules
Modified: packages/python-simpy/trunk/debian/changelog
===================================================================
--- packages/python-simpy/trunk/debian/changelog 2012-03-02 16:08:18 UTC (rev 20648)
+++ packages/python-simpy/trunk/debian/changelog 2012-03-02 17:19:59 UTC (rev 20649)
@@ -1,11 +1,12 @@
-python-simpy (2.3.1-1) UNRELEASED; urgency=low
+python-simpy (2.3.1-1) unstable; urgency=low
* New upstream release
- - Add a patch to fix the sphinx documentation build
- - Add a patch to fix README.txt's encoding for the python3 build
-
- -- Nicolas Dandrimont <nicolas.dandrimont at crans.org> Wed, 01 Feb 2012 00:21:40 +0100
+ - Add a patch to fix the sphinx documentation build
+ - Add a patch to fix README.txt's encoding for the python3 build
+ * Add a python3-simpy binary package (SimPy now supports Python3!)
+ -- Nicolas Dandrimont <nicolas.dandrimont at crans.org> Tue, 14 Feb 2012 00:11:58 +0100
+
python-simpy (2.2-1) unstable; urgency=low
* New upstream release (Closes: #644671)
Modified: packages/python-simpy/trunk/debian/control
===================================================================
--- packages/python-simpy/trunk/debian/control 2012-03-02 16:08:18 UTC (rev 20648)
+++ packages/python-simpy/trunk/debian/control 2012-03-02 17:19:59 UTC (rev 20649)
@@ -3,7 +3,11 @@
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Nicolas Dandrimont <nicolas.dandrimont at crans.org>
-Build-Depends: debhelper (>= 8.0.0~), python-all (>= 2.6.6-3~), python-sphinx (>= 1.0.7+dfsg-1~)
+Build-Depends:
+ debhelper (>= 8.0.0~),
+ python-all (>= 2.6.6-3~),
+ python3-all,
+ python-sphinx (>= 1.0.7+dfsg-1~)
Standards-Version: 3.9.2
Homepage: http://simpy.sourceforge.net/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-simpy/trunk/
@@ -24,7 +28,24 @@
It also provides monitor variables to aid in gathering statistics.
SimPy comes with extensive plotting capabilities.
+Package: python3-simpy
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Recommends: python-simpy-doc
+Description: python-based simulation package (Python3 version)
+ SimPy is a process-based discrete-event simulation language based on
+ standard Python.
+ .
+ It provides the modeller with components of a simulation model.
+ These include processes, for active components like customers, messages,
+ and vehicles, and resources, for passive components that form limited
+ capacity congestion points like servers, checkout counters, and tunnels.
+ It also provides monitor variables to aid in gathering statistics.
+ SimPy comes with extensive plotting capabilities.
+ .
+ This package contains the Python3 version of SimPy.
+
Package: python-simpy-doc
Architecture: all
Section: doc
Modified: packages/python-simpy/trunk/debian/copyright
===================================================================
--- packages/python-simpy/trunk/debian/copyright 2012-03-02 16:08:18 UTC (rev 20648)
+++ packages/python-simpy/trunk/debian/copyright 2012-03-02 17:19:59 UTC (rev 20649)
@@ -17,7 +17,7 @@
Files: debian/*
Copyright: Copyright (c) 2004-2007 Antal A. Buss,
- Copyright (c) 2011 Nicolas Dandrimont
+ Copyright (c) 2011, 2012 Nicolas Dandrimont
License: LGPL-2.1
License: LGPL-2.1
Added: packages/python-simpy/trunk/debian/python3-simpy.install
===================================================================
--- packages/python-simpy/trunk/debian/python3-simpy.install (rev 0)
+++ packages/python-simpy/trunk/debian/python3-simpy.install 2012-03-02 17:19:59 UTC (rev 20649)
@@ -0,0 +1,2 @@
+/usr/lib/python3/dist-packages/SimPy/*
+/usr/lib/python3/dist-packages/SimPy-*.egg-info
Modified: packages/python-simpy/trunk/debian/rules
===================================================================
--- packages/python-simpy/trunk/debian/rules 2012-03-02 16:08:18 UTC (rev 20648)
+++ packages/python-simpy/trunk/debian/rules 2012-03-02 17:19:59 UTC (rev 20649)
@@ -4,12 +4,18 @@
#export DH_VERBOSE=1
VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
+PY3VERSIONS := $(shell py3versions -vr)
%:
- dh $@ --with python2,sphinxdoc
+ dh $@ --with python2,python3,sphinxdoc
override_dh_auto_build:
dh_auto_build
+
+ set -ex; for version in $(PY3VERSIONS); do \
+ python$$version setup.py build; \
+ done
+
mv docs/html docs/html.old && make -C docs html
override_dh_install:
@@ -29,6 +35,14 @@
dh_auto_install
+ set -ex; for version in $(PY3VERSIONS); do \
+ python$$version setup.py install --no-compile -O0 --install-layout=deb --root $(CURDIR)/debian/tmp; \
+ done
+
+ # Remove deprecated python3 gui stuff
+ cd $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/SimPy && \
+ rm GUIDebug.py SimGUI.py SimPlot.py SimulationGUIDebug.py tkconsole.py tkprogressbar.py
+
override_dh_auto_clean:
dh_auto_clean
More information about the Python-modules-commits
mailing list