--- urlgrabber-2.9.9.orig/debian/changelog +++ urlgrabber-2.9.9/debian/changelog @@ -0,0 +1,36 @@ +urlgrabber (2.9.9-1build1) edgy; urgency=low + + * Rebuild to add support for python2.5. + + -- Matthias Klose Fri, 8 Sep 2006 18:28:35 +0000 + +urlgrabber (2.9.9-1) unstable; urgency=low + + * New upstream release + * Apply Ana Beatriz Guerrero Lopez's patch to + * Update to new Python policy (Closes: #373402) + * Switch to standards version 3.7.2 + * Update to debhelper compat level 5 + * Thanks Ana! + + -- Anand Kumria Thu, 6 Jul 2006 09:16:37 +1000 + +urlgrabber (2.9.7-2) unstable; urgency=low + + * When I imported urlgrabber into bzr, I somehow lost a Build-Dep: on + python. Re-adding it so I can (Closes: #335340) + + -- Anand Kumria Sat, 31 Dec 2005 15:34:22 +1100 + +urlgrabber (2.9.7-1) unstable; urgency=low + + * New upstream release (Closes: #344934) + + -- Anand Kumria Sat, 31 Dec 2005 15:34:22 +1100 + +urlgrabber (2.9.6-1) unstable; urgency=low + + * Initial release (Closes: #312698) + + -- Anand Kumria Sun, 9 Oct 2005 13:06:55 +1000 + --- urlgrabber-2.9.9.orig/debian/compat +++ urlgrabber-2.9.9/debian/compat @@ -0,0 +1 @@ +5 --- urlgrabber-2.9.9.orig/debian/control +++ urlgrabber-2.9.9/debian/control @@ -0,0 +1,23 @@ +Source: urlgrabber +Section: python +Priority: optional +Maintainer: Anand Kumria +Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python-support (>= 0.3) +Standards-Version: 3.7.2 + +Package: python-urlgrabber +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} +Provides: ${python:Provides} +XB-Python-Version: ${python:Version} +Description: A high-level cross-protocol url-grabber. + Python urlgrabber drastically simplifies the fetching of files. It is + designed to be used in programs that need common (but not necessarily + simple) url-fetching features. + . + It supports identical behavior for http://, ftp:// and file:/// URIs, + HTTP keepalive, byte ranges, regets, progress meters, throttling, retries, + access to authenticated http / ftp servers and proxies and the ability + to treat a list of mirrors as a single source automatically switching + mirrors if there is a failure. + . --- urlgrabber-2.9.9.orig/debian/copyright +++ urlgrabber-2.9.9/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by Anand Kumria on +Sun, 9 Oct 2005 13:06:55 +1000. + +It was downloaded from + +Copyright Holder: + Michael D. Stenner + Ryan Tomayko + +License: + +python-urlgrabber is released under the terms of the GNU Lesser General +Licence (LGPL) a copy of which may be found in /usr/share/common-licenses/LGPL --- urlgrabber-2.9.9.orig/debian/dirs +++ urlgrabber-2.9.9/debian/dirs @@ -0,0 +1 @@ +usr/bin --- urlgrabber-2.9.9.orig/debian/docs +++ urlgrabber-2.9.9/debian/docs @@ -0,0 +1 @@ +TODO --- urlgrabber-2.9.9.orig/debian/rules +++ urlgrabber-2.9.9/debian/rules @@ -0,0 +1,112 @@ +#!/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. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +PYVERS = $(shell pyversions -r) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + #$(MAKE) + for py in $(PYVERS); do \ + $$py setup.py build; \ + $$py test/runtests.py; \ + done + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + #-$(MAKE) clean + for py in $(PYVERS); do \ + $$py setup.py clean; \ + done + python setup.py clean + find $(CURDIR) -name "*.pyc" -exec rm -f '{}' \; + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/urlgrabber. + #$(MAKE) install DESTDIR=$(CURDIR)/debian/urlgrabber + for py in $(PYVERS); do \ + $$py setup.py install --root=$(CURDIR)/debian/python-urlgrabber; \ + done + + rm -rf $(CURDIR)/debian/python-urlgrabber/usr/share/doc/urlgrabber-2.9.6 + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl + dh_pysupport + dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- urlgrabber-2.9.9.orig/debian/pycompat +++ urlgrabber-2.9.9/debian/pycompat @@ -0,0 +1 @@ +2