r868 - zope-quotafolder/trunk/debian

lunar at alioth.debian.org lunar at alioth.debian.org
Mon May 14 11:36:36 UTC 2007


Author: lunar
Date: 2007-05-14 11:36:36 +0000 (Mon, 14 May 2007)
New Revision: 868

Added:
   zope-quotafolder/trunk/debian/docs
   zope-quotafolder/trunk/debian/dzproduct
   zope-quotafolder/trunk/debian/watch
Removed:
   zope-quotafolder/trunk/debian/po/
   zope-quotafolder/trunk/debian/zope-quotafolder.config
   zope-quotafolder/trunk/debian/zope-quotafolder.dirs
   zope-quotafolder/trunk/debian/zope-quotafolder.docs
   zope-quotafolder/trunk/debian/zope-quotafolder.install
   zope-quotafolder/trunk/debian/zope-quotafolder.postinst
   zope-quotafolder/trunk/debian/zope-quotafolder.prerm
   zope-quotafolder/trunk/debian/zope-quotafolder.templates
Modified:
   zope-quotafolder/trunk/debian/changelog
   zope-quotafolder/trunk/debian/compat
   zope-quotafolder/trunk/debian/control
   zope-quotafolder/trunk/debian/rules
Log:
Repackage zope-quotafolder with recent Zope team practices.


Modified: zope-quotafolder/trunk/debian/changelog
===================================================================
--- zope-quotafolder/trunk/debian/changelog	2007-05-14 10:26:40 UTC (rev 867)
+++ zope-quotafolder/trunk/debian/changelog	2007-05-14 11:36:36 UTC (rev 868)
@@ -1,3 +1,18 @@
+zope-quotafolder (0.1.1+0-3) unstable; urgency=low
+
+  * Now maintained by the Debian Zope team. (Closes: #423360)
+  * Switch to debhelper 5
+  * Update Standards-Version to 3.7.2.2.
+  * Drop debconf questions and relevant translations.
+    (Closes: #415190, #417250, #419241, #420371)
+  * Redo the packaging with debhelper and zope-debhelper instead of cdbs.
+    (Closes: #399213)
+  * Now use upstream tarball directly.
+  * Add watch file.
+  * Add XS-Vcs-* fields to debian/control.
+
+ -- Jérémy Bobbio <lunar at debian.org>  Mon, 14 May 2007 13:24:14 +0200
+
 zope-quotafolder (0.1.1-2.1) unstable; urgency=low
 
   * Non-maintainer upload to at least fix the pending l10n bugs.

Modified: zope-quotafolder/trunk/debian/compat
===================================================================
--- zope-quotafolder/trunk/debian/compat	2007-05-14 10:26:40 UTC (rev 867)
+++ zope-quotafolder/trunk/debian/compat	2007-05-14 11:36:36 UTC (rev 868)
@@ -1 +1 @@
-4
+5

Modified: zope-quotafolder/trunk/debian/control
===================================================================
--- zope-quotafolder/trunk/debian/control	2007-05-14 10:26:40 UTC (rev 867)
+++ zope-quotafolder/trunk/debian/control	2007-05-14 11:36:36 UTC (rev 868)
@@ -1,13 +1,17 @@
 Source: zope-quotafolder
-Maintainer: Joel Aelwyn <fenton at debian.org>
+Maintainer: Debian Zope Team <pkg-zope-developers at lists.alioth.debian.org>
+Uploaders: Jérémy Bobbio <lunar at debian.org>
 Section: web
 Priority: extra
-Build-Depends: debhelper (>= 4.1.46), zope-debhelper, cdbs
-Standards-Version: 3.6.2.0
+Build-Depends: debhelper (>= 5.0.0)
+Build-Depends-Indep: zope-debhelper
+Standards-Version: 3.7.2.2
+XS-Vcs-Svn: svn://svn.debian.org/pkg-zope/zope-quotafolder/trunk
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-zope/zope-quotafolder/trunk/
 
 Package: zope-quotafolder
 Architecture: all
-Depends: debconf (>= 1.0.20) | debconf-2.0, zope2.9 | zope2.8 | zope2.7 | zope (>= 2.6.2)
+Depends: ${zope:Depends}
 Description: folder based quota system for Zope
  This Zope Product provides a folder-like Zope object which can enforce
  restrictions on objects stored within it, including objects stored in

Copied: zope-quotafolder/trunk/debian/docs (from rev 866, zope-quotafolder/trunk/debian/zope-quotafolder.docs)
===================================================================
--- zope-quotafolder/trunk/debian/docs	                        (rev 0)
+++ zope-quotafolder/trunk/debian/docs	2007-05-14 11:36:36 UTC (rev 868)
@@ -0,0 +1,4 @@
+README.txt
+DESIGN
+KNOWNBUGS
+TODO

Added: zope-quotafolder/trunk/debian/dzproduct
===================================================================
--- zope-quotafolder/trunk/debian/dzproduct	                        (rev 0)
+++ zope-quotafolder/trunk/debian/dzproduct	2007-05-14 11:36:36 UTC (rev 868)
@@ -0,0 +1,3 @@
+Name: QuotaFolder
+Package: zope-quotafolder
+ZopeVersion: >= 2.6

Modified: zope-quotafolder/trunk/debian/rules
===================================================================
--- zope-quotafolder/trunk/debian/rules	2007-05-14 10:26:40 UTC (rev 867)
+++ zope-quotafolder/trunk/debian/rules	2007-05-14 11:36:36 UTC (rev 868)
@@ -1,18 +1,40 @@
 #!/usr/bin/make -f
 
-# We use the Common Debian Build System (version 1, for now); specifically,
-# we use the DBS-style tarball subsystem, the debhelper subsystem, and the
-# simple patch subsystem.
+# Uncomment this to turn on verbose mode
+export DH_VERBOSE=1
 
-# Normally, DEB_* bits follow the rule they affect, rather than preceed it.
-# However, tarball.mk appears to be an exception to this rule.
+build: build-stamp
+build-stamp:
+	touch build-stamp
 
-DEB_TAR_SRCDIR := QuotaFolder
-include /usr/share/cdbs/1/rules/tarball.mk
-# Configs preceed
+clean:
+	dh_testdir
+	dh_testroot
+	-rm -f build-stamp
+	dh_clean
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-# No configs
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	dh_installzope -X LICENSE .
 
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
-# No configs
+binary-arch:
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installchangelogs
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep
+
+.PHONY: build clean binary-arch binary-indep binary install
+

Added: zope-quotafolder/trunk/debian/watch
===================================================================
--- zope-quotafolder/trunk/debian/watch	                        (rev 0)
+++ zope-quotafolder/trunk/debian/watch	2007-05-14 11:36:36 UTC (rev 868)
@@ -0,0 +1,3 @@
+# watch control file for uscan
+version=2
+http://www.zope.org/Members/ivo/QuotaFolder/ ([0-9.]*)/QuotaFolder-([0-9.]*)\..*gz debian uupdate

Deleted: zope-quotafolder/trunk/debian/zope-quotafolder.config
===================================================================
--- zope-quotafolder/trunk/debian/zope-quotafolder.config	2007-05-14 10:26:40 UTC (rev 867)
+++ zope-quotafolder/trunk/debian/zope-quotafolder.config	2007-05-14 11:36:36 UTC (rev 868)
@@ -1,19 +0,0 @@
-#!/bin/sh -e
-
-# We don't do anything with this right now - however, since we do use
-# debconf to get answers from the shared Zope template, we either need this
-# file or a Lintian control file to get Lintian to hush about not having
-# this. And since we might need this file eventually anyway...
-
-. /usr/share/debconf/confmodule
-
-# This is stuff that we *don't* do, because we rely on other things to have
-# gotton the shared template answer already (specifically, Zope itself).
-# But it is here as an example, should we ever have a question of our own
-# to ask (again).
-
-#db_input "medium" "shared/zope/restart" || true
-#db_go
-
-db_stop
-exit 0

Deleted: zope-quotafolder/trunk/debian/zope-quotafolder.dirs
===================================================================
--- zope-quotafolder/trunk/debian/zope-quotafolder.dirs	2007-05-14 10:26:40 UTC (rev 867)
+++ zope-quotafolder/trunk/debian/zope-quotafolder.dirs	2007-05-14 11:36:36 UTC (rev 868)
@@ -1,2 +0,0 @@
-usr/lib/zope/lib/python/Products/QuotaFolder
-usr/share/doc/zope-quotafolder

Deleted: zope-quotafolder/trunk/debian/zope-quotafolder.docs
===================================================================
--- zope-quotafolder/trunk/debian/zope-quotafolder.docs	2007-05-14 10:26:40 UTC (rev 867)
+++ zope-quotafolder/trunk/debian/zope-quotafolder.docs	2007-05-14 11:36:36 UTC (rev 868)
@@ -1 +0,0 @@
-build-tree/QuotaFolder/README.txt

Deleted: zope-quotafolder/trunk/debian/zope-quotafolder.install
===================================================================
--- zope-quotafolder/trunk/debian/zope-quotafolder.install	2007-05-14 10:26:40 UTC (rev 867)
+++ zope-quotafolder/trunk/debian/zope-quotafolder.install	2007-05-14 11:36:36 UTC (rev 868)
@@ -1,2 +0,0 @@
-build-tree/QuotaFolder/*.py usr/lib/zope/lib/python/Products/QuotaFolder
-build-tree/QuotaFolder/*.dtml usr/lib/zope/lib/python/Products/QuotaFolder

Deleted: zope-quotafolder/trunk/debian/zope-quotafolder.postinst
===================================================================
--- zope-quotafolder/trunk/debian/zope-quotafolder.postinst	2007-05-14 10:26:40 UTC (rev 867)
+++ zope-quotafolder/trunk/debian/zope-quotafolder.postinst	2007-05-14 11:36:36 UTC (rev 868)
@@ -1,52 +0,0 @@
-#! /bin/sh
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see /usr/doc/packaging-manual/
-#
-# quoting from the policy:
-#     Any necessary prompting should almost always be confined to the
-#     post-installation script, and should be protected with a conditional
-#     so that unnecessary prompting doesn't happen if a package's
-#     installation fails and the `postinst' is called with `abort-upgrade',
-#     `abort-remove' or `abort-deconfigure'.
-
-. /usr/share/debconf/confmodule
-
-case "$1" in
-    configure)
-		# Get the answer.
-		db_get "shared/zope/restart" || true
-		case "$RET" in
-			configuring)
-				invoke-rc.d zope restart
-			;;
-			end)
-				touch /var/run/zope.restart
-			;;
-		esac
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 0
-    ;;
-esac
-
-db_stop
-
-#DEBHELPER#
-
-exit 0

Deleted: zope-quotafolder/trunk/debian/zope-quotafolder.prerm
===================================================================
--- zope-quotafolder/trunk/debian/zope-quotafolder.prerm	2007-05-14 10:26:40 UTC (rev 867)
+++ zope-quotafolder/trunk/debian/zope-quotafolder.prerm	2007-05-14 11:36:36 UTC (rev 868)
@@ -1,29 +0,0 @@
-#! /bin/sh
-# prerm script for #PACKAGE#
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <prerm> `remove'
-#        * <old-prerm> `upgrade' <new-version>
-#        * <new-prerm> `failed-upgrade' <old-version>
-#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-#        * <deconfigured's-prerm> `deconfigure' `in-favour'
-#          <package-being-installed> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see /usr/share/doc/packaging-manual/
-
-PACKAGE=zope-quotafolder
-
-dpkg --listfiles $PACKAGE |
-	awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
-	xargs rm -f >&2
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0

Deleted: zope-quotafolder/trunk/debian/zope-quotafolder.templates
===================================================================
--- zope-quotafolder/trunk/debian/zope-quotafolder.templates	2007-05-14 10:26:40 UTC (rev 867)
+++ zope-quotafolder/trunk/debian/zope-quotafolder.templates	2007-05-14 11:36:36 UTC (rev 868)
@@ -1,14 +0,0 @@
-Template: shared/zope/restart
-Type: select
-_Choices: configuring, end, manually
-Default: end
-_Description: When do you like to restart Zope?
- Zope has an extensible, object oriented structure that allows you to
- easily add extra components (products) or features. Each product or
- feature can usually be found in packages whose name starts with `zope-'
- prefix. Unfortunately, Zope needs to restart to use any new add-on. Here
- you can choose a common way to restart Zope:
-  * configuring: each product will restart Zope while configuring.
-  * end: Zope will restart only once at the end of the whole
-         installation/upgrading process.
-  * manually: You will have to restart Zope.




More information about the pkg-zope-commits mailing list