--- python-scriptutil-1.orig/debian/changelog +++ python-scriptutil-1/debian/changelog @@ -0,0 +1,13 @@ +python-scriptutil (1-2) unstable; urgency=medium + + * QA upload. + - Set Maintainer to Debian QA Group. + * Convert to dh_python2 (Closes: #786057). + + -- Luca Falavigna Sat, 06 Jun 2015 14:06:16 +0200 + +python-scriptutil (1-1) unstable; urgency=low + + * Initial Debian Package (Closes: #489587) + + -- Matthew Johnson Sun, 13 Jul 2008 18:54:44 +0100 --- python-scriptutil-1.orig/debian/compat +++ python-scriptutil-1/debian/compat @@ -0,0 +1 @@ +5 --- python-scriptutil-1.orig/debian/control +++ python-scriptutil-1/debian/control @@ -0,0 +1,15 @@ +Source: python-scriptutil +Section: python +Priority: optional +Maintainer: Debian QA Group +Build-Depends: debhelper (>= 5), python (>= 2.6.6-3~) +Build-Depends-Indep: dh-python +Standards-Version: 3.7.3 + +Package: python-scriptutil +Architecture: all +Depends: ${python:Depends} +Description: Python module which provides the functionality of find and grep + This package contains a python module which provides a recursive find + on the filesystem and searching within those files. + --- python-scriptutil-1.orig/debian/copyright +++ python-scriptutil-1/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Matthew Johnson on +Sun 6th July 2008. + +The source was downloaded from http://hrnjad.net/src/7/scriptutil.py + +Copyright (c) 2007, Muharem Hrnjadovic + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Muharem Hrnjadovic nor the names of other + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The packaging is Copyright 2008 Matthew Johnson and is licenced under the BSD +licence which on Debian systems can be found at /usr/share/common-licenses/BSD. --- python-scriptutil-1.orig/debian/rules +++ python-scriptutil-1/debian/rules @@ -0,0 +1,50 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +VERSION := $(shell dpkg-parsechangelog | grep '^Version: ' | awk '{print $$2}') +PYTHONS := $(shell pyversions -vr debian/control) + +build: build-stamp +build-stamp: + dh_testdir + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean + dh_installdirs -i + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs -i + dh_installdocs -i + for pyvers in ${PYTHONS}; do \ + dh_install -i scriptutil.py usr/lib/python$$pyvers/dist-packages; \ + done + dh_compress -i + dh_fixperms -i + dh_python2 -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install