From dc82c94d3f74f47e18fbc7f2bcb6b617fe19caeb Mon Sep 17 00:00:00 2001 From: Kevin Rosenberg Date: Mon, 3 Aug 2009 20:37:39 -0600 Subject: [PATCH] Convert to dh-lisp; add Vcs-Browser --- debian/changelog | 7 ++++++ debian/control | 7 +++--- debian/postinst | 22 ------------------ debian/prerm | 23 ------------------- debian/rules | 60 +++++++++++++++++++----------------------------- 5 files changed, 34 insertions(+), 85 deletions(-) delete mode 100755 debian/postinst delete mode 100755 debian/prerm diff --git a/debian/changelog b/debian/changelog index bde1418..ba5f76e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +cl-xptest (1.2.4-2) unstable; urgency=low + + * Build with debhelper extension dh-lisp + * control: Add Vcs-Browser field. Fix Depends field. + + -- Kevin M. Rosenberg Mon, 03 Aug 2009 20:36:52 -0600 + cl-xptest (1.2.4-1) unstable; urgency=low * add watch file diff --git a/debian/control b/debian/control index e585ed0..cc37f75 100644 --- a/debian/control +++ b/debian/control @@ -2,18 +2,17 @@ Source: cl-xptest Section: lisp Priority: optional Maintainer: Kevin M. Rosenberg +Build-Depends-Indep: dh-lisp Build-Depends: debhelper (>= 7.0.0) Standards-Version: 3.8.2.0 Vcs-Git: git://git.b9.com/xptest.git +Vcs-Browser: http://git.b9.com/?p=xptest.git Package: cl-xptest Architecture: all -Depends: common-lisp-controller (>= 3.37) +Depends: ${misc:Depends} Description: Extreme programming test suite for Common Lisp package xptest is the test suite written by onShore Development. It is toolkit for building test suites, very much inspired by the test frameworks that the Extreme Programming crew made available for Smalltalk an other languages. - - - diff --git a/debian/postinst b/debian/postinst deleted file mode 100755 index 740e2fd..0000000 --- a/debian/postinst +++ /dev/null @@ -1,22 +0,0 @@ -#! /bin/sh -set -e - -LISP_PKG=xptest - -case "$1" in - configure) - register-common-lisp-source ${LISP_PKG} - ;; - abort-upgrade|abort-remove|abort-deconfigure) - ;; - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -#DEBHELPER# - -exit 0 - - diff --git a/debian/prerm b/debian/prerm deleted file mode 100755 index 8badc25..0000000 --- a/debian/prerm +++ /dev/null @@ -1,23 +0,0 @@ -#! /bin/sh -set -e - -LISP_PKG=xptest - - -case "$1" in - remove|upgrade|deconfigure) - unregister-common-lisp-source ${LISP_PKG} - ;; - failed-upgrade) - ;; - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -#DEBHELPER# - -exit 0 - - diff --git a/debian/rules b/debian/rules index 56593b2..7ac0347 100755 --- a/debian/rules +++ b/debian/rules @@ -1,56 +1,44 @@ #!/usr/bin/make -f -pkg := xptest -debpkg := cl-xptest +pkg := xptest +debpkg := cl-xptest clc-source := usr/share/common-lisp/source clc-systems := usr/share/common-lisp/systems -clc-xptest := $(clc-source)/$(pkg) -doc-dir := usr/share/doc/$(debpkg) - -configure: configure-stamp -configure-stamp: - dh_testdir - touch configure-stamp +clc-files := $(clc-source)/$(pkg) -build: build-stamp - -build-stamp: configure-stamp - dh_testdir - touch build-stamp +build: clean: dh_testdir dh_testroot - rm -f build-stamp configure-stamp - rm -f debian/cl-xptest.postinst.* debian/cl-xptest.prerm.* dh_clean install: build dh_testdir dh_testroot dh_prep - dh_installdirs $(clc-systems) $(clc-xptest) - dh_install xptest.asd xptestsuite.lisp $(clc-xptest) - dh_link $(clc-xptest)/xptest.asd $(clc-systems)/xptest.asd + dh_installdirs + dh_install $(pkg).asd xptestsuite.lisp $(clc-files) binary-indep: build install - dh_testdir -i - dh_testroot -i - dh_installdocs -i - dh_installexamples -i xptest-example.lisp - dh_installchangelogs -i - dh_strip -i - dh_compress -i - dh_fixperms -i - dh_installdeb -i - dh_gencontrol -i - dh_md5sums -i - dh_builddeb -i - -binary-arch: build install - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples xptest-example.lisp + dh_installchangelogs + dh_lisp + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: + +binary: binary-indep + +.PHONY: build clean binary-indep binary-arch binary install -- 2.34.1