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 138717d36bee49fc96d47017731b214a2644a2b1..841ad3120eb038b3e7c2cee260c2b651394ffc00 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 507b10d0b5bba324971e065474c74787f21d5bbf..44481d37c37c02f38b645308778cc32b3f15ad61 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 b8626c4cff2849624fb67f87cd0ad72b163671ad..7f8f011eb73d6043d2e6db9d2c101195ae2801f2 100644 (file)
@@ -1 +1 @@
-4
+7
index d96165e6e8f9c40709f8c8b5767f7a4dc3005767..61ae853b9a98cb10a03ad5d7bcfaa3afea1f5bdf 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 3aede746b6ff1aea75c3c383cd23e66f0502017a..b4bd7eabda4711d90b269e3e80cc4d81e082ab7c 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 fbebe3f475c3164797f861bb2fbad0141dff3fea..a92cad688bed090c2413e172581be0b333d7b74d 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 a5194d7d6574d92416a96c81cbea0824b2c477dc..375b206492362f21bf20260711010981389899af 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 cf945d6ff6b48aba5532ba114454b8dcdfc20c8a..a21e6e8207904765da92f0fa8b641157b4d9aacc 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 c6c8b44e67b2ab980efc6a1de3e275dd7957c3cc..49ec2ff8e3d501372c33570a5c9e1e06a3aad55d 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