r1107 - in zope3/branches/etch-backports/debian (3 files)

Fabio Tranchitella kobold at alioth.debian.org
Tue Dec 11 13:58:02 UTC 2007


    Date: Tuesday, December 11, 2007 @ 13:58:01
  Author: kobold
Revision: 1107

Preparing the backport for etch.

Modified:
  zope3/branches/etch-backports/debian/changelog
  zope3/branches/etch-backports/debian/control
  zope3/branches/etch-backports/debian/rules

Modified: zope3/branches/etch-backports/debian/changelog
===================================================================
--- zope3/branches/etch-backports/debian/changelog	2007-12-11 13:56:25 UTC (rev 1106)
+++ zope3/branches/etch-backports/debian/changelog	2007-12-11 13:58:01 UTC (rev 1107)
@@ -1,3 +1,10 @@
+zope3 (3.3.1-4~bpo40+1) etch-backports; urgency=low
+
+  * Rebuilt for etch.
+  * Removed the debug packages python-zopeinterface-dbg and zope3-dbg.
+
+ -- Fabio Tranchitella <kobold at debian.org>  Tue, 11 Dec 2007 14:42:12 +0100
+
 zope3 (3.3.1-4) unstable; urgency=low
 
   * debian/zopeZVER.logrotate.in: use the original mode, user and group while

Modified: zope3/branches/etch-backports/debian/control
===================================================================
--- zope3/branches/etch-backports/debian/control	2007-12-11 13:56:25 UTC (rev 1106)
+++ zope3/branches/etch-backports/debian/control	2007-12-11 13:58:01 UTC (rev 1107)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian/Ubuntu Zope Team <pkg-zope-developers at lists.alioth.debian.org>
 Uploaders: Matthias Klose <doko at debian.org>, Fabio Tranchitella <kobold at debian.org>, Brian Sutherland <jinty at web.de>
-Build-Depends: python, python-all-dev (>= 2.3.5-11), python-all-dbg, debhelper (>= 5.0.39), python-central (>= 0.5), zope-debhelper (>= 0.3.6), lsb-release, dpatch
+Build-Depends: python, python-all-dev (>= 2.3.5-11), debhelper (>= 5.0.39), python-central (>= 0.5), zope-debhelper (>= 0.3.6), lsb-release, dpatch
 Standards-Version: 3.7.2
 XS-Python-Version: all
 XS-Vcs-Svn: svn://svn.debian.org/pkg-zope/zope3/trunk
@@ -16,7 +16,6 @@
 Conflicts: zopex3-lib, zope3-lib
 Replaces: zopex3-lib, zope3-lib
 Provides: zope3-lib
-Suggests: zope3-dbg
 XB-Python-Version: 2.4
 Description: Open Source Web Application Server (Libraries)
  Zope is an open source web application server primarily written in
@@ -35,22 +34,6 @@
  This package contains the framework and libraries needed to run your
  own Zope3 instance.
 
-Package: zope3-dbg
-Priority: extra
-Section: python
-Architecture: any
-Pre-Depends: zope-common
-Depends: zope3 (= ${binary:Version}), python-dbg, python-zopeinterface-dbg, python-xml-dbg, python-crypto-dbg, python-twisted-bin-dbg, ${shlibs:Depends}
-Description: Open Source Web Application Server (debug extensions)
- Zope is an open source web application server primarily written in
- the Python programming language. It features a transactional object
- database which can store not only content and custom data, but also
- dynamic HTML templates, scripts, a search engine, and relational
- database (RDBMS) connections and code.
- .
- This package contains the python extensions built for the python debug
- interpreter.
-
 Package: zope3-doc
 Section: doc
 Architecture: all
@@ -77,19 +60,7 @@
 Conflicts: python-zope-interface, python2.3-zopeinterface, python2.4-zopeinterface
 Replaces: python-zope-interface, python2.3-zopeinterface, python2.4-zopeinterface
 Provides: python-zope-interface, ${python:Provides}
-Suggests: python-zopeinterface-dbg
 XB-Python-Version: ${python:Versions}
 Description: The implementation of interface definitions for Zope 3
  Zope interfaces are objects that specify (document) the external behavior
  of objects that "provide" them.
-
-Package: python-zopeinterface-dbg
-Priority: extra
-Section: python
-Architecture: any
-Depends: python-zopeinterface (= ${binary:Version}), python-dbg, ${shlibs:Depends}
-Description: The implementation of interface definitions for Zope 3 (debug extension)
- Zope interfaces are objects that specify (document) the external behavior
- of objects that "provide" them.
- .
- This package contains the extension built for the python debug interpreter.

Modified: zope3/branches/etch-backports/debian/rules
===================================================================
--- zope3/branches/etch-backports/debian/rules	2007-12-11 13:56:25 UTC (rev 1106)
+++ zope3/branches/etch-backports/debian/rules	2007-12-11 13:58:01 UTC (rev 1107)
@@ -28,7 +28,6 @@
 with_zif := yes
 
 p_lib	 = zope$(ZVER)
-p_libdbg = zope$(ZVER)-dbg
 p_doc	 = zope$(ZVER)-doc
 
 #p_bin	 = zope3-scripts
@@ -36,17 +35,14 @@
 #p_dutil = zope3-docutils
 
 p_zif	= python-zopeinterface
