r377 - in python-zope.interface/trunk: . debian src/zope.interface.egg-info

Brian Sutherland jinty-guest at alioth.debian.org
Sun Oct 29 20:30:52 CET 2006


Author: jinty-guest
Date: 2006-10-29 20:30:51 +0100 (Sun, 29 Oct 2006)
New Revision: 377

Added:
   python-zope.interface/trunk/debian/
   python-zope.interface/trunk/debian/changelog
   python-zope.interface/trunk/debian/compat
   python-zope.interface/trunk/debian/control
   python-zope.interface/trunk/debian/copyright
   python-zope.interface/trunk/debian/docs
   python-zope.interface/trunk/debian/rules
   python-zope.interface/trunk/debian/watch
   python-zope.interface/trunk/src/zope.interface.egg-info/namespace_packages.txt
Modified:
   python-zope.interface/trunk/setup.py
   python-zope.interface/trunk/src/zope.interface.egg-info/SOURCES.txt
Log:
Load python-zope.interface-3.3.0b2 into python-zope.interface/trunk.


Added: python-zope.interface/trunk/debian/changelog
===================================================================
--- python-zope.interface/trunk/debian/changelog	2006-10-29 19:29:38 UTC (rev 376)
+++ python-zope.interface/trunk/debian/changelog	2006-10-29 19:30:51 UTC (rev 377)
@@ -0,0 +1,6 @@
+python-zope.interface (3.3.0b2-1) experimental; urgency=low
+
+  * Initial packaging.
+  * Patch setup.py to declare the zope package as a namespace package.
+
+ -- Brian Sutherland <jinty at web.de>  Thu, 26 Oct 2006 22:41:46 +0200

Added: python-zope.interface/trunk/debian/compat
===================================================================
--- python-zope.interface/trunk/debian/compat	2006-10-29 19:29:38 UTC (rev 376)
+++ python-zope.interface/trunk/debian/compat	2006-10-29 19:30:51 UTC (rev 377)
@@ -0,0 +1 @@
+4

Added: python-zope.interface/trunk/debian/control
===================================================================
--- python-zope.interface/trunk/debian/control	2006-10-29 19:29:38 UTC (rev 376)
+++ python-zope.interface/trunk/debian/control	2006-10-29 19:30:51 UTC (rev 377)
@@ -0,0 +1,25 @@
+Source: python-zope.interface
+Section: python
+Priority: extra
+Maintainer: Brian Sutherland <jinty at web.de>
+Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3-1)
+Standards-Version: 3.7.2
+XS-Python-Version: all
+
+Package: python-zope.interface
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, python-zope
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Conflicts: python-zopeinterface
+Description: Zope 3 Interface Infrastructure
+ This package provides the zope.interface module, which provide interfaces
+ for python.
+
+Package: python-zope
+Architecture: all
+Depends: ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Conflicts: python-zopeinterface
+Description: Zope namespace package
+ Namespace package for all zope.* packages to depend on.

Added: python-zope.interface/trunk/debian/copyright
===================================================================
--- python-zope.interface/trunk/debian/copyright	2006-10-29 19:29:38 UTC (rev 376)
+++ python-zope.interface/trunk/debian/copyright	2006-10-29 19:30:51 UTC (rev 377)
@@ -0,0 +1,77 @@
+This package was debianized by Brian Sutherland <jinty at web.de> on
+Thu Oct 26 22:39:08 CEST 2006.
+
+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-zope.interface/trunk/debian/docs
===================================================================
--- python-zope.interface/trunk/debian/docs	2006-10-29 19:29:38 UTC (rev 376)
+++ python-zope.interface/trunk/debian/docs	2006-10-29 19:30:51 UTC (rev 377)
@@ -0,0 +1,2 @@
+PKG-INFO
+README.txt

Added: python-zope.interface/trunk/debian/rules
===================================================================
--- python-zope.interface/trunk/debian/rules	2006-10-29 19:29:38 UTC (rev 376)
+++ python-zope.interface/trunk/debian/rules	2006-10-29 19:30:51 UTC (rev 377)
@@ -0,0 +1,82 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PYVERS=$(shell pyversions -vr debian/control)
+NAMESPACE_MOD=zope
+SUB_MODULE=interface
+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
+	$(MAKE) -f debian/rules $(PYVERS:%=clean-python%)
+	rm -f build-python?.?
+	rm -rf build
+	dh_clean
+
+clean-python%:
+	python$* setup.py clean
+
+.PHONY: install
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) -f debian/rules $(PYVERS:%=install-python%)
+
+install-python%:
+	# 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
+	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 CHANGES.txt
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_pycentral
+	dh_python
+	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: install
+	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+.PHONY: binary
+binary: binary-indep binary-arch


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

Added: python-zope.interface/trunk/debian/watch
===================================================================
--- python-zope.interface/trunk/debian/watch	2006-10-29 19:29:38 UTC (rev 376)
+++ python-zope.interface/trunk/debian/watch	2006-10-29 19:30:51 UTC (rev 377)
@@ -0,0 +1,2 @@
+version=3
+http://download.zope.org/distribution/zope.interface-(.*)\.tar\.gz

Modified: python-zope.interface/trunk/setup.py
===================================================================
--- python-zope.interface/trunk/setup.py	2006-10-29 19:29:38 UTC (rev 376)
+++ python-zope.interface/trunk/setup.py	2006-10-29 19:30:51 UTC (rev 377)
@@ -37,6 +37,7 @@
                 "zope.interface.common",
                 "zope.interface.tests",
                ],
+      namespace_packages=["zope"],
       package_dir = {'': 'src'},
       ext_package='zope.interface',
       ext_modules=[Extension("_zope_interface_coptimizations",

Modified: python-zope.interface/trunk/src/zope.interface.egg-info/SOURCES.txt
===================================================================
--- python-zope.interface/trunk/src/zope.interface.egg-info/SOURCES.txt	2006-10-29 19:29:38 UTC (rev 376)
+++ python-zope.interface/trunk/src/zope.interface.egg-info/SOURCES.txt	2006-10-29 19:30:51 UTC (rev 377)
@@ -7,6 +7,7 @@
 src/zope.interface.egg-info/PKG-INFO
 src/zope.interface.egg-info/SOURCES.txt
 src/zope.interface.egg-info/dependency_links.txt
+src/zope.interface.egg-info/namespace_packages.txt
 src/zope.interface.egg-info/native_libs.txt
 src/zope.interface.egg-info/not-zip-safe
 src/zope.interface.egg-info/top_level.txt

Added: python-zope.interface/trunk/src/zope.interface.egg-info/namespace_packages.txt
===================================================================
--- python-zope.interface/trunk/src/zope.interface.egg-info/namespace_packages.txt	2006-10-29 19:29:38 UTC (rev 376)
+++ python-zope.interface/trunk/src/zope.interface.egg-info/namespace_packages.txt	2006-10-29 19:30:51 UTC (rev 377)
@@ -0,0 +1 @@
+zope


Property changes on: python-zope.interface/trunk/src/zope.interface.egg-info/namespace_packages.txt
___________________________________________________________________
Name: svn:eol-style
   + native




More information about the pkg-zope-commits mailing list