[Debian-astro-commits] [eso-midas] 01/01: Add test data package
Ole Streicher
olebole at moszumanska.debian.org
Fri Jun 30 12:34:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch master
in repository eso-midas.
commit 638d8effd97a19eadce3e92c6a34fcd239070644
Author: Ole Streicher <olebole at debian.org>
Date: Thu Jun 29 11:06:34 2017 +0200
Add test data package
---
debian/changelog | 6 ++++++
debian/control | 22 ++++++++++++++++++----
debian/copyright | 1 -
debian/eso-midas-testdata.install | 3 +++
debian/{install => eso-midas.install} | 0
debian/{links => eso-midas.links} | 0
...ntian-overrides => eso-midas.lintian-overrides} | 0
debian/{manpages => eso-midas.manpages} | 2 +-
debian/rules | 16 ++++++++++++----
9 files changed, 40 insertions(+), 10 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index a0eb0ab..31ba6ac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+eso-midas (17.02pl1.2-2) unstable; urgency=low
+
+ * Add test data package
+
+ -- Ole Streicher <olebole at debian.org> Thu, 29 Jun 2017 11:06:55 +0200
+
eso-midas (17.02pl1.2-1) unstable; urgency=low
* Use gbp pq instead of quilt to maintain patches
diff --git a/debian/control b/debian/control
index 10f7da0..2e06225 100644
--- a/debian/control
+++ b/debian/control
@@ -4,11 +4,11 @@ Priority: optional
Maintainer: Debian Astro Team <debian-astro-maintainers at lists.alioth.debian.org>
Uploaders: Ole Streicher <olebole at debian.org>
Build-Depends: debhelper (>= 9),
- dh-exec (>=0.3),
+ dh-exec (>=0.3),
gfortran,
+ liblockfile-bin,
libmotif-dev,
- liblockfile-bin,
- libreadline-dev,
+ libreadline-dev,
libx11-dev,
libxt-dev
Standards-Version: 4.0.0
@@ -18,7 +18,8 @@ Vcs-Browser: https://anonscm.debian.org/cgit/debian-astro/packages/eso-midas.git
Package: eso-midas
Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, liblockfile-bin
+Depends: liblockfile-bin, ${misc:Depends}, ${shlibs:Depends}
+Suggests: eso-midas-testdata
Description: European Southern Observatory Munich Image Data Analysis System
The ESO-MIDAS system provides general tools for image processing and data
reduction with emphasis on astronomical applications including imaging and
@@ -26,3 +27,16 @@ Description: European Southern Observatory Munich Image Data Analysis System
Paranal. In addition it contains applications packages for stellar and
surface photometry, image sharpening and decomposition, statistics and
various others.
+
+Package: eso-midas-testdata
+Architecture: all
+Depends: eso-midas, ${misc:Depends}
+Description: Test data files for ESO-MIDAS
+ The ESO-MIDAS system provides general tools for image processing and data
+ reduction with emphasis on astronomical applications including imaging and
+ special reduction packages for ESO instrumentation at La Silla and the VLT at
+ Paranal. In addition it contains applications packages for stellar and
+ surface photometry, image sharpening and decomposition, statistics and
+ various others.
+ .
+ This package contains the test data files required for verification.
diff --git a/debian/copyright b/debian/copyright
index b31cc8a..f3f68eb 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -97,4 +97,3 @@ Comment: Original public domain version by B. Garbow, K. Hillstrom, J. More'
.
The license differs from Apache-1.1 in that the prohibition to use certain
names is removed. This should make it compatible to GPL.
-
diff --git a/debian/eso-midas-testdata.install b/debian/eso-midas-testdata.install
new file mode 100755
index 0000000..dea6f87
--- /dev/null
+++ b/debian/eso-midas-testdata.install
@@ -0,0 +1,3 @@
+#! /usr/bin/dh-exec
+test usr/lib/eso-midas/${MIDVERS}
+
diff --git a/debian/install b/debian/eso-midas.install
similarity index 100%
rename from debian/install
rename to debian/eso-midas.install
diff --git a/debian/links b/debian/eso-midas.links
similarity index 100%
rename from debian/links
rename to debian/eso-midas.links
diff --git a/debian/lintian-overrides b/debian/eso-midas.lintian-overrides
similarity index 100%
rename from debian/lintian-overrides
rename to debian/eso-midas.lintian-overrides
diff --git a/debian/manpages b/debian/eso-midas.manpages
similarity index 100%
rename from debian/manpages
rename to debian/eso-midas.manpages
index 09a88d1..c4be1ed 100644
--- a/debian/manpages
+++ b/debian/eso-midas.manpages
@@ -1,3 +1,3 @@
-system/unix/man1/inmidas.1
system/unix/man1/gomidas.1
system/unix/man1/helpmidas.1
+system/unix/man1/inmidas.1
diff --git a/debian/rules b/debian/rules
index 807e6d7..8d60a2f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,7 +32,7 @@ override_dh_auto_configure:
(cd $(MID_HOME); $(MID_INSTALL)/select all)
(cd $(MID_HOME); $(MID_INSTALL)/preinstall -a)
-override_dh_auto_build:
+override_dh_auto_build-arch:
chmod 755 $(MID_HOME)/local/make_shared
(cd $(MID_HOME); \
$(MID_INSTALL)/install2; \
@@ -42,7 +42,7 @@ override_dh_auto_build:
$(MID_SYS)/inmidas -m $(MID_WORK) -j "@ compile.all"
$(MID_SYS)/inmidas -m $(MID_WORK) -j "@ ascii_bin no ; bye"
-override_dh_install:
+override_dh_install-arch:
(cd $(MID_HOME) ; yes | $(MID_SYS)/cleanmidas)
find $(MID_HOME) \( \
-name "*.a" -o \
@@ -61,7 +61,7 @@ override_dh_install:
-X$(MIDVERS)/test -X$(MIDVERS)/install \
-X$(MIDVERS)/system/unix/man -X$(MIDVERS)/libsrc/readline
-override_dh_fixperms:
+override_dh_fixperms-arch:
dh_fixperms
chmod 0644 debian/eso-midas/$(MID_HOME0)/contrib/baches/*/*.fit \
debian/eso-midas/$(MID_HOME0)/contrib/baches/*/*.fmt \
@@ -71,7 +71,15 @@ override_dh_fixperms:
find debian/eso-midas/$(MID_HOME0)/ -name \*.sh | xargs chmod 0755
chmod 0755 debian/eso-midas/$(MID_HOME0)/util/bench/brun
-override_dh_auto_test:
+override_dh_fixperms-indep:
+ dh_fixperms
+ chmod 0644 debian/eso-midas-testdata/$(MID_HOME0)/test/*/*.prg \
+ debian/eso-midas-testdata/$(MID_HOME0)/test/*/*.mt
+ chmod 0755 debian/eso-midas-testdata/$(MID_HOME0)/test/*/*.sh \
+ debian/eso-midas-testdata/$(MID_HOME0)/test/prim/midasparallel \
+ debian/eso-midas-testdata/$(MID_HOME0)/test/prim/midcheck
+
+override_dh_auto_test-arch:
mkdir -p $(TEST_DIR)
( cd $(TEST_DIR) ; $(MID_SYS)/inmidas -m $(MID_WORK) -j "@ vericopy ; @@ veriall -nodisplay ; bye" )
test -f $(MID_WORK)/veriall_*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/eso-midas.git
More information about the Debian-astro-commits
mailing list