From: Kevin Rosenberg Date: Wed, 12 Aug 2009 17:39:04 +0000 (-0600) Subject: Port to using debhelper 7, dh-lisp X-Git-Url: http://git.kpe.io/?p=rt.git;a=commitdiff_plain;h=fa11ae57426f002bd61a458ff3f5997112266f11 Port to using debhelper 7, dh-lisp --- diff --git a/debian/changelog b/debian/changelog index 0310811..e345b20 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,42 @@ +cl-rt (20040621-4.1) unstable; urgency=low + + * Non-maintainer patch sent to package Maintainer (not NMU) + * debian/rules + - Simplified rules to a minimum + - Now uses dh_lisp + - Ported to Debhelper 7 + * debian/compat + - Change to version 7 + * debian/control + - Add dh-lisp to Build-Depends-Indep + - Remove unneccesary ${shlibs:Depends}. Added ${misc:Depends} + - Updated standards-version (no other changes) + * debian/prerm, debian/postinst + - Removed as now taken care of by dh_lisp + * debian/watch + - New file explaining that there is no versioned upstream source + + -- Kevin M. Rosenberg Wed, 12 Aug 2009 11:30:00 -0600 + +cl-rt (20040621-3) unstable; urgency=low + + * Changed to group maintanance + * Added Vcs-Git control field + * Added homepage field + * Updated standard version without real changes + * swap binary-indep and binary-arch + * debhelper is Build-Depends + + -- Peter Van Eynde Sun, 24 Feb 2008 13:59:11 +0100 + +cl-rt (20040621-2) unstable; urgency=low + + * New maintainer. (Closes: #297406: O: cl-rt -- Common Lisp regression + tester from MIT) + * Adopted by Peter Van Eynde + + -- Peter Van Eynde Tue, 1 Mar 2005 10:19:40 +0100 + cl-rt (20040621-1) unstable; urgency=low * New upstream from Paul Dietz's ansi-tests diff --git a/debian/compat b/debian/compat index b8626c4..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -4 +7 diff --git a/debian/control b/debian/control index 6bc01fd..e68208c 100644 --- a/debian/control +++ b/debian/control @@ -1,16 +1,19 @@ Source: cl-rt Section: devel Priority: optional -Maintainer: Kevin M. Rosenberg -Build-Depends-Indep: debhelper (>= 4.0.0) -Standards-Version: 3.6.1.0 +Maintainer: Debian Common Lisp Team +Uploaders: Peter Van Eynde +Build-Depends-Indep: dh-lisp +Build-Depends: debhelper (>= 7.0.0) +Standards-Version: 3.8.2.0 +Homepage: http://www-2.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/lisp/code/testing/rt/ +Vcs-Git: http://git.debian.org/git/pkg-common-lisp/cl-rt.git Package: cl-rt Architecture: all -Depends: ${shlibs:Depends}, common-lisp-controller (>= 3.37) +Depends: ${misc:Depends} Description: Common Lisp regression tester from MIT This is MIT's regression tester for Common Lisp programs. It provides a framework for writing regression tests for Common Lisp packages. This package includes Paul Dietz's modifications to the original MIT release. - diff --git a/debian/postinst b/debian/postinst deleted file mode 100755 index dfd5505..0000000 --- a/debian/postinst +++ /dev/null @@ -1,48 +0,0 @@ -#! /bin/sh -# postinst script for cl-rt -# -# see: dh_installdeb(1) - -set -e - -# package name according to lisp -LISP_PKG=rt - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# -# quoting from the policy: -# Any necessary prompting should almost always be confined to the -# post-installation script, and should be protected with a conditional -# so that unnecessary prompting doesn't happen if a package's -# installation fails and the `postinst' is called with `abort-upgrade', -# `abort-remove' or `abort-deconfigure'. - -case "$1" in - configure) - /usr/sbin/register-common-lisp-source ${LISP_PKG} - ;; - abort-upgrade|abort-remove|abort-deconfigure) - ;; - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff --git a/debian/prerm b/debian/prerm deleted file mode 100755 index ce60e28..0000000 --- a/debian/prerm +++ /dev/null @@ -1,42 +0,0 @@ -#! /bin/sh -# prerm script for cl-rt -# -# see: dh_installdeb(1) - -set -e - -# package name according to lisp -LISP_PKG=rt - -# summary of how this script can be called: -# * `remove' -# * `upgrade' -# * `failed-upgrade' -# * `remove' `in-favour' -# * `deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - remove|upgrade|deconfigure) - /usr/sbin/unregister-common-lisp-source ${LISP_PKG} - ;; - failed-upgrade) - ;; - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff --git a/debian/rules b/debian/rules index ea99d99..12e4000 100755 --- a/debian/rules +++ b/debian/rules @@ -1,68 +1,43 @@ #!/usr/bin/make -f -pkg := rt -debpkg := cl-rt - +pkg := rt +debpkg := cl-rt clc-source := usr/share/common-lisp/source -clc-systems := usr/share/common-lisp/systems -clc-rt := $(clc-source)/$(pkg) - -doc-dir := usr/share/doc/$(debpkg) - - -configure: configure-stamp -configure-stamp: - dh_testdir - # Add here commands to configure the package. +clc-files := $(clc-source)/$(pkg) - touch configure-stamp - -build: build-stamp - -build-stamp: configure-stamp - dh_testdir - # Add here commands to compile the package. - touch build-stamp +build: clean: dh_testdir dh_testroot - rm -f build-stamp configure-stamp - # Add here commands to clean up after the build process. - rm -f debian/cl-rt.postinst.* debian/cl-rt.prerm.* dh_clean install: build dh_testdir dh_testroot - dh_clean -k - # Add here commands to install the package into debian/rt. - dh_installdirs $(clc-systems) $(clc-rt) - dh_install rt.asd rt.lisp $(clc-rt) - dh_link $(clc-rt)/rt.asd $(clc-systems)/rt.asd + dh_prep + dh_installdirs + dh_install $(pkg).asd $(pkg).lisp $(clc-files) -# Build architecture-independent files here. -binary-indep: build install +binary-arch: - -# Build architecture-dependent files here. -binary-arch: build install +binary-indep: install dh_testdir dh_testroot dh_installdocs rt-doc.txt dh_installexamples rt-test.lisp dh_installchangelogs - dh_strip + dh_lisp dh_compress dh_fixperms 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 +binary: binary-indep + +.PHONY: build clean binary-indep binary-arch binary install