From: Kevin Rosenberg Date: Sun, 2 Aug 2009 02:14:54 +0000 (-0600) Subject: Updates for new debian standards X-Git-Tag: v0.6.3^0 X-Git-Url: http://git.kpe.io/?p=xlunit.git;a=commitdiff_plain;h=064f9491744e1c746a9164886cb9000463ba458f Updates for new debian standards --- diff --git a/README b/README index 7fceecb..136ca51 100644 --- a/README +++ b/README @@ -6,5 +6,3 @@ on the 3 similar packages: XLUnit comes with its own test suite (tests.lisp) along with an example file (example.lisp). - - diff --git a/debian/changelog b/debian/changelog index feeb0c2..dc1a5f6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +cl-xlunit (0.6.3-1) unstable; urgency=low + + * New upstream + * debian/watch: New file + * debian/control: Require debhelper 7. Change to new lisp section. + Add Vcs-Git and Homepage fields. + * debian/rules: Update for DH7, architecture-independent build + * debian/{prerm,postrm}: Remove path from binary function + + -- Kevin M. Rosenberg Sat, 01 Aug 2009 20:13:35 -0600 + cl-xlunit (0.6.2-2) unstable; urgency=low * debian/control: Use build-depends, update standards-version 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 d96451e..a9601a6 100644 --- a/debian/control +++ b/debian/control @@ -1,16 +1,18 @@ Source: cl-xlunit -Section: devel +Section: lisp Priority: optional Maintainer: Kevin M. Rosenberg -Build-Depends: debhelper (>> 4.0.0) -Standards-Version: 3.7.2.2 +Build-Depends: debhelper (>> 7.0.0) +Standards-Version: 3.8.2.0 +Vcs-Git: git://git.b9.com/xlunit.git +Homepage: http://files.b9.com/xlunit/ Package: cl-xlunit Architecture: all -Depends: ${shlibs:Depends}, common-lisp-controller (>= 3.37) +Depends: common-lisp-controller (>= 3.37) Description: Common Lisp eXtreme Lisp Unit Testing Package XLUnit provides a unit testing package for Common Lisp. - It it based on the XPTest package by OnShore development, but is + It is based on the XPTest package by OnShore development, but is rewritten to be closer in usage to the JUnit package. Also, it is designed to be used with significantly less overhead on the part of the test author compared to XPTest. diff --git a/debian/postinst b/debian/postinst index 32f3d9d..8e4e7e3 100644 --- a/debian/postinst +++ b/debian/postinst @@ -3,27 +3,9 @@ set -e LISP_PKG=xlunit -# 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} + register-common-lisp-source ${LISP_PKG} ;; @@ -37,9 +19,6 @@ case "$1" in ;; 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 index 2603546..d65de45 100644 --- a/debian/prerm +++ b/debian/prerm @@ -3,21 +3,9 @@ set -e LISP_PKG=xlunit -# 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} + unregister-common-lisp-source ${LISP_PKG} ;; failed-upgrade) ;; @@ -27,9 +15,6 @@ case "$1" in ;; 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 23f8e04..40bb380 100755 --- a/debian/rules +++ b/debian/rules @@ -6,14 +6,11 @@ debpkg := cl-xlunit clc-source := usr/share/common-lisp/source clc-systems := usr/share/common-lisp/systems clc-xlunit := $(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 @@ -21,58 +18,38 @@ 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-xlunit.postinst.* debian/cl-xlunit.prerm.* dh_clean install: build dh_testdir dh_testroot - dh_clean -k - # Add here commands to install the package into debian/xlunit. + dh_prep dh_installdirs $(clc-systems) $(clc-xlunit) $(doc-dir) dh_install xlunit.asd $(shell echo *.lisp) $(clc-xlunit) dh_link $(clc-xlunit)/xlunit.asd $(clc-systems)/xlunit.asd -# Build architecture-independent files here. binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installdocs -i + dh_installexamples -i 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 - -# Build architecture-dependent files here. binary-arch: build install - dh_testdir - dh_testroot -# dh_installdebconf - dh_installdocs - dh_installexamples example.lisp -# dh_installmenu -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installman -# dh_installinfo -# dh_undocumented - dh_installchangelogs - dh_strip - dh_compress - dh_fixperms -# dh_makeshlibs - dh_installdeb -# dh_perl - 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/watch b/debian/watch new file mode 100644 index 0000000..8e6b40d --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://files.b9.com/xlunit/xlunit-(\d+.*)\.tar\.gz