debian/0000755000000000000000000000000011751535505007175 5ustar debian/rules0000755000000000000000000000152311751053660010253 0ustar #!/usr/bin/make -f export PYTHONWARNINGS=d PYVERS := $(shell pyversions -r) PY3VERS := $(shell py3versions -r) %: dh $@ --with python2,python3 override_dh_auto_build: set -ex; \ for python in $(PYVERS) $(PY3VERS); do \ $$python setup.py build; \ done override_dh_auto_clean: rm -rf build rm -rf *.egg-info dh_auto_clean override_dh_auto_install: set -ex; \ for python in $(PYVERS); do \ $$python setup.py install --skip-build \ --root debian/python-simplegeneric \ --install-layout deb; \ done set -ex; \ for python in $(PY3VERS); do \ $$python setup.py install --skip-build \ --root debian/python3-simplegeneric \ --install-layout deb; \ done override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) set -ex; \ for python in $(PYVERS) $(PY3VERS); do \ $$python setup.py test -vv; \ done endif debian/compat0000644000000000000000000000000211751053660010370 0ustar 7 debian/copyright0000644000000000000000000000635111751053660011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: simplegeneric Upstream-Contact: Phillip J. Eby Source: http://pypi.python.org/pypi/simplegeneric Files: * Copyright: 2006-2012, Phillip J. Eby License: ZPL-2.1 Files: debian/* Copyright: 2010, Cédric Delfosse 2012, Daniele Tricoli License: GPL-3 License: ZPL-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. 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 . . The complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3 file. debian/control0000644000000000000000000000323611751535320010577 0ustar Source: simplegeneric Maintainer: Debian Python Modules Team Uploaders: Daniele Tricoli Section: python Priority: optional Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.6-3~), python-setuptools, python3-all, python3-setuptools Standards-Version: 3.9.3 X-Python-Version: >= 2.4 X-Python3-Version: >= 3.0 Homepage: http://pypi.python.org/pypi/simplegeneric Vcs-Svn: svn://svn.debian.org/python-modules/packages/simplegeneric/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/simplegeneric/trunk/ Package: python-simplegeneric Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: simple generic functions for Python The simplegeneric module lets you define simple single-dispatch generic functions, akin to Python's built-in generic functions like len(), iter() and so on. However, instead of using specially-named methods, these generic functions use simple lookup tables, akin to those used by e.g. pickle.dump() and other generic functions found in the Python standard library. Package: python3-simplegeneric Architecture: all Depends: ${misc:Depends}, ${python3:Depends} Description: simple generic functions for Python3 The simplegeneric module lets you define simple single-dispatch generic functions, akin to Python's built-in generic functions like len(), iter() and so on. However, instead of using specially-named methods, these generic functions use simple lookup tables, akin to those used by e.g. pickle.dump() and other generic functions found in the Python standard library. . This package contains the Python 3 version of the library. debian/watch0000644000000000000000000000013011751053660010215 0ustar version=3 http://pypi.python.org/packages/source/s/simplegeneric/simplegeneric-(.*)\.zipdebian/source/0000755000000000000000000000000011751530045010467 5ustar debian/source/format0000644000000000000000000000001411751053653011702 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000215611751530064011046 0ustar simplegeneric (0.8.1-1) unstable; urgency=low * New upstream release (Closes: #640531) - With Python 3 support * Builded Python 3 package * debian/control - Removed Cédric and added Debian Python Modules Team to Maintainer Thanks to Cédric Delfosse for his past work! - Added myself to Uploaders (Closes: #668915) - Bumped Standards-Version to 3.9.3 (no changes needed) - Removed Provides: ${python:Provides} - Removed ${shlibs:Depends} from python-simplegeneric's Depends field - Switched Priority to optional - Added Vcs-* fields * debian/{control,rules} - Switched to dh_python2. Thanks to Julian Taylor for the report and the patch (Closes: #631408) * debian/copyright - Made DEP5 compliant - Upstream switched to ZPL-2.1 * debian/rules - Clean properly to build packages twice in a row - Run tests at build time -- Daniele Tricoli Fri, 04 May 2012 12:51:10 +0200 simplegeneric (0.7-1) unstable; urgency=low * Initial release (Closes: #591295) -- Cédric Delfosse Wed, 04 Aug 2010 20:53:42 +0200 debian/python3-simplegeneric.docs0000644000000000000000000000001211751053660014265 0ustar README.txtdebian/python-simplegeneric.docs0000644000000000000000000000001211751053660014202 0ustar README.txt