-p_zifdbg= python-zopeinterface-dbg
 
 d_lib	= debian/$(p_lib)
-d_libdbg= debian/$(p_libdbg)
 d_bin	= debian/$(p_bin)
 d_add	= debian/$(p_add)
 d_dutil	= debian/$(p_dutil)
 d_doc	= debian/$(p_doc)
 
 d_zif	= debian/$(p_zif)
-d_zifdbg= debian/$(p_zifdbg)
 
 unpack: unpack-stamp
 unpack-stamp:
@@ -57,20 +53,15 @@
 configure: config-stamp
 config-stamp: unpack-stamp patch-stamp
 	dh_testdir
-	cp -a z zdbg
 	cd z && ./configure \
 		--prefix=/usr \
 		--with-python=$(PYTHON) \
 		--force
-	cd zdbg && ./configure \
-		--prefix=/usr \
-		--with-python=$(PYTHON)-dbg \
-		--force
 	touch config-stamp
 
 build: build-arch build-indep check
 
-build-arch: build-arch-stamp build-dbg-stamp
+build-arch: build-arch-stamp
 build-arch-stamp: config-stamp
 	cd z && $(PYTHON) install.py build
 ifeq ($(with_zif),yes)
@@ -78,17 +69,11 @@
 	for v in $(PYVERS); do \
 	  pushd z/Dependencies/zope.interface-$(zbase); \
 	  /usr/bin/python$$v setup.py build; \
-	  /usr/bin/python$$v-dbg setup.py build; \
 	  popd; \
 	done
 endif
 	touch build-arch-stamp
 
-build-dbg: build-dbg-stamp
-build-dbg-stamp: config-stamp
-	cd zdbg && $(PYTHON)-dbg install.py build
-	touch build-dbg-stamp
-
 build-indep: build-indep-stamp
 build-indep-stamp:
 	touch build-indep-stamp
@@ -101,7 +86,7 @@
 clean: unpatch
 	dh_testdir
 	rm -f *-stamp
-	rm -rf build z zdbg $(zbase)
+	rm -rf build z $(zbase)
 	for f in debian/*.in; do \
 	      generated=`echo $$f | sed 's,.in$$,,;s,ZVER,$(ZVER),'`; \
 		rm -f $$generated $$generated.tmp; \
@@ -112,7 +97,7 @@
 install: install-indep install-arch 
 install-indep: build-indep 
 
-install-arch: build-arch build-dbg install-prereq $(PYVERS:%=install-zif-python%) install-zope-dbg
+install-arch: build-arch install-prereq $(PYVERS:%=install-zif-python%)
 	# Remove not needed stuff
 	rm -fr $(d_lib)/usr/lib/python2.4/site-packages/twisted/trial/test/scripttest.py \
 	       $(d_lib)/usr/lib/python2.4/site-packages/mechanize \
@@ -190,13 +175,6 @@
 	install -m 0644 debian/$(p_lib).linda-overrides \
 	        $(d_lib)/usr/share/linda/overrides/$(p_lib)
 
-install-zope-dbg:
-	cd zdbg && $(PYTHON)-dbg install.py install \
-	    --skip-build --no-compile --root $(CURDIR)/$(d_libdbg)
-	find $(d_libdbg) ! -type d ! -name '*.so' | xargs rm -f
-	find $(d_libdbg) -depth -empty -exec rmdir {} \;
-	rm -rf debian/zope3-dbg/usr/lib/python*/site-packages/zope/interface
-
 install-zif-python%:
 	# install zopeinterface packages
 	cd z/Dependencies/zope.interface-$(zbase) \
@@ -213,13 +191,6 @@
 		$(d_zif)/usr/lib/python$*/site-packages/zope/
 	rm -rf $(d_lib)/$(pylibdir)/zope/interface
 
-	# debug extension
-	cd z/Dependencies/zope.interface-$(zbase) \
-	    && /usr/bin/python$*-dbg setup.py install --root=$(CURDIR)/$(d_zifdbg)
-	find $(d_zifdbg) ! -type d ! -name '*_d.so' | xargs rm -f
-	find $(d_zifdbg) -depth -empty -exec rmdir {} \;
-
-
 disabled-script-package:
 	# $(p_bin)
 	mkdir -p $(d_bin)/$(libdir)
@@ -273,17 +244,13 @@
 	mv debian/zope3/usr/share/doc/zope3/NEWS.Debian \
 	   debian/zope3/usr/share/doc/zope3/NEWS.Ubuntu
 endif
-	rm -rf $(d_zifdbg)/usr/share/doc/$(p_zifdbg)
-	ln -s $(p_zif) $(d_zifdbg)/usr/share/doc/$(p_zifdbg)
-	rm -rf $(d_libdbg)/usr/share/doc/$(p_libdbg)
-	ln -s $(p_lib) $(d_libdbg)/usr/share/doc/$(p_libdbg)
 	dh_installlogrotate -a
 	dh_installdebconf -a
 	dh_installinit -a
 	dh_installman -a
 	dh_link -a
-	dh_strip -p$(p_lib) --dbg-package=$(p_libdbg)
-	dh_strip -p$(p_zif) --dbg-package=$(p_zifdbg)
+	dh_strip -p$(p_lib)
+	dh_strip -p$(p_zif)
 	dh_compress -a -X.rst -X.css
 	dh_fixperms -a
 




More information about the pkg-zope-commits mailing list