[med-svn] r13508 - trunk/packages/metastudent-data/trunk/debian
Laszlo Kajan
lkajan at alioth.debian.org
Tue May 7 11:44:26 UTC 2013
Author: lkajan
Date: 2013-05-07 11:44:26 +0000 (Tue, 07 May 2013)
New Revision: 13508
Removed:
trunk/packages/metastudent-data/trunk/debian/Makefile.Debian
trunk/packages/metastudent-data/trunk/debian/README.Debian
trunk/packages/metastudent-data/trunk/debian/postinst
trunk/packages/metastudent-data/trunk/debian/prerm
Modified:
trunk/packages/metastudent-data/trunk/debian/README.source
trunk/packages/metastudent-data/trunk/debian/changelog
trunk/packages/metastudent-data/trunk/debian/control
trunk/packages/metastudent-data/trunk/debian/rules
Log:
blast databases are multi-platform, so the binary package can be arch:all
Deleted: trunk/packages/metastudent-data/trunk/debian/Makefile.Debian
===================================================================
--- trunk/packages/metastudent-data/trunk/debian/Makefile.Debian 2013-05-06 17:35:02 UTC (rev 13507)
+++ trunk/packages/metastudent-data/trunk/debian/Makefile.Debian 2013-05-07 11:44:26 UTC (rev 13508)
@@ -1,15 +0,0 @@
-#!/usr/bin/make -f
-# run from /usr/lib/metastudent-data
-FASTA := $(shell cd /usr/share/metastudent-data && for f in dataset_*/*/*.fasta; do echo $$f; done)
-BLASTDB := $(FASTA:.fasta=.fasta.psq)
-
-.PHONY: all
-all: $(BLASTDB)
-
-$(BLASTDB): %.fasta.psq : /usr/share/metastudent-data/%.fasta
- mkdir -p $(dir $@) && \
- formatdb -i "$<" -n "$(@:.psq=)" && rm -f formatdb.log
-
-.PHONY: clean
-clean:
- rm -f $(BLASTDB:.psq=.*)
Deleted: trunk/packages/metastudent-data/trunk/debian/README.Debian
===================================================================
--- trunk/packages/metastudent-data/trunk/debian/README.Debian 2013-05-06 17:35:02 UTC (rev 13507)
+++ trunk/packages/metastudent-data/trunk/debian/README.Debian 2013-05-07 11:44:26 UTC (rev 13508)
@@ -1,3 +0,0 @@
-metastudent-data for Debian
-===========================
-Large (>100MB) BLAST databases required by metastudent and provided in source form by this package are built during installation.
Modified: trunk/packages/metastudent-data/trunk/debian/README.source
===================================================================
--- trunk/packages/metastudent-data/trunk/debian/README.source 2013-05-06 17:35:02 UTC (rev 13507)
+++ trunk/packages/metastudent-data/trunk/debian/README.source 2013-05-07 11:44:26 UTC (rev 13508)
@@ -1,6 +1,4 @@
metastudent-data for Debian
===========================
-This package follows the logic of the data.debian.org proposal at [1]. The source data package is large (>100MB xz compressed), therefore we make no architecture dependent binary packages.
-Instread, we generate the architecture dependent files in a postinst script.
-
-[1] http://ftp-master.debian.org/wiki/projects/data/
+This package provides large (>100MB uncompressed) BLAST databases required by metastudent.
+The databases are in binary format, and are multi-platform. For this reason they are installed into /usr/share/metastudent-data.
Modified: trunk/packages/metastudent-data/trunk/debian/changelog
===================================================================
--- trunk/packages/metastudent-data/trunk/debian/changelog 2013-05-06 17:35:02 UTC (rev 13507)
+++ trunk/packages/metastudent-data/trunk/debian/changelog 2013-05-07 11:44:26 UTC (rev 13508)
@@ -1,5 +1,5 @@
metastudent-data (1.0.1-1) UNRELEASED; urgency=low
- * Initial release (Closes: #000000)
+ * Initial release (Closes: #705537)
-- Tobias Hamp <hampt at rostlab.org> Fri, 26 Apr 2013 07:43:57 +0200
Modified: trunk/packages/metastudent-data/trunk/debian/control
===================================================================
--- trunk/packages/metastudent-data/trunk/debian/control 2013-05-06 17:35:02 UTC (rev 13507)
+++ trunk/packages/metastudent-data/trunk/debian/control 2013-05-07 11:44:26 UTC (rev 13508)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
Uploaders: Tobias Hamp <hampt at rostlab.org>, Laszlo Kajan <lkajan at debian.org>
-Build-Depends-Indep: debhelper (>=8~)
+Build-Depends-Indep: blast2, debhelper (>=8~)
Standards-Version: 3.9.4
Homepage: https://rostlab.org/owiki/index.php/Metastudent
Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/metastudent-data/trunk/
@@ -12,7 +12,7 @@
Package: metastudent-data
Architecture: all
Homepage: http://www.rostlab.org
-Depends: ${misc:Depends}, blast2, make
+Depends: ${misc:Depends}
Description: predictor of Gene Ontology terms from protein sequence - data files
Often, only the sequence of a protein is known, but
not its functions. Metastudent will try to predict
Deleted: trunk/packages/metastudent-data/trunk/debian/postinst
===================================================================
--- trunk/packages/metastudent-data/trunk/debian/postinst 2013-05-06 17:35:02 UTC (rev 13507)
+++ trunk/packages/metastudent-data/trunk/debian/postinst 2013-05-07 11:44:26 UTC (rev 13508)
@@ -1,38 +0,0 @@
-#!/bin/sh
-# postinst script for metastudent-data
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# 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>
-# * <postinst> `abort-remove'
-# * <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
-
-
-case "$1" in
- configure)
- # build blast databases our of arch indep fasta files
- make -f /usr/share/metastudent-data/Makefile.Debian -C /usr/lib/metastudent-data all
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0
Deleted: trunk/packages/metastudent-data/trunk/debian/prerm
===================================================================
--- trunk/packages/metastudent-data/trunk/debian/prerm 2013-05-06 17:35:02 UTC (rev 13507)
+++ trunk/packages/metastudent-data/trunk/debian/prerm 2013-05-07 11:44:26 UTC (rev 13508)
@@ -1,37 +0,0 @@
-#!/bin/sh
-# prerm script for metastudent-data
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# 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)
- # remove built blast databases
- make -f /usr/share/metastudent-data/Makefile.Debian -C /usr/lib/metastudent-data clean
- ;;
-
- failed-upgrade)
- ;;
-
- *)
- echo "prerm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0
Modified: trunk/packages/metastudent-data/trunk/debian/rules
===================================================================
--- trunk/packages/metastudent-data/trunk/debian/rules 2013-05-06 17:35:02 UTC (rev 13507)
+++ trunk/packages/metastudent-data/trunk/debian/rules 2013-05-07 11:44:26 UTC (rev 13508)
@@ -5,18 +5,6 @@
%:
dh $@ --parallel
-# trick make so that it does not build arch-dep data
-override_dh_auto_build:
- for f in dataset_*/*/*.fasta; do touch "$$f.phr" "$$f.pin" "$$f.psq"; done
- dh_auto_build
-
-# include arch-indep sources for the arch-dep data (see d/README.source)
-override_dh_auto_install:
- dh_auto_install
- find debian/metastudent-data/usr/lib \( -name '*.phr' -o -name '*.pin' -o -name '*.psq' \) -delete
- for f in dataset_*/*/*.fasta; do cp -fa "$$f" "debian/metastudent-data/usr/share/metastudent-data/$$f"; done
- cp -fa debian/Makefile.Debian debian/metastudent-data/usr/share/metastudent-data/
-
-DEB_COMPRESS_TYPE := xz
-override_dh_builddeb:
- dh_builddeb -- -Z$(DEB_COMPRESS_TYPE)
+DEB_COMPRESS_TYPE ?= xz
+#DEB_COMPRESS_LEVEL ?= -z0v
+DEB_DH_BUILDDEB_ARGS ?= -- -Z$(DEB_COMPRESS_TYPE) $(DEB_COMPRESS_LEVEL)
More information about the debian-med-commit
mailing list