r350 - in python-hurry.query/trunk: . debian

Brian Sutherland jinty-guest at costa.debian.org
Wed Oct 25 11:29:29 UTC 2006


Author: jinty-guest
Date: 2006-10-25 11:29:29 +0000 (Wed, 25 Oct 2006)
New Revision: 350

Added:
   python-hurry.query/trunk/debian/
   python-hurry.query/trunk/debian/changelog
   python-hurry.query/trunk/debian/compat
   python-hurry.query/trunk/debian/control
   python-hurry.query/trunk/debian/copyright
   python-hurry.query/trunk/debian/docs
   python-hurry.query/trunk/debian/rules
   python-hurry.query/trunk/debian/watch
Log:
Load python-hurry.query-0.9 into python-hurry.query/trunk.


Added: python-hurry.query/trunk/debian/changelog
===================================================================
--- python-hurry.query/trunk/debian/changelog	                        (rev 0)
+++ python-hurry.query/trunk/debian/changelog	2006-10-25 11:29:29 UTC (rev 350)
@@ -0,0 +1,13 @@
+python-hurry.query (0.9-2) unstable; urgency=low
+
+  * Add python-zc.catalog as a dependency. 
+
+ -- Brian Sutherland <jinty at web.de>  Thu, 15 Jun 2006 18:55:06 +0200
+
+python-hurry.query (0.9-1) unstable; urgency=low
+
+  * Work around dh_python breakage where it fails to put >=2.4 in the 
+    python:Versions substvar.
+  * Initial release.
+
+ -- Brian Sutherland <jinty at web.de>  Thu, 15 Jun 2006 02:44:17 +0200

Added: python-hurry.query/trunk/debian/compat
===================================================================
--- python-hurry.query/trunk/debian/compat	                        (rev 0)
+++ python-hurry.query/trunk/debian/compat	2006-10-25 11:29:29 UTC (rev 350)
@@ -0,0 +1 @@
+4

Added: python-hurry.query/trunk/debian/control
===================================================================
--- python-hurry.query/trunk/debian/control	                        (rev 0)
+++ python-hurry.query/trunk/debian/control	2006-10-25 11:29:29 UTC (rev 350)
@@ -0,0 +1,25 @@
+Source: python-hurry.query 
+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-hurry.query
+Architecture: all
+Depends: ${python:Depends}, python-hurry, python-zc.catalog, zope3
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Higher level query system for the Zope 3 catalog
+ hurry.query is a higher level query system built on top of the Zope 3
+ catalog. It makes it easy to perform catalog queries in Zope 3 code.
+
+Package: python-hurry
+Architecture: all
+Depends: ${python:Depends}
+Provides: ${python:Provides}
+XB-Python-Version: all
+Description: hurry namespace package
+ Namespace package for all hurry.* packages to depend on.

Added: python-hurry.query/trunk/debian/copyright
===================================================================
--- python-hurry.query/trunk/debian/copyright	                        (rev 0)
+++ python-hurry.query/trunk/debian/copyright	2006-10-25 11:29:29 UTC (rev 350)
@@ -0,0 +1,40 @@
+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: Infrae <faassen at infrae.com>
+
+The full lisence included is:
+
+Copyright (c) 2005-2006 Infrae. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+   
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in
+     the documentation and/or other materials provided with the
+     distribution.
+
+  3. Neither the name of Infrae nor the names of its contributors may
+     be used to endorse or promote products derived from this software
+     without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS 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 INFRAE OR
+CONTRIBUTORS 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-hurry.query/trunk/debian/docs
===================================================================
--- python-hurry.query/trunk/debian/docs	                        (rev 0)
+++ python-hurry.query/trunk/debian/docs	2006-10-25 11:29:29 UTC (rev 350)
@@ -0,0 +1 @@
+PKG-INFO

Added: python-hurry.query/trunk/debian/rules
===================================================================
--- python-hurry.query/trunk/debian/rules	                        (rev 0)
+++ python-hurry.query/trunk/debian/rules	2006-10-25 11:29:29 UTC (rev 350)
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PYVERS=$(shell pyversions -vr debian/control)
+NAMESPACE_MOD=hurry
+SUB_MODULE=query
+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)
+	# copy __init__ to the python-zc package
+	install -D -m 644 src/$(NAMESPACE_MOD)/__init__.py \
+	    debian/$(NAMESPACE_PACKAGE)/usr/lib/python$*/site-packages/$(NAMESPACE_MOD)/__init__.py
+	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-hurry.query.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-hurry.query/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: python-hurry.query/trunk/debian/watch
===================================================================
--- python-hurry.query/trunk/debian/watch	                        (rev 0)
+++ python-hurry.query/trunk/debian/watch	2006-10-25 11:29:29 UTC (rev 350)
@@ -0,0 +1,2 @@
+version=3
+http://download.zope.org/distribution/hurry.query-(.*)\.tar\.gz




More information about the pkg-zope-commits mailing list