--- python-wadllib-0.1~bzr6.orig/setup.py +++ python-wadllib-0.1~bzr6/setup.py @@ -26,10 +26,10 @@ install_requires = [ 'simplejson', ], - setup_requires = [ - 'setuptools_bzr', - ] - , + #setup_requires = [ + # 'setuptools_bzr', + # ] + #, license='LGPL 3 or later', extras_require = { 'nose': ['nose'], --- python-wadllib-0.1~bzr6.orig/debian/changelog +++ python-wadllib-0.1~bzr6/debian/changelog @@ -0,0 +1,20 @@ +python-wadllib (0.1~bzr6-0ubuntu2) intrepid; urgency=low + + * Add "python-celementtree | python-elementtree" to Depends and + Build-Depends-Indep, for python2.4. The code will optimistically import + the former, but fall back to the latter. They aren't needed on python2.5, + as it first tries to import the module built in to that version, so these + can be dropped again when python2.4 is removed from the archive. Thanks + to Colin Watson. + + -- James Westby Thu, 16 Oct 2008 12:13:23 +0100 + +python-wadllib (0.1~bzr6-0ubuntu1) intrepid; urgency=low + + * Initial release (LP: #254613) + * Disable setuptools_bzr in setup.py, as we are building from a tarball, + and so the detection of version controlled data files fails, meaning + that important files are not included in the package. + + -- James Westby Mon, 04 Aug 2008 12:37:47 +0100 + --- python-wadllib-0.1~bzr6.orig/debian/compat +++ python-wadllib-0.1~bzr6/debian/compat @@ -0,0 +1 @@ +6 --- python-wadllib-0.1~bzr6.orig/debian/control +++ python-wadllib-0.1~bzr6/debian/control @@ -0,0 +1,21 @@ +Source: python-wadllib +Section: python +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: James Westby +Build-Depends: debhelper (>= 6), python (>= 2.4), python-setuptools +Build-Depends-Indep: python-central (>= 0.5.6), python-nose, python-simplejson, python-celementtree | python-elementtree +Standards-Version: 3.8.0 +XS-Python-Version: >= 2.4 +Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-dev/wadllib/ubuntu +Vcs-Browser: http://bazaar.launchpad.net/~ubuntu-dev/wadllib/ubuntu/files +Homepage: https://launchpad.net/wadllib + +Package: python-wadllib +Architecture: all +XB-Python-Version: ${python:Versions} +Depends: ${python:Depends}, ${misc:Depends}, python-simplejson, python-celementtree | python-elementtree +Description: Python library for navigating WADL files + The Web Application Description Language (WADL) is an XML vocabulary for + describing the capabilities of HTTP resources. wadllib can be used in + conjunction with an HTTP library to navigate and manipulate those resources. --- python-wadllib-0.1~bzr6.orig/debian/copyright +++ python-wadllib-0.1~bzr6/debian/copyright @@ -0,0 +1,27 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=226 +Upstream-Name: wadllib +Upstream-Maintainer: Launchpad developers +Upstream-Source: + https://code.edge.launchpad.net/~launchpad-pqm/wadllib/devel +X-Debianised-By: James Westby + +Files: * +Copyright: Copyright 2008 Canonical Ltd. +License: LGPL-3+ + wadllib is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + . + wadllib 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 + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with wadllib. If not, see + . + . + On Debian-based systems the full text of the LGPL can be found at + /usr/share/common-licenses/LGPL. --- python-wadllib-0.1~bzr6.orig/debian/rules +++ python-wadllib-0.1~bzr6/debian/rules @@ -0,0 +1,48 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +build: build-stamp +build-stamp: + dh_testdir + python setup.py build + python setup.py test + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + python setup.py clean -a + rm -f setuptools_*.egg ez_setup.pyc + find wadllib/ -name "*.pyc" -delete + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + python setup.py install --root=$(CURDIR)/debian/python-wadllib + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_install + dh_pycentral + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install