From 54c48f20605491e59156dac9490d1da04afe2b50 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Tue, 22 Oct 2002 18:33:34 +0000 Subject: [PATCH] r3143: *** empty log message *** --- debian/README.Debian | 6 ++++ debian/changelog | 5 ++++ debian/control | 18 ++++++++++++ debian/copyright | 23 +++++++++++++++ debian/docs | 2 ++ debian/postinst | 48 ++++++++++++++++++++++++++++++ debian/prerm | 42 ++++++++++++++++++++++++++ debian/rules | 70 ++++++++++++++++++++++++++++++++++++++++++++ debian/xptest.asd | 35 ++++++++++++++++++++++ 9 files changed, 249 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100755 debian/postinst create mode 100755 debian/prerm create mode 100755 debian/rules create mode 100644 debian/xptest.asd diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..a777361 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +To use this package in Debian, execute + +(require 'xptest) + +in your Lisp environment. + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..c14b3e3 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +cl-xptest (1.0-1) unstable; urgency=low + + * Initial release + + -- Kevin M. Rosenberg Tue, 22 Oct 2002 12:29:40 -0600 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..b447ecf --- /dev/null +++ b/debian/control @@ -0,0 +1,18 @@ +Source: cl-xptest +Section: devel +Priority: optional +Maintainer: Kevin M. Rosenberg +Build-Depends-Indep: debhelper (>= 4.0.0) +Standards-Version: 3.5.7.0 + +Package: cl-xptest +Architecture: all +Depends: ${shlibs:Depends}, common-lisp-controller (>= 3.37) +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/copyright b/debian/copyright new file mode 100644 index 0000000..d81e9d4 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,23 @@ +This package was debianized by Kevin M. Rosenberg +Oct 2002. + +It was downloaded from http://alpha.onshore-devel.com/lisp-software/ + +Upstream Authors: + xptest is maintained by Craig Brozefsky . Any bug + reports, comments, or patches can be sent to him. + Others who have contributed: + Lyn Headley + Stig Erik Sandoe + +Changes compared to upstream: + - Added .asd file for use with Common Lisp Controller + - Add package file compatible with AllegroCL case-sensitive mode + +Upstream Copyright Statement: + +This code has been put into the public domain by onShore Development +Inc, and it's primary author Craig Brozefsky. + +However, we would appreciate it if improvements and modifications were +contributed back to the project so that everyone can share in them. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..151b8ff --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README +debian/README.Debian diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..b751fc1 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,48 @@ +#! /bin/sh +# postinst script for cl-xptest +# +# see: dh_installdeb(1) + +set -e + +# package name according to lisp +LISP_PKG=xptest + +# 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 new file mode 100755 index 0000000..c0ace70 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,42 @@ +#! /bin/sh +# prerm script for cl-xptest +# +# see: dh_installdeb(1) + +set -e + +# package name according to lisp +LISP_PKG=xptest + +# 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 new file mode 100755 index 0000000..0f5ea33 --- /dev/null +++ b/debian/rules @@ -0,0 +1,70 @@ +#!/usr/bin/make -f + +export DH_COMPAT=4 + +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 + # 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. + touch build-stamp + +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-xptest.postinst.* debian/cl-xptest.prerm.* + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + # Add here commands to install the package into debian/xptest. + dh_installdirs $(clc-systems) $(clc-xptest) + dh_install debian/xptest.asd package.lisp xptestsuite.lisp $(clc-xptest) + dh_link $(clc-xptest)/xptest.asd $(clc-systems)/xptest.asd + +# Build architecture-independent files here. +binary-indep: build install + + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples xptest-example.lisp + dh_installchangelogs + dh_strip + 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 + diff --git a/debian/xptest.asd b/debian/xptest.asd new file mode 100644 index 0000000..a95da58 --- /dev/null +++ b/debian/xptest.asd @@ -0,0 +1,35 @@ +;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*- +;;;; ************************************************************************* +;;;; FILE IDENTIFICATION +;;;; +;;;; Name: xptest.asd +;;;; Purpose: ASDF definition file for Xptest +;;;; Programmer: Kevin M. Rosenberg +;;;; Date Started: Sep 2002 +;;;; +;;;; $Id: xptest.asd,v 1.1 2002/10/22 18:31:30 kevin Exp $ +;;;; ************************************************************************* + +(in-package :asdf) + +(defsystem :xptest + :name "cl-xptest" + :author "Craig Brozensky" + :version "2002.10.21" + :maintainer "Kevin M. Rosenberg " + :licence "Public domain" + :description "Extreme Programming Testing Suite" + :long-description "The XPTEST package 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." + + :perform (load-op :after (op xptest) + (pushnew :xptest cl:*features*)) + + :components + ((:file "package") + (:file "xptestsuite" :depends-on ("package")))) + +(when (ignore-errors (find-class 'load-compiled-op)) + (defmethod perform :after ((op load-compiled-op) + (c (eql (find-system :xptest)))) + (pushnew :xptest cl:*features*))) + -- 2.34.1