--- argvalidate-0.9.0.orig/debian/copyright +++ argvalidate-0.9.0/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Stephan Peijnik on +Tue, 24 Feb 2009 09:22:11 +0100. + +It was downloaded from + +Upstream Author: + + Stephan Peijnik + +Copyright: + + Copyright (C) 2009 Stephan Peijnik + +License: + + This program 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. + + 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL-3'. + +The Debian packaging is Copyright © 2009, Stephan Peijnik +and is licensed under the LGPL, see above. + --- argvalidate-0.9.0.orig/debian/compat +++ argvalidate-0.9.0/debian/compat @@ -0,0 +1 @@ +5 --- argvalidate-0.9.0.orig/debian/watch +++ argvalidate-0.9.0/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://pypi.python.org/packages/source/a/argvalidate/argvalidate-(.*)\.tar.gz --- argvalidate-0.9.0.orig/debian/changelog +++ argvalidate-0.9.0/debian/changelog @@ -0,0 +1,28 @@ +argvalidate (0.9.0-1) unstable; urgency=low + + * New upstream release. + * debian/control: + + Updated Homepage field. + + Bumped Standards-Version to 3.8.1, no modifications required. + + Added python (>= 2.5.4-1~) to Build-Depends (for --install-layout=deb). + + * debian/watch: + + Added final newline. + + * debian/rules: + + Added --install-layout=deb option to python setup.py install call. + + -- Stephan Peijnik Sat, 28 Mar 2009 16:57:18 +0100 + +argvalidate (0.8.2-1) unstable; urgency=low + + * New upstream release. + + -- Stephan Peijnik Thu, 26 Feb 2009 10:11:35 +0100 + +argvalidate (0.8.1-1) unstable; urgency=low + + * Initial release (Closes: #516880) + + -- Stephan Peijnik Wed, 25 Feb 2009 12:13:14 +0100 + --- argvalidate-0.9.0.orig/debian/rules +++ argvalidate-0.9.0/debian/rules @@ -0,0 +1,61 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p') +PKG_BUILD_DIR=$(CURDIR)/debian/python-argvalidate +PKG_DOC_DIR=$(PKG_BUILD_DIR)/usr/share/doc/python-argvalidate + +clean: + dh_testdir + dh_testroot + rm -rf build + make -C doc clean + find . -name "*\.py[co]" -delete + dh_clean + +test: +ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) + python setup.py test +endif + +build: + python setup.py build + make -C doc html + +install: + python setup.py install --root $(PKG_BUILD_DIR) \ + --install-layout=deb \ + --single-version-externally-managed + +binary-arch: + +binary-indep: test build install + dh_testdir + dh_testroot + dh_install + dh_installchangelogs + dh_installdocs + + # Replace jquery.js provided by package with symlink to system + # jquery.js provided by libjs-jquery. + rm $(PKG_DOC_DIR)/html/_static/jquery.js + dh_link usr/share/javascript/jquery/jquery.js \ + usr/share/doc/python-argvalidate/html/_static/jquery.js + + dh_pysupport + dh_compress -X.py -X.json -X.html -X.js + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +get-orig-source: + uscan --force-download --rename --repack --destdir=. \ + --download-version=$(DEB_UPSTREAM_VERSION) + +.PHONY: build clean binary-indep binary-arch install test --- argvalidate-0.9.0.orig/debian/docs +++ argvalidate-0.9.0/debian/docs @@ -0,0 +1 @@ +doc/_build/html/ --- argvalidate-0.9.0.orig/debian/control +++ argvalidate-0.9.0/debian/control @@ -0,0 +1,19 @@ +Source: argvalidate +Section: python +Priority: optional +Maintainer: Debian Python Modules Team +Uploaders: Stephan Peijnik +Build-Depends: debhelper (>= 5), python (>= 2.5.4-1~) +Build-Depends-Indep: python-support (>= 0.6), python-setuptools, python-sphinx +Standards-Version: 3.8.1 +Homepage: http://code.sp-its.at/projects/argvalidate +Vcs-Svn: svn://svn.debian.org/python-modules/packages/argvalidate/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/argvalidate/trunk/ + +Package: python-argvalidate +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Suggests: libjs-jquery +Description: simple argument validator library + python-argvalidate provides developers with a simple way of doing + type-checking for both Python functions and methods.