Updates for new debian standards debian-2.1.3-3
authorKevin Rosenberg <kevin@rosenberg.net>
Sun, 2 Aug 2009 07:42:34 +0000 (01:42 -0600)
committerKevin Rosenberg <kevin@rosenberg.net>
Sun, 2 Aug 2009 07:42:34 +0000 (01:42 -0600)
debian/README.Debian
debian/changelog
debian/compat
debian/control
debian/copyright
debian/postinst
debian/prerm
debian/rules
debian/upload.sh
debian/watch [new file with mode: 0644]

index 138717d..841ad31 100644 (file)
@@ -1,6 +1,7 @@
 To use this package in Debian, execute
 
-(require 'pubmed) 
+(clc:require 'pubmed) 
 
 in your Lisp environment.
 
+ -- Kevin M. Rosenberg <kmr@debian.org>, Sun,  2 Aug 2009 01:42:14 -0600
index 507b10d..44481d3 100644 (file)
@@ -1,3 +1,14 @@
+cl-pubmed (2.1.3-3) unstable; urgency=low
+
+  * debian/watch: New file
+  * debian/control: Require debhelper 7. Change to new lisp section.
+  Add Vcs-Git and Homepage fields.
+  * debian/compat: Update to version 7
+  * debian/rules: Update for debhelper 7, architecture-independent build
+  * debian/{prerm,postrm}: Remove path from binary function
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sun, 02 Aug 2009 01:41:26 -0600
+
 cl-pubmed (2.1.3-2) unstable; urgency=low
 
   * debian/rules: don't export DH_COMPAT
index b8626c4..7f8f011 100644 (file)
@@ -1 +1 @@
-4
+7
index d96165e..61ae853 100644 (file)
@@ -1,13 +1,14 @@
 Source: cl-pubmed
-Section: devel
+Section: lisp
 Priority: optional
 Maintainer: Kevin M. Rosenberg <kmr@debian.org>
-Build-Depends: debhelper (>= 4.0.0)
-Standards-Version: 3.7.2.2
+Build-Depends: debhelper (>= 7.0.0)
+Standards-Version: 3.8.2.0
 
 Package: cl-pubmed
 Architecture: all
-Depends: ${shlibs:Depends}, common-lisp-controller (>= 3.37), cl-kmrcl, cl-aserve
+Depends: common-lisp-controller (>= 3.37), cl-kmrcl, cl-aserve
 Description: Common Lisp package to query Pubmed medical literature database
  This library has functions for querying the PubMed medical literature
- database and parsing the XML results into Common Lisp objects.
+ database and parsing the XML results into Common Lisp objects. This package
+ uses the cl-aserve for HTTP fetches.
index 3aede74..b4bd7ea 100644 (file)
@@ -12,4 +12,4 @@ under the terms of the version 2.1 of the GNU Lesser General Public
 License as published by the Free Software Foundation.
 
 The GNU Lessor General Public License can be found in your Debian file
-system in /usr/share/common-licenses/LGPL.
+system in /usr/share/common-licenses/LGPL-3.
index fbebe3f..a92cad6 100755 (executable)
@@ -1,34 +1,11 @@
 #! /bin/sh
-# postinst script for cl-pubmed
-#
-# see: dh_installdeb(1)
-
 set -e
 
-# package name according to lisp
 LISP_PKG=pubmed
 
-# 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}
+       register-common-lisp-source ${LISP_PKG}
        ;;
     abort-upgrade|abort-remove|abort-deconfigure)
        ;;
@@ -38,9 +15,6 @@ case "$1" in
        ;;
 esac
 
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
 #DEBHELPER#
 
 exit 0
index a5194d7..375b206 100755 (executable)
@@ -1,28 +1,11 @@
 #! /bin/sh
-# prerm script for cl-pubmed
-#
-# see: dh_installdeb(1)
-
 set -e
 
-# package name according to lisp
 LISP_PKG=pubmed
 
-# 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}
+       unregister-common-lisp-source ${LISP_PKG}
         ;;
     failed-upgrade)
         ;;
@@ -32,9 +15,6 @@ case "$1" in
     ;;
 esac
 
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
 #DEBHELPER#
 
 exit 0
index cf945d6..a21e6e8 100755 (executable)
@@ -6,60 +6,48 @@ debpkg  := cl-pubmed
 clc-source     := usr/share/common-lisp/source
 clc-systems    := usr/share/common-lisp/systems
 clc-pubmed     := $(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-pubmed.postinst.* debian/cl-pubmed.prerm.*
        dh_clean
 
 install: build
        dh_testdir
        dh_testroot
-       dh_clean -k
-       # Add here commands to install the package into debian/pubmed.
+       dh_prep
        dh_installdirs $(clc-systems) $(clc-pubmed)
        dh_install pubmed.asd $(shell echo *.lisp) $(clc-pubmed)
        dh_link $(clc-pubmed)/pubmed.asd $(clc-systems)/pubmed.asd
 
-# Build architecture-independent files here.
 binary-indep: build install
+       dh_testdir -i
+       dh_testroot -i
+       dh_installdocs -i
+       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_installdocs
-       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
index c6c8b44..49ec2ff 100755 (executable)
@@ -1,4 +1,4 @@
 #!/bin/bash -e
 
-dup pubmed -Uftp.med-info.com -D/home/ftp/pubmed -C"(umask 022; cd /opt/apache/htdocs/pubmed; make install)" -su $*
+dup pubmed -Ufiles.med-info.com -D/home/ftp/pubmed -C"(umask 022; cd /opt/apache/htdocs/pubmed; make install)" -su $*
 
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..83f0bcf
--- /dev/null
@@ -0,0 +1,2 @@
+version=3
+http://files.b9.com/pubmed/pubmed-([\d\.]*)\.tar\.gz