debian/0000755000000000000000000000000011640102064007160 5ustar debian/peak.util-addons.watch0000644000000000000000000000023411637335117013366 0ustar version=3 opts=filenamemangle=s/AddOns-([0-9a-z.]+).zip/peak.util-addons-$1.zip/ \ http://pypi.python.org/packages/source/A/AddOns/AddOns-([0-9a-z.]+)\.zip debian/source/0000755000000000000000000000000011640102035010456 5ustar debian/source/format0000644000000000000000000000001411576455754011717 0ustar 3.0 (quilt) debian/peak.util-bytecodeassembler.watch0000644000000000000000000000031011637335117015605 0ustar version=3 opts=filenamemangle=s/BytecodeAssembler-([0-9a-z.]+).zip/peak.util-bytecodeassembler-$1.zip/ \ http://pypi.python.org/packages/source/B/BytecodeAssembler/BytecodeAssembler-([0-9a-z.]+)\.zip debian/python-peak.util.install0000644000000000000000000000047511637335117014006 0ustar addons-0-7/README.txt usr/share/doc/python-peak.util/AddOns/ bytecodeassembler-0-6/README.txt usr/share/doc/python-peak.util/BytecodeAssembler/ extremes-1-1-1/README.txt usr/share/doc/python-peak.util/Extremes/ symboltype-1-0/README.txt usr/share/doc/python-peak.util/SymbolType/ debian/changelog0000644000000000000000000000330311640101771011035 0ustar python-peak.util (20110909-1) unstable; urgency=low * Switched to multiple upstream tarballs * Updated upstream packages: - peak.util.addons 0.7 - peak.util.assembler 0.6 (Closes: #606382, LP: #795096) * debian/control - Removed Debian QA Group and added Debian Python Modules Team to Maintainer - Added myself to Uploaders (Closes: #607083) - Bumped Standards-Version to 3.9.2 (no changes needed) * debian/{control,rules} - Switched from cdbs to dh sequencer * debian/copyright - Made DEP5 compliant * debian/patches/01_invoke-multiple-setup.patch - Use a patch to add the setup.py which take care of invocation of multiple setup.py in subdir provided by Stefano Zacchiroli * debian/source/format - Switched to source format 3.0 (quilt) -- Daniele Tricoli Mon, 26 Sep 2011 15:54:01 +0200 python-peak.util (20090610-3) unstable; urgency=low * QA upload. [ Piotr Ożarowski ] * Add debian/source/format file (with "1.0" inside) [ Stefano Zacchiroli ] * debian/copyright: document download origin (Closes: #606481) [ Jakub Wilk ] * Remove Stefano Zacchiroli from uploaders. * Set Maintainer to Debian QA Group. -- Jakub Wilk Tue, 14 Dec 2010 14:36:40 +0100 python-peak.util (20090610-2) unstable; urgency=low * debian/copyright: remove some leftover cruft * first upload to unstable * debian/control: bump Standards-Version to 3.8.2 (no changes needed) -- Stefano Zacchiroli Sun, 02 Aug 2009 12:58:20 +0200 python-peak.util (20090610-1) experimental; urgency=low * First release (Closes: #532625) -- Stefano Zacchiroli Wed, 10 Jun 2009 16:04:32 +0200 debian/peak.util-symboltype.watch0000644000000000000000000000025411637335117014327 0ustar version=3 opts=filenamemangle=s/SymbolType-([0-9a-z.]+).zip/peak.util-symboltype-$1.zip/ \ http://pypi.python.org/packages/source/S/SymbolType/SymbolType-([0-9a-z.]+)\.zip debian/control0000644000000000000000000000262611640057424010602 0ustar Source: python-peak.util Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Daniele Tricoli Build-Depends: debhelper (>= 7.0.50~), python-all, python-setuptools, python-support Standards-Version: 3.9.2 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-peak.util/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-peak.util/trunk/ Package: python-peak.util Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-peak.util.decorators Description: utilities from the Python Enterprise Application Kit The Python Enterprise Application Kit (PEAK) is a set of Python libraries to help develop large-scale Python applications. . PEAK includes libraries and frameworks to support: component integration, component configuration , document-driven testing, event-driven programming, storage management and persistence, domain modelling, and much more. . This package provides a subset of utilities related to PEAK, and commonly found as dependencies for PEAK-based components. In particular, this package provides: . * AddOns - dynamic mixins with private attribute and methods * BytecodeAssembler - code object generation assembling bytecode * Extremes - absolute max and min values (PEP 326 implementation) * SymbolType - symbol type, i.e., enumerations debian/copyright0000644000000000000000000001356711637335117011144 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174 Upstream-Contact: Phillipp J. Eby Source: http://pypi.python.org/pypi/AddOns/ http://pypi.python.org/pypi/BytecodeAssembler/ http://pypi.python.org/pypi/Extremes/ http://pypi.python.org/pypi/SymbolType/ Files: * Copyright: © 2006-2008 Phillipp J .Eby License: PSF-2 or ZPL-2 Files: debian/* Copyright: 2009, Stefano Zacchiroli 2011, Daniele Tricoli License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-3' file. License: PSF-2 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and the Individual or Organization ("Licensee") accessing and otherwise using this software ("Python") in source or binary form and its associated documentation. . 2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights Reserved" are retained in Python alone or in any derivative version prepared by Licensee. . 3. In the event Licensee prepares a derivative work that is based on or incorporates Python or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python. . 4. PSF is making Python available to Licensee on an "AS IS" basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. . 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. . 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. . 7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between PSF and Licensee. This License Agreement does not grant permission to use PSF trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. . 8. By copying, installing or otherwise using Python, Licensee agrees to be bound by the terms and conditions of this License Agreement. License: ZPL-2 This software is Copyright (c) Zope Corporation (tm) and Contributors. All rights reserved. . 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 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. The name Zope Corporation (tm) must not be used to endorse or promote products derived from this software without prior written permission from Zope Corporation. . 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 Zope Corporation. Use of them is covered in a separate agreement (see http://www.zope.com/Marks). . 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 ZOPE CORPORATION ``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 ZOPE CORPORATION OR ITS 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. . This software consists of contributions made by Zope Corporation and many individuals on behalf of Zope Corporation. Specific attributions are listed in the accompanying credits file. debian/README.source0000644000000000000000000000332411637335117011356 0ustar Upgrade to a new upstream ========================= This package use multiple upstream tarballs support provided by source package format "3.0 (quilt)". To obtain new orig tarballs you have to specify package version inside debian/changelog, update module version in the $(UPSTREAMS) Makefile variable inside debian/rules and then invoke the get-orig-source target of debian/rules as follows: $ debian/rules get-orig-source If all goes well, that should leave, inside the the default svn-buildpackage tarballs directory, a tarball called PACKAGE_YYYYMMDD.orig.tar.gz where PACKAGE is the source package name and YYYYMMDD is the version date in year/month/day format specified in debian/changelog; and a series of packages called PACKAGE_YYYYMMDD.orig-MODULENAME-MODULEVERSION.tar.gz where MODULENAME and MODULEVERSION are specified in the $(UPSTREAMS) Makefile variable inside debian/rules. Adding a new utility ==================== As this is a utility collection package, it is natural to expect that in the future new utilities will be added. To add one to the package follow a few simple rules: 1) add the module name and version (usually the egg name) to the $(UPSTREAMS) Makefile variable in debian/rules 2) add the per-utility watch file as debian/NAME.watch, where NAME is the module name 3) add license and copyright information about the new module to debian/copyright 4) run "debian/rules get-orig-source" to recreate the new tarball 5) if the new module has docs, have a look at debian/*.{install,dirs} to ship it where appropriate -- Stefano Zacchiroli , Wed, 10 Jun 2009 16:45:07 +0200 -- Daniele Tricoli , Fri, 09 Sep 2011 04:12:20 +0200 debian/rules0000755000000000000000000000277311640057611010260 0ustar #!/usr/bin/make -f PKG = python-peak.util VERSION = $(shell dpkg-parsechangelog | grep ^Version | cut -d" " -f2 | sed 's,-.*,,') # Use an absolute path because of regression introduced by devscripts 2.10.72: # uscan --destdir option no longer works with relative paths. # TARBALLS_DIR point to the default svn-buildpackage tarballs directory. TARBALLS_DIR = $$PWD"/../tarballs/" UPSTREAMS = \ addons-0.7 \ bytecodeassembler-0.6 \ extremes-1.1.1 \ symboltype-1.0 export SUBDIRS = $(subst .,-,$(UPSTREAMS)) PKG_PREFIX = peak.util- USCAN_EXTRA_ARGS = --repack %: dh $@ override_dh_auto_clean: rm -rf build/ find . -path '*.egg-info/*' -delete dh_auto_clean override_dh_auto_install: dh_auto_install -- --single-version-externally-managed rm -f debian/$(PKG)/usr/lib/python*/dist-packages/*.pth get-orig-source: set -e; \ for upstream in $(UPSTREAMS); do \ uscan --no-conf \ --watchfile debian/$(PKG_PREFIX)`echo $$upstream | cut -d- -f1`.watch $(USCAN_EXTRA_ARGS) \ --upstream-version 0 --download-version `echo $$upstream | cut -d- -f2` \ --package `echo $(PKG_PREFIX)$$upstream | cut -d- -f1` \ --download --destdir $(TARBALLS_DIR)/ --no-symlink; \ mv $(TARBALLS_DIR)/`echo $(PKG_PREFIX)$$upstream`.tar.gz \ $(TARBALLS_DIR)/$(PKG)_$(VERSION).orig-`echo $$upstream | tr . -`.tar.gz; \ done # Create manually the empty main package mkdir $(TARBALLS_DIR)/$(PKG)-$(VERSION) cd $(TARBALLS_DIR); tar czf $(PKG)_$(VERSION).orig.tar.gz $(PKG)-$(VERSION) rmdir $(TARBALLS_DIR)/$(PKG)-$(VERSION) debian/patches/0000755000000000000000000000000011640102035010605 5ustar debian/patches/series0000644000000000000000000000003711576455754012055 0ustar 01_invoke-multiple-setup.patch debian/patches/01_invoke-multiple-setup.patch0000644000000000000000000000211611576455754016443 0ustar Description: Multiplexer for invoking multiple setup.py in subdir Author: Stefano Zacchiroli Forwarded: not-needed --- /dev/null +++ b/setup.py @@ -0,0 +1,28 @@ +#!/usr/bin/python +# Multiplexer for invoking multiple setup.py in subdir +# Copyright (C) 2009 Stefano Zacchiroli +# License: GNU GPL version 3 or above + +# Created: Sat, 30 May 2009 14:47:04 +0200 +# Last-Modified: Sat, 30 May 2009 14:47:04 +0200 + +import os, string, sys + +if not os.environ.has_key('SUBDIRS') or not os.environ['SUBDIRS']: + print >> sys.stderr, "Can't find subdirs, please set SUBDIRS envvar" + sys.exit(3) +else: + subdirs = os.environ['SUBDIRS'].split() +setup_cmd = "python setup.py %s" % string.join(sys.argv[1:]) + +topdir = os.getcwd() +for d in subdirs: + if not os.path.isdir(d): + print >> sys.stderr, "WARNING: can't find subdir %s" % d + continue + os.chdir(d) + retcode = os.system(setup_cmd) + if retcode: + print >> sys.stderr, "ERROR: setup.py in subdir %s failed" % d + sys.exit(retcode >> 8) + os.chdir(topdir) debian/compat0000644000000000000000000000000211407110130010350 0ustar 7 debian/peak.util-extremes.watch0000644000000000000000000000024411637335117013753 0ustar version=3 opts=filenamemangle=s/Extremes-([0-9a-z.]+).zip/peak.util-extremes-$1.zip/ \ http://pypi.python.org/packages/source/E/Extremes/Extremes-([0-9a-z.]+)\.zip