--- python-authkit-0.4.3.orig/debian/README.source +++ python-authkit-0.4.3/debian/README.source @@ -0,0 +1,4 @@ +This package is using dpatch patch system. + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run `./debian/rules patch` --- python-authkit-0.4.3.orig/debian/control +++ python-authkit-0.4.3/debian/control @@ -0,0 +1,33 @@ +Source: python-authkit +Section: python +Priority: optional +Maintainer: Christoph Haas +Uploaders: Debian Python Modules Team +Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), + python-central (>= 0.5.6), python-setuptools (>= 0.6b3-1~), dpatch (>= 2.0) +Standards-Version: 3.8.0 +Homepage: http://authkit.org/ +XS-Python-Version: >=2.4 +Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-authkit/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-authkit/trunk/ + +Package: python-authkit +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, + python-paste (>= 1.4), python-pastedeploy (>= 1.1), python-pastescript (>= 1.1), + python (>= 2.5) | python-elementtree (>= 1.2), python-openid (>= 2.0.1), + python-beaker (>= 0.7.3), python-decorator (>= 2.1.0), python-webob (>= 0.9.3) +Recommends: python-mysqldb, python-sqlalchemy +XB-Python-Version: ${python:Versions} +Description: authentication and authorisation framework for Python WSGI applications + AuthKit is a Python module that provides functionality for WSGI (web) + applications to use authentication and authorisation. + . + * Built for WSGI applications and middleware + * Sophisticated and extensible permissions system + * Built in support for HTTP basic, HTTP digest, form, cookie and OpenID + authentication methods plus others. + * Easily define users, passwords and roles + * Designed to be totally extensible so you can use the components to integrate + with a database, LDAP connection or your own custom system. + * Plays nicely with the Pylons web framework. --- python-authkit-0.4.3.orig/debian/README.Debian +++ python-authkit-0.4.3/debian/README.Debian @@ -0,0 +1,3 @@ +The egg dependency on python-openid was originally "python-openid>=1.1,<=1.2" +and has been changed to "python-openid>=1.1" because there is python-openid 2.0 +in Debian. --- python-authkit-0.4.3.orig/debian/compat +++ python-authkit-0.4.3/debian/compat @@ -0,0 +1 @@ +5 --- python-authkit-0.4.3.orig/debian/copyright +++ python-authkit-0.4.3/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Christoph Haas on +Fri, 9 Mar 2007 20:20:15 +0100. + +The Debian packaging is (C) 2007, Christoph Haas and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +It was downloaded from http://python.org/pypi/AuthKit/ + +Authkit is licensed under the temrs of the MIT license: + +Copyright (c) 2005-2007 James Gardner + +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. + --- python-authkit-0.4.3.orig/debian/changelog +++ python-authkit-0.4.3/debian/changelog @@ -0,0 +1,88 @@ +python-authkit (0.4.3-1) unstable; urgency=low + + [ Piotr Ożarowski ] + * Vcs-Svn, Vcs-Browser and Homepage fields added + * Add get-orig-source rule to debian/rules + * Remove "Maintainer: " from Uploaders field + * Typo fixed in long description + * Update path in lintian-overrides/python-authkit + * Add python-decorator and python-webob to Depends + * Add python-mysqldb and python-sqlalchemy to Recommends + + [ Sandro Tosi ] + * updated to new pypi simplier URL + * debian/control + - uniforming Vcs-Browser field + * debian/control + - switch Vcs-Browser field to viewsvn + + [ Jan Dittberner ] + * new upstream version 0.4.3-1 + * Patches to remove elementtree dependency + - egginfo-elementtree.dpatch, + - setuppy-elementtree.dpatch + * Removed obsolete patches for python-openid version + - egginfo-openid.dpatch + - setuppy-openid.dpatch + * Updated Standards-Version to 3.8.0 + * Changed python-setuptools Build-Depends version to make lintian happy + * add debian/README.source with dpatch instructions + * add README.txt, docs and examples in debian/docs (Closes: #501054) + * remove README.txt from dh_installdocs invocation and add excludes for + pudge_template and syntax highlighting JavaScript + * remove execute flag of example scripts + + -- Debian Python Modules Team Fri, 02 Jan 2009 13:05:17 +0100 + +python-authkit (0.4.0~r139-0.1) unstable; urgency=low + + * NMU blessed by maintainer. + * New upstream version (trunk, subverson revision 139) packaged. + * python-openid 2.0 support: + - python-yadis and python-urljr dependencies removed, both libraries + are merged into new python-openid. + - setuppy-openid.dpatch patch removed, no longer needed. + - egginfo-openid.dpatch patch removed, no longer needed. + - README.Debian removed as it contained only information about + "python-openid <= 1.2" dependency in older authkit snapshots. + * No longer manually move .egg-info directory: dh_pycentral does it + automatically. + * Homepage moved from description to debian/control field to make + lintian happy. + + -- Mikhail Gusarov Wed, 07 Nov 2007 12:12:26 +0600 + +python-authkit (0.4.0~r95-1) unstable; urgency=low + + * New upstream version (trunk, subversion revision 95) packaged. + Upstream version 0.3.0 is deprecated and the current trunk is suggested + for use by the upstream developer. + + -- Christoph Haas Tue, 17 Jul 2007 00:37:16 +0200 + +python-authkit (0.3.0pre5-4) unstable; urgency=low + + * Fixed debian/copyright to include the MIT license. + + -- Christoph Haas Fri, 20 Apr 2007 20:37:53 +0200 + +python-authkit (0.3.0pre5-3) unstable; urgency=low + + * First upload to Debian unstable. + + -- Christoph Haas Sat, 14 Apr 2007 00:29:51 +0200 + +python-authkit (0.3.0pre5-2) experimental; urgency=low + + * Removed debian/python-foo (accidentally got there when creating the + package) + * Dependency on shlibs removed + + -- Christoph Haas Fri, 9 Mar 2007 22:12:00 +0100 + +python-authkit (0.3.0pre5-1) experimental; urgency=low + + * Initial release (Closes: #414182) + + -- Christoph Haas Fri, 9 Mar 2007 20:20:15 +0100 + --- python-authkit-0.4.3.orig/debian/docs +++ python-authkit-0.4.3/debian/docs @@ -0,0 +1,3 @@ +README.txt +docs +examples --- python-authkit-0.4.3.orig/debian/rules +++ python-authkit-0.4.3/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Include dpatch stuff. +include /usr/share/dpatch/dpatch.make + +PYVERS=$(shell pyversions -vr) +DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p') +REVISION = $(shell dpkg-parsechangelog | sed -rne 's,^Version: .*~r([^-]+).*,\1,p') + +clean: unpatch + dh_testdir + dh_testroot + rm -rf build + find . -name *\.py[co] -exec rm {} \; + dh_clean + +build: + +install: patch $(PYVERS:%=install-python%) +install-python%: + python$* setup.py install \ + --single-version-externally-managed \ + --root $(CURDIR)/debian/python-authkit + + # remove the stupid executable flag from README.txt files + find . -name README.txt | xargs chmod -x + # remove the executable flag from example scripts + chmod -x examples/docs/form2.py examples/docs/form_no_user_in_cookie.py + +# Build architecture-dependent files here. +binary-arch: + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_install debian/lintian-overrides/python-authkit /usr/share/lintian/overrides/ + dh_installchangelogs + dh_installdocs --exclude=pudge_template --exclude=scripts + dh_pycentral + dh_compress -X.py + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch + +get-orig-source: + if [ "$(REVISION)" = "" ]; then uscan --force-download --rename --repack; else \ + svn -q export -r $(REVISION) http://authkit.org/svn/AuthKit/trunk/ python-authkit-$(DEB_UPSTREAM_VERSION) &&\ + tar -zcf ./python-authkit_$(DEB_UPSTREAM_VERSION).orig.tar.gz python-authkit-$(DEB_UPSTREAM_VERSION);\ + rm -rf python-authkit-$(DEB_UPSTREAM_VERSION) ; fi + +.PHONY: build clean binary-indep binary-arch install + --- python-authkit-0.4.3.orig/debian/watch +++ python-authkit-0.4.3/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://pypi.python.org/packages/source/A/AuthKit/AuthKit-(.*)\.tar\.gz --- python-authkit-0.4.3.orig/debian/patches/egginfo-elementtree.dpatch +++ python-authkit-0.4.3/debian/patches/egginfo-elementtree.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## egginfo-elementtree.dpatch by Jan Dittberner +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Debian uses Python 2.5 which includes elementtree + +@DPATCH@ +diff -urNad python-authkit~/AuthKit.egg-info/requires.txt python-authkit/AuthKit.egg-info/requires.txt +--- python-authkit~/AuthKit.egg-info/requires.txt 2008-12-16 14:39:08.000000000 +0100 ++++ python-authkit/AuthKit.egg-info/requires.txt 2008-12-31 18:25:28.000000000 +0100 +@@ -3,7 +3,6 @@ + PasteDeploy>=1.1 + PasteScript>=1.1 + python-openid>=2.1.1 +-elementtree>=1.2,<=1.3 + Beaker>=0.7.3 + decorator>=2.1.0 + WebOb>=0.9.3 --- python-authkit-0.4.3.orig/debian/patches/00list +++ python-authkit-0.4.3/debian/patches/00list @@ -0,0 +1,3 @@ +egginfo-elementtree.dpatch +setuppy-elementtree.dpatch +ezsetup-python-path.dpatch --- python-authkit-0.4.3.orig/debian/patches/ezsetup-python-path.dpatch +++ python-authkit-0.4.3/debian/patches/ezsetup-python-path.dpatch @@ -0,0 +1,16 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## ezsetup-python-path.dpatch by Christoph Haas +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Lintian complains about python path not being absolute + +@DPATCH@ +diff -urNad python-authkit_0.4.0~r95~/authkit/template/authenticate/ez_setup/__init__.py python-authkit_0.4.0~r95/authkit/template/authenticate/ez_setup/__init__.py +--- python-authkit_0.4.0~r95~/authkit/template/authenticate/ez_setup/__init__.py 2007-07-17 00:30:21.000000000 +0200 ++++ python-authkit_0.4.0~r95/authkit/template/authenticate/ez_setup/__init__.py 2007-07-26 00:01:02.000000000 +0200 +@@ -1,4 +1,4 @@ +-#!python ++#!/usr/bin/env python + """Bootstrap setuptools installation + + If you want to use setuptools in your package's setup.py, just include this --- python-authkit-0.4.3.orig/debian/patches/setuppy-elementtree.dpatch +++ python-authkit-0.4.3/debian/patches/setuppy-elementtree.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## egginfo-elementtree.dpatch by Jan Dittberner +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Debian uses Python 2.5 which includes elementtree + +@DPATCH@ +diff -urNad python-authkit~/setup.py python-authkit/setup.py +--- python-authkit~/setup.py 2008-12-16 14:37:58.000000000 +0100 ++++ python-authkit/setup.py 2008-12-31 18:33:08.000000000 +0100 +@@ -39,7 +39,7 @@ + install_requires = [ + "Paste>=1.4", "nose>=0.9.2", "PasteDeploy>=1.1", + "PasteScript>=1.1", "python-openid>=2.1.1", +- "elementtree>=1.2,<=1.3", "Beaker>=0.7.3", "decorator>=2.1.0", ++ "Beaker>=0.7.3", "decorator>=2.1.0", + "WebOb>=0.9.3", + ], + extras_require = { --- python-authkit-0.4.3.orig/debian/lintian-overrides/python-authkit +++ python-authkit-0.4.3/debian/lintian-overrides/python-authkit @@ -0,0 +1,2 @@ +python-authkit: extra-license-file usr/share/pyshared/authkit/template/authenticate/docs/license.txt_tmpl +