r3143: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 22 Oct 2002 18:33:34 +0000 (18:33 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 22 Oct 2002 18:33:34 +0000 (18:33 +0000)
debian/README.Debian [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/postinst [new file with mode: 0755]
debian/prerm [new file with mode: 0755]
debian/rules [new file with mode: 0755]
debian/xptest.asd [new file with mode: 0644]

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..a777361
--- /dev/null
@@ -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 (file)
index 0000000..c14b3e3
--- /dev/null
@@ -0,0 +1,5 @@
+cl-xptest (1.0-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Tue, 22 Oct 2002 12:29:40 -0600
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..b447ecf
--- /dev/null
@@ -0,0 +1,18 @@
+Source: cl-xptest
+Section: devel
+Priority: optional
+Maintainer: Kevin M. Rosenberg <kmr@debian.org>
+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 (file)
index 0000000..d81e9d4
--- /dev/null
@@ -0,0 +1,23 @@
+This package was debianized by Kevin M. Rosenberg <kmr@debian.org> 
+Oct 2002.
+
+It was downloaded from http://alpha.onshore-devel.com/lisp-software/
+
+Upstream Authors:
+  xptest is maintained by Craig Brozefsky <craig@red-bean.com>.  Any bug
+  reports, comments, or patches can be sent to him.
+  Others who have contributed:
+    Lyn Headley <lyn@onshore.com>
+    Stig Erik Sandoe <stig@ii.uib.no>
+
+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<craig@red-bean.com>.
+
+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 (file)
index 0000000..151b8ff
--- /dev/null
@@ -0,0 +1,2 @@
+README
+debian/README.Debian
diff --git a/debian/postinst b/debian/postinst
new file mode 100755 (executable)
index 0000000..b751fc1
--- /dev/null
@@ -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:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# 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 (executable)
index 0000000..c0ace70
--- /dev/null
@@ -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:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# 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 (executable)
index 0000000..0f5ea33
--- /dev/null
@@ -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 (file)
index 0000000..a95da58
--- /dev/null
@@ -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 <kmr@debian.org>"
+  :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*)))
+