r2738 - in zope.event/trunk/debian (5 files)

menesis-guest at users.alioth.debian.org menesis-guest at users.alioth.debian.org
Wed Jul 3 23:06:18 UTC 2013


    Date: Wednesday, July 3, 2013 @ 23:06:17
  Author: menesis-guest
Revision: 2738

* New upstream release.
* Add support for Python 3
* debian/tests: remove, too simple package to bother.

Modified:
  zope.event/trunk/debian/changelog
  zope.event/trunk/debian/control
  zope.event/trunk/debian/copyright
  zope.event/trunk/debian/rules
Deleted:
  zope.event/trunk/debian/tests/

Modified: zope.event/trunk/debian/changelog
===================================================================
--- zope.event/trunk/debian/changelog	2013-07-03 22:57:32 UTC (rev 2737)
+++ zope.event/trunk/debian/changelog	2013-07-03 23:06:17 UTC (rev 2738)
@@ -1,10 +1,17 @@
-zope.event (3.5.1-2) unstable; urgency=low
+zope.event (4.0.1-1) UNRELEASED; urgency=low
 
   * Team upload.
+
+  [ Gediminas Paulauskas ]
+  * New upstream release.
+  * Add support for Python 3
+  * debian/tests: remove, too simple package to bother.
+
+  [ Arnaud Fontaine ]
   * debian/clean: remove to make sure all files are installed.
   * debian/source/options: ignore .egg-info directory.
 
- -- Arnaud Fontaine <arnau at debian.org>  Tue, 08 Nov 2011 22:29:10 +0900
+ -- Gediminas Paulauskas <menesis at pov.lt>  Thu, 04 Jul 2013 02:02:53 +0300
 
 zope.event (3.5.1-1) unstable; urgency=low
 

Modified: zope.event/trunk/debian/control
===================================================================
--- zope.event/trunk/debian/control	2013-07-03 22:57:32 UTC (rev 2737)
+++ zope.event/trunk/debian/control	2013-07-03 23:06:17 UTC (rev 2738)
@@ -4,21 +4,32 @@
 Maintainer: Debian/Ubuntu Zope Team <pkg-zope-developers at lists.alioth.debian.org>
 Uploaders: Brian Sutherland <brian at vanguardistas.net>,
            Fabio Tranchitella <kobold at debian.org>
-Build-Depends: debhelper (>= 7),
+Build-Depends: debhelper (>= 7.0.50~),
                python-all (>= 2.6.6-14~),
-               python-setuptools
-Standards-Version: 3.9.2
-X-Python-Version: >= 2.4
+               python3-all,
+               python-setuptools,
+               python3-setuptools
+Standards-Version: 3.9.4
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
 Vcs-Svn: svn://svn.debian.org/pkg-zope/zope.event/trunk
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-zope/zope.event/trunk
 Homepage: http://pypi.python.org/pypi/zope.event
 
 Package: python-zope.event
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
-Conflicts: zope3
+Depends: python-zope, ${python:Depends}, ${misc:Depends}
 Description: Very basic event publishing system
  This package provides a simple event system. It provides an event publishing
  system and a very simple event-dispatching system on which more sophisticated
  event dispatching systems can be built. For example, a type-based event
  dispatching system that builds on zope.event can be found in zope.component.
+
+Package: python3-zope.event
+Architecture: all
+Depends: python3-zope, ${python3:Depends}, ${misc:Depends}
+Description: Very basic event publishing system
+ This package provides a simple event system. It provides an event publishing
+ system and a very simple event-dispatching system on which more sophisticated
+ event dispatching systems can be built. For example, a type-based event
+ dispatching system that builds on zope.event can be found in zope.component.

Modified: zope.event/trunk/debian/copyright
===================================================================
--- zope.event/trunk/debian/copyright	2013-07-03 22:57:32 UTC (rev 2737)
+++ zope.event/trunk/debian/copyright	2013-07-03 23:06:17 UTC (rev 2738)
@@ -1,4 +1,4 @@
-Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: zope.event
 Upstream-Contact: Zope Foundation and Contributors <zope-dev at zope.org>
 Source: http://pypi.python.org/pypi/zope.event

Modified: zope.event/trunk/debian/rules
===================================================================
--- zope.event/trunk/debian/rules	2013-07-03 22:57:32 UTC (rev 2737)
+++ zope.event/trunk/debian/rules	2013-07-03 23:06:17 UTC (rev 2738)
@@ -1,4 +1,27 @@
 #!/usr/bin/make -f
 
 %:
-	dh --with python2 $@
+	dh $@ --with python2 --with python3
+
+package=python-zope.event
+package3=python3-zope.event
+
+override_dh_auto_build:
+	for pyvers in $(shell pyversions -vr); do \
+		python$$pyvers setup.py build; \
+	done
+	for pyvers in $(shell py3versions -vs); do \
+		python$$pyvers setup.py build; \
+	done
+
+override_dh_auto_install:
+	set -x; \
+	for pyvers in $(shell pyversions -vr); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/$(package); \
+	done
+	set -x; \
+	for pyvers in $(shell py3versions -vs); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/$(package3); \
+	done




More information about the pkg-zope-developers mailing list