--- apipkg-1.0.orig/apipkg.egg-info/SOURCES.txt +++ apipkg-1.0/apipkg.egg-info/SOURCES.txt @@ -2,6 +2,7 @@ MANIFEST.in README.txt apipkg.py +setup.cfg setup.py test_apipkg.py apipkg.egg-info/PKG-INFO --- apipkg-1.0.orig/debian/changelog +++ apipkg-1.0/debian/changelog @@ -0,0 +1,15 @@ +apipkg (1.0-1ubuntu2) lucid; urgency=low + + * add copyright file + + -- Mario Fetka (geos_one) Wed, 27 Jul 2011 05:00:16 +0000 + +apipkg (1.0-1ubuntu1) lucid; urgency=low + + [ holger krekel ] + * source package automatically created by stdeb 0.5.1 + + [ Mario Fetka (geos_one) ] + * initial package + + -- Mario Fetka (geos_one) Tue, 26 Jul 2011 20:10:31 +0000 --- apipkg-1.0.orig/debian/compat +++ apipkg-1.0/debian/compat @@ -0,0 +1 @@ +7 --- apipkg-1.0.orig/debian/control +++ apipkg-1.0/debian/control @@ -0,0 +1,33 @@ +Source: apipkg +Maintainer: holger krekel +Section: python +Priority: optional +Build-Depends: python-setuptools (>= 0.6b3), debhelper (>= 7), python-support (>= 0.8.4) +Standards-Version: 3.7.2 + +Package: python-apipkg +Architecture: all +Depends: ${python:Depends} +XB-Python-Version: ${python:Versions} +Provides: ${python:Provides} +Description: apipkg: namespace control and lazy-import mechanism + Welcome to apipkg! + ------------------------ + . + With apipkg you can control the exported namespace of a + python package and greatly reduce the number of imports for your users. + It is a `small pure python module`_ that works on virtually all Python + versions, including CPython2.3 to Python3.1, Jython and PyPy. It co-operates + well with Python's ``help()`` system, custom importers (PEP302) and common + command line completion tools. + . + Usage is very simple: you can require 'apipkg' as a dependency or you + can copy paste the <100 Lines of code into your project. + . + Tutorial example + ------------------- + . + Here is a simple ``mypkg`` package that specifies one namespace + and exports two objects imported from different modules:: + . + # mypkg/__init__.py --- apipkg-1.0.orig/debian/copyright +++ apipkg-1.0/debian/copyright @@ -0,0 +1,45 @@ +This work was packaged for Debian by: + + Adam Schmalhofer on Wed, 02 Dec 2009 08:13:35 +0100 + +It was downloaded from http://pypi.python.org/packages/source/a/apipkg/ + +Upstream Author: + + Holger Krekel + +Copyright: + + 2009 Holger Krekel + +License: + + + apipkg.py is Copyright 2009 Holger Krekel and licensed under the + MIT license. + + The MIT license is: + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + +The Debian packaging is: + + Copyright (C) 2009 Adam Schmalhofer + + and is licensed under the MIT license. --- apipkg-1.0.orig/debian/python-apipkg.preinst +++ apipkg-1.0/debian/python-apipkg.preinst @@ -0,0 +1,14 @@ +#! /bin/sh + +set -e + +# This was added by stdeb to workaround Debian #479852. In a nutshell, +# pycentral does not remove normally remove its symlinks on an +# upgrade. Since we're using python-support, however, those symlinks +# will be broken. This tells python-central to clean up any symlinks. +if [ -e /var/lib/dpkg/info/python-apipkg.list ] && which pycentral >/dev/null 2>&1 +then + pycentral pkgremove python-apipkg +fi + +#DEBHELPER# --- apipkg-1.0.orig/debian/rules +++ apipkg-1.0/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +# This file was automatically generated by stdeb 0.5.1 at +# Tue, 26 Jul 2011 20:09:42 +0000 + +# Unset the environment variables set by dpkg-buildpackage. (This is +# necessary because distutils is brittle with compiler/linker flags +# set. Specifically, packages using f2py will break without this.) +unexport CPPFLAGS +unexport CFLAGS +unexport CXXFLAGS +unexport FFLAGS +unexport LDFLAGS + +#exports specified using stdeb Setup-Env-Vars: +export DH_OPTIONS=--buildsystem=python_distutils + + +%: + dh $@ + +