r334 - in python-zc.catalog/trunk: . debian

Brian Sutherland jinty-guest at costa.debian.org
Wed Oct 25 09:19:48 UTC 2006


Author: jinty-guest
Date: 2006-10-25 09:19:48 +0000 (Wed, 25 Oct 2006)
New Revision: 334

Added:
   python-zc.catalog/trunk/debian/
   python-zc.catalog/trunk/debian/changelog
   python-zc.catalog/trunk/debian/compat
   python-zc.catalog/trunk/debian/control
   python-zc.catalog/trunk/debian/copyright
   python-zc.catalog/trunk/debian/docs
   python-zc.catalog/trunk/debian/rules
   python-zc.catalog/trunk/debian/watch
Log:
Load python-zc.catalog-0.1.1 into python-zc.catalog/trunk.


Added: python-zc.catalog/trunk/debian/changelog
===================================================================
--- python-zc.catalog/trunk/debian/changelog	                        (rev 0)
+++ python-zc.catalog/trunk/debian/changelog	2006-10-25 09:19:48 UTC (rev 334)
@@ -0,0 +1,7 @@
+python-zc.catalog (0.1.1-1) unstable; urgency=low
+
+  * Initial release.
+  * Work around dh_python breakage where it fails to put >=2.4 in the 
+    python:Versions substvar.
+
+ -- Brian Sutherland <jinty at web.de>  Thu, 15 Jun 2006 02:44:17 +0200

Added: python-zc.catalog/trunk/debian/compat
===================================================================
--- python-zc.catalog/trunk/debian/compat	                        (rev 0)
+++ python-zc.catalog/trunk/debian/compat	2006-10-25 09:19:48 UTC (rev 334)
@@ -0,0 +1 @@
+4

Added: python-zc.catalog/trunk/debian/control
===================================================================
--- python-zc.catalog/trunk/debian/control	                        (rev 0)
+++ python-zc.catalog/trunk/debian/control	2006-10-25 09:19:48 UTC (rev 334)
@@ -0,0 +1,18 @@
+Source: python-zc.catalog
+Section: python
+Priority: extra
+Maintainer: Brian Sutherland <jinty at web.de>
+Build-Depends-Indep: python (>= 2.3.5-7), python-all-dev, python-central (>= 0.4.10), python-setuptools (>= 0.6b3)
+Build-Depends: debhelper (>= 5.0.37.1)
+Standards-Version: 3.7.2
+XS-Python-Version: >= 2.4
+
+Package: python-zc.catalog
+Architecture: all
+Depends: ${python:Depends}, python-zc, zope3
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Extensions to the Zope 3 catalog
+ zc.catalog contains a number of extensions to the Zope 3 catalog,
+ such as some new indexes, improved globbing and stemming support,
+ and an alternative catalog implementation.

Added: python-zc.catalog/trunk/debian/copyright
===================================================================
--- python-zc.catalog/trunk/debian/copyright	                        (rev 0)
+++ python-zc.catalog/trunk/debian/copyright	2006-10-25 09:19:48 UTC (rev 334)
@@ -0,0 +1,77 @@
+This package was debianized by Brian Sutherland <jinty at web.de> on
+Sat,  6 Aug 2005 15:32:13 +0200.
+
+It was downloaded from http://download.zope.org/distribution
+
+Copyright:
+
+Upstream Author: Zope Corporation and Contributers <zope3-dev at zope.org>
+
+Files contain this header:
+
+# Copyright (c) 2006 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+
+The full lisence included is:
+
+Zope Public License (ZPL) Version 2.1
+-------------------------------------
+
+A copyright notice accompanies this license document that
+identifies the copyright holders.
+
+This license has been certified as open source. It has also
+been designated as GPL compatible by the Free Software
+Foundation (FSF).
+
+Redistribution and use in source and binary forms, with or
+without modification, are permitted provided that the
+following conditions are met:
+
+1. Redistributions in source code must retain the
+   accompanying copyright notice, this list of conditions,
+   and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the accompanying
+   copyright notice, this list of conditions, and the
+   following disclaimer in the documentation and/or other
+   materials provided with the distribution.
+
+3. Names of the copyright holders must not be used to
+   endorse or promote products derived from this software
+   without prior written permission from the copyright
+   holders.
+
+4. The right to distribute this software or to use it for
+   any purpose does not give you the right to use
+   Servicemarks (sm) or Trademarks (tm) of the copyright
+   holders. Use of them is covered by separate agreement
+   with the copyright holders.
+
+5. If any files are modified, you must cause the modified
+   files to carry prominent notices stating that you changed
+   the files and the date of any change.
+
+Disclaimer
+
+  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS''
+  AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+  NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+  AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
+  NO EVENT SHALL THE COPYRIGHT HOLDERS BE
+  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+  OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+  DAMAGE.

Added: python-zc.catalog/trunk/debian/docs
===================================================================
--- python-zc.catalog/trunk/debian/docs	                        (rev 0)
+++ python-zc.catalog/trunk/debian/docs	2006-10-25 09:19:48 UTC (rev 334)
@@ -0,0 +1 @@
+PKG-INFO

Added: python-zc.catalog/trunk/debian/rules
===================================================================
--- python-zc.catalog/trunk/debian/rules	                        (rev 0)
+++ python-zc.catalog/trunk/debian/rules	2006-10-25 09:19:48 UTC (rev 334)
@@ -0,0 +1,81 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PYVERS=$(shell pyversions -vr debian/control)
+NAMESPACE_MOD=zc
+SUB_MODULE=catalog
+PYMOD=$(NAMESPACE_MOD).$(SUB_MODULE)
+PACKAGE=python-$(NAMESPACE_MOD).$(SUB_MODULE)
+NAMESPACE_PACKAGE=python-$(NAMESPACE_MOD)
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
+		             | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
+
+build: $(PYVERS:%=build-python%)
+	touch $@
+build-python%:
+	dh_testdir
+	python$* setup.py build
+	touch $@
+
+.PHONY: clean
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-python?.?
+	$(MAKE) -f debian/rules $(PYVERS:%=clean-python%)
+	dh_clean
+
+clean-python%:
+	python$* setup.py clean
+
+.PHONY: install
+install:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) -f debian/rules $(PYVERS:%=install-python%)
+
+install-python%:
+	python$* setup.py install --no-compile --single-version-externally-managed --root=debian/$(PACKAGE)
+	mv debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD)-$(DEB_UPSTREAM_VERSION)-py$*.egg-info \
+	   debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD).egg-info 
+	mv debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD)-$(DEB_UPSTREAM_VERSION)-py$*-nspkg.pth \
+	   debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD)-nspkg.pth
+
+
+.PHONY: binary-common
+binary-common:
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_pycentral
+	dh_python
+	# workraround for broken dh_python
+	sed -i 's/python:Versions=all/python:Versions=>= 2.4/' debian/python-zc.catalog.substvars
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+.PHONY: binary-indep
+binary-indep: install
+	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+.PHONY: binary-arch
+binary-arch:
+	# Nothing to do
+
+.PHONY: binary
+binary: binary-indep binary-arch


Property changes on: python-zc.catalog/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: python-zc.catalog/trunk/debian/watch
===================================================================
--- python-zc.catalog/trunk/debian/watch	                        (rev 0)
+++ python-zc.catalog/trunk/debian/watch	2006-10-25 09:19:48 UTC (rev 334)
@@ -0,0 +1,2 @@
+version=3
+http://download.zope.org/distribution/zc.catalog-(.*)\.tar\.gz




More information about the pkg-zope-commits mailing list