debian/0000755000000000000000000000000012313576654007202 5ustar debian/copyright0000644000000000000000000000460512162617643011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: zope.interface Upstream-Contact: Zope Foundation and Contributors Source: http://pypi.python.org/pypi/zope.interface Files: * Copyright: (c) 2001-2010 Zope Foundation and Contributors. License: Zope-2.1 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. debian/python-zope.interface-dbg.postinst0000755000000000000000000000043212162617643015772 0ustar #!/bin/sh set -e if [ "$1" = "configure" ]; then DOC_DIR="/usr/share/doc/python-zope.interface-dbg" if [ -d "$DOC_DIR" -a ! -L "$DOC_DIR" ] && rmdir "$DOC_DIR" 2> /dev/null; then ln -sf /usr/share/doc/python-zope.interface "$DOC_DIR" fi fi #DEBHELPER# exit 0 debian/changelog0000644000000000000000000001563412313576654011065 0ustar zope.interface (4.0.5-1ubuntu4) trusty; urgency=medium * No-change rebuild to drop Python 3.3 support. -- Matthias Klose Sun, 23 Mar 2014 15:28:44 +0000 zope.interface (4.0.5-1ubuntu3) trusty; urgency=medium * Rebuild for python3.4 as a supported python version. -- Matthias Klose Sat, 04 Jan 2014 18:33:09 +0000 zope.interface (4.0.5-1ubuntu2) saucy; urgency=low * Merge from Debian. Remaining changes: - debian/control: update Build-Depends to allow cross-building the package (waiting for Debian to drop python 3.2 support). -- Gediminas Paulauskas Thu, 27 Jun 2013 12:08:55 +0300 zope.interface (4.0.5-1) unstable; urgency=low * Team upload. [ Gediminas Paulauskas ] * New upstream release. (Closes: #691509) * debian/control: - Add Build-Depends on dpkg-dev (>= 1.16.1~) for multiarch support - Bump Standards-Version to 3.9.4 - Update supported Python versions - remove python3-zope.fixers from Build-Depends - enable autopkgtest (Closes: #692688) * debian/rules: - README.rst was renamed * debian/tests/control: add zope.event * debian/copyright: update to copyright-format 1.0 [ Matthias Klose ] * Allow cross-building the package (however dh_python[23] needs to get aware of cross builds). [ Barry Warsaw ] * fix_segfault_py3_64bit_LP_675064.diff: Applied upstream, removed. [ Arnaud Fontaine ] * debian/rules: - CHANGES.txt was renamed to CHANGES.rst. -- Gediminas Paulauskas Fri, 24 May 2013 22:23:43 +0300 zope.interface (4.0.3-0ubuntu2) raring; urgency=low * Allow cross-building the package (however dh_python[23] needs to get aware of cross builds). -- Matthias Klose Sun, 27 Jan 2013 18:21:11 +0100 zope.interface (4.0.3-0ubuntu1) raring; urgency=low * New upstream release. -- Logan Rosen Thu, 17 Jan 2013 14:19:12 -0500 zope.interface (3.6.1-3) unstable; urgency=low * Team upload. * Remove setuptools from requires.txt for Python3 (#688838) by overriding dh_gencontrol rather than dh_install, otherwise python3-pkg-resources is not added as Depends. -- Arnaud Fontaine Wed, 26 Sep 2012 16:16:22 +0900 zope.interface (3.6.1-2) unstable; urgency=low * Team upload. * debian/rules: + Make sure that building fails if any python command fails. + Remove setuptools from requires.txt for Python3 only as dh_python2 already take care of that. Closes: #688838. * debian/python-zope.interface-dbg.postinst: + Properly handle upgrade from Squeeze of /usr/share/doc to a symlink. Closes: #687878. -- Arnaud Fontaine Wed, 26 Sep 2012 12:24:31 +0900 zope.interface (3.6.1-1) unstable; urgency=low * Team upload. [ Brian Sutherland ] * New version and incorporate changes from Ubuntu. * Enable python3 packages * Use dh_python2 rather than dh_pycentral (Closes: #617171) * Stop using python-van.pydeb as well, packages has no dependencies or setuptools extras. * Add testing scripts for python3 version of this package. * Backport fixes to C optimizationd from upstream LP: #675064. Reportedly causes a segfault on python3 and 64-bit architectures. * Switch to dpkg-source 3.0 (quilt) format [ Arnaud Fontaine ] * debian/control: + Add Vcs-Browser and rename XS-Vcs-Svn to Vcs-Svn (now supported by dpkg). + Bump Standards-Version to 3.9.2. No changes needed. + Remove deprecated XB-Python-Version. + Add Homepage field. * debian/copyright: + Update to last revision. [ Matthias Klose ] * The egg doesn't require setuptools. LP: #563060. * Call setup.py install with --install-layout=deb to install into the final location. -- Arnaud Fontaine Mon, 16 May 2011 20:34:35 +0900 zope.interface (3.6.1-0ubuntu1) maverick; urgency=low * New upstream release. * Don't include C source in the package. * debian/copyright: update, convert to dep5 format -- Gediminas Paulauskas Thu, 26 Aug 2010 19:40:15 +0300 zope.interface (3.5.3-1) unstable; urgency=low * New upstream release. * Convert to debhelper 7 and the pydeb dh7 extension. -- Fabio Tranchitella Tue, 22 Dec 2009 13:14:19 +0100 zope.interface (3.5.2-2) unstable; urgency=low [ Matthias Klose ] * Set section to zope. [ Brian Sutherland ] * Set priority to optional as we are depended on by python-zodb which is priority optional. [ Fabio Tranchitella ] * debian/control: build-depend on pyton-vab.pydeb >= 1.3.0-2. (Closes: #552973) -- Fabio Tranchitella Sun, 08 Nov 2009 11:07:08 +0100 zope.interface (3.5.2-1) unstable; urgency=low * New upstream release. * debian/control: added conflict with zope3. -- Fabio Tranchitella Fri, 28 Aug 2009 11:47:25 +0200 zope.interface (3.5.1-5) unstable; urgency=low * Don't include sources files in the binary package. * Depend on python-pkg-resources instead of python-setuptools. -- Matthias Klose Wed, 26 Aug 2009 09:56:37 +0200 zope.interface (3.5.1-4) unstable; urgency=low * Build a python-zope.interface.dbg package. -- Matthias Klose Tue, 25 Aug 2009 19:40:54 +0200 zope.interface (3.5.1-3) unstable; urgency=low [ Michael Bienia ] * debian/rules: Use the macros from python.mk to determine the library path for python 2.5 and python 2.6, Closes: #537581. * debian/control: Bump the needed version of python-all-dev for this. [ Brian Sutherland ] * debian/rules, debian/control: Changes to above patch to be buildable on Lenny. Remove the python.mk include, van.pydeb already includes this conditionally. Revert above bump of python-all-dev. -- Brian Sutherland Mon, 20 Jul 2009 09:35:10 +0200 zope.interface (3.5.1-2) unstable; urgency=low * Fix maintainers/upload. * Use simpler van-pydep call in rules. * Remove python-zopeinterface metapackage as it is not needed. * Make watch file use pypi rather than download.zope.org. * Use the python-van.pydeb template for the rules file. -- Fabio Tranchitella Thu, 18 Jun 2009 16:11:11 +0200 zope.interface (3.5.1-1) unstable; urgency=low * Major re-write/update. -- Brian Sutherland Tue, 26 May 2009 19:07:43 +0000 python-zope.interface (3.4.0~b1-1) experimental; urgency=low * New upstream release * Remove use of dh_python. * Make rules file less strict on version numbers. * Add autopkgtest tests. * Remove previos debian specific patch adding the zope namespace package. -- Brian Sutherland Mon, 16 Jul 2007 09:04:34 +0200 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 Thu, 26 Oct 2006 22:41:46 +0200 debian/compat0000644000000000000000000000000212162617643010374 0ustar 7 debian/control0000644000000000000000000000656312162772554010616 0ustar Source: zope.interface Section: zope Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian/Ubuntu Zope Team Uploaders: Brian Sutherland , Fabio Tranchitella Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.16.1~), python-all-dev:any (>= 2.6.6-3~), python-all-dbg:any, python-setuptools, python3-all-dev:any, python3-all-dbg:any, libpython-all-dev, libpython-all-dbg, libpython3-all-dev, libpython3-all-dbg, python3-setuptools Standards-Version: 3.9.4 X-Python-Version: >= 2.6 X-Python3-Version: >= 3.2 XS-Testsuite: autopkgtest Homepage: http://pypi.python.org/pypi/zope.interface Vcs-Svn: svn://anonscm.debian.org/pkg-zope/zope.interface/trunk Vcs-Browser: http://svn.debian.org/viewsvn/pkg-zope/zope.interface/trunk Package: python-zope.interface Architecture: any Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends} Provides: python-zope, python-zopeinterface, ${python:Provides} Replaces: python-zope, python-zopeinterface Conflicts: python-zope, python-zopeinterface, zope3 Description: Interfaces for Python This package provides an implementation of object interfaces for Python. Interfaces are a mechanism for labeling objects as conforming to a given API or contract. So, this package can be considered as implementation of the Design By Contract methodology support in Python. Package: python-zope.interface-dbg Priority: extra Section: debug Architecture: any Depends: python-zope.interface (= ${binary:Version}), python-dbg, ${misc:Depends}, ${shlibs:Depends} Conflicts: python-zopeinterface-dbg Replaces: python-zopeinterface-dbg Provides: python-zopeinterface-dbg Description: Interfaces for Python (debug extension) This package provides an implementation of object interfaces for Python. Interfaces are a mechanism for labeling objects as conforming to a given API or contract. So, this package can be considered as implementation of the Design By Contract methodology support in Python. . This package contains the extension built for the Python debug interpreter. Package: python3-zope.interface Architecture: any Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends} Provides: python3-zope, ${python3:Provides} Description: Interfaces for Python3 This package provides an implementation of object interfaces for Python. Interfaces are a mechanism for labeling objects as conforming to a given API or contract. So, this package can be considered as implementation of the Design By Contract methodology support in Python. Package: python3-zope.interface-dbg Priority: extra Section: debug Architecture: any Depends: python3-zope.interface (= ${binary:Version}), python3-dbg, ${misc:Depends}, ${shlibs:Depends} Description: Interfaces for Python3 (debug extension) This package provides an implementation of object interfaces for Python. Interfaces are a mechanism for labeling objects as conforming to a given API or contract. So, this package can be considered as implementation of the Design By Contract methodology support in Python. . This package contains the extension built for the Python3 debug interpreter. debian/tests/0000755000000000000000000000000012163001242010317 5ustar debian/tests/all0000644000000000000000000000013312162617643011030 0ustar #!/bin/bash testfilter="-s zope.interface" . /usr/share/python-zope.testrunner/test_helper debian/tests/all-30000644000000000000000000000013612162617643011173 0ustar #!/bin/bash testfilter="-s zope.interface" . /usr/share/python3-zope.testrunner/test_helper_3 debian/tests/control0000644000000000000000000000031112162617643011736 0ustar Tests: all Depends: python-all, python-zope.interface, python-zope.testrunner, python-zope.event Tests: all-3 Depends: python3-all, python3-zope.interface, python3-zope.testrunner, python3-zope.event debian/rules0000755000000000000000000000667412162772463010275 0ustar #!/usr/bin/make -f %: dh $@ --with python2 --with python3 package=python-zope.interface package3=python3-zope.interface include /usr/share/dpkg/architecture.mk ifneq ($(DEB_BUILD_MULTIARCH),$(DEB_HOST_MULTIARCH)) SET_CROSS_ENV = PYTHONPATH=/usr/lib/python$$pv/plat-$(DEB_HOST_MULTIARCH) # FIXME: is this sufficient? SET_CROSS_ENV += _PYTHON_HOST_PLATFORM=$(DEB_HOST_GNU_CPU) endif override_dh_auto_clean: rm -rf build find -name __pycache__ | xargs -r rm -rf find -name '*.py[co]' | xargs -r rm -f override_dh_auto_build: set -xe; for pv in $(shell pyversions -vr); do \ $(SET_CROSS_ENV) python$$pv setup.py build; \ done set -xe; for pv in $(shell py3versions -sv); do \ $(SET_CROSS_ENV) python$$pv setup.py build; \ done override_dh_auto_install: set -xe; \ for pv in $(shell pyversions -vr); do \ $(SET_CROSS_ENV) python$$pv setup.py install --install-layout=deb \ --root $(CURDIR)/debian/$(package); \ done set -xe; \ for pv in $(shell py3versions -vs); do \ $(SET_CROSS_ENV) python$$pv setup.py install --install-layout=deb \ --root $(CURDIR)/debian/$(package3); \ done override_dh_install: # remove C source find debian/$(package) -name '*.c' | xargs -r rm -f # remove debug symbols #rm debian/$(package)/usr/lib/python*/*-packages/zope/interface/_zope_interface_coptimizations_d.so # zope.interface provides the zope namespace __init__.py for pv in $(shell pyversions -vr debian/control); do \ cp src/zope/__init__.py debian/$(package)/usr/lib/python$$pv/*-packages/zope/; \ done # python-zope.interface-dbg package for pv in $(shell pyversions -vr debian/control); do \ $(SET_CROSS_ENV) python$$pv-dbg setup.py install \ --no-compile --single-version-externally-managed \ $(py_setup_install_args) --root=debian/$(package)-dbg \ --install-layout=deb; \ done find debian/$(package)-dbg find debian/$(package)-dbg ! -type d ! -name '*.so' | xargs rm -f find debian/$(package)-dbg -depth -empty -exec rmdir {} \; # remove C source find debian/$(package3) -name '*.c' | xargs -r rm -f # remove debug symbols #-rm debian/$(package3)/usr/lib/python3/dist-packages/zope/interface/_zope_interface_coptimizations_d.so # zope.interface provides the zope namespace __init__.py for py in $(shell py3versions -vs); do \ cp src/zope/__init__.py debian/$(package3)/usr/lib/python3/dist-packages/zope/; \ done # python3-zope.interface-dbg package for pv in $(shell py3versions -vs); do \ $(SET_CROSS_ENV) python$$pv-dbg setup.py install \ --no-compile --single-version-externally-managed \ $(py_setup_install_args) --root=debian/$(package3)-dbg \ --install-layout=deb; \ done find debian/$(package3)-dbg find debian/$(package3)-dbg ! -type d ! -name '*.so' | xargs rm -f find debian/$(package3)-dbg -depth -empty -exec rmdir {} \; override_dh_gencontrol: dh_gencontrol # Workaround for dh_python3 not removing python-setuptools from requires.txt find debian/$(package3) -name requires.txt -exec sed -i '/^setuptools$$/d' {} \; override_dh_installdocs: dh_installdocs -p$(package) README.rst dh_installdocs -p$(package)-dbg --link-doc=$(package) dh_installdocs -p$(package3) README.rst dh_installdocs -p$(package3)-dbg --link-doc=$(package3) override_dh_installchangelogs: dh_installchangelogs -p$(package) CHANGES.rst dh_installchangelogs -p$(package3) CHANGES.rst override_dh_strip: dh_strip -p$(package) --dbg-package=$(package)-dbg dh_strip -p$(package3) --dbg-package=$(package3)-dbg debian/source/0000755000000000000000000000000012163001242010455 5ustar debian/source/format0000644000000000000000000000001412162617643011704 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000015112162617643010224 0ustar version=3 http://pypi.python.org/packages/source/z/zope.interface/zope.interface-(.*)(?:\.tar\.gz|\.zip)