[med-svn] [Git][med-team/plastimatch][master] 9 commits: New upstream version 1.9.3+dfsg.1

Mohd Bilal (@rmb) gitlab at salsa.debian.org
Mon Aug 1 12:36:53 BST 2022



Mohd  Bilal pushed to branch master at Debian Med / plastimatch


Commits:
80c8ae12 by Gregory C. Sharp at 2021-01-21T12:10:53-05:00
New upstream version 1.9.3+dfsg.1

- - - - -
e80df011 by Mohammed Bilal at 2022-08-01T16:02:27+05:30
Switch to multi-orig tarball

- - - - -
38206f02 by Mohammed Bilal at 2022-08-01T16:07:45+05:30
Add autopkgtests

- - - - -
bac66a07 by Mohammed Bilal at 2022-08-01T16:07:51+05:30
New upstream version 1.9.3+dfsg.1
- - - - -
3005a6cd by Mohammed Bilal at 2022-08-01T16:08:15+05:30
Update upstream source from tag 'upstream/1.9.3+dfsg.1'

Update to upstream version '1.9.3+dfsg.1'
with Debian dir 89fd5c74f0ee72070d54dce3d4055520bb554303
- - - - -
17a68ce6 by Mohammed Bilal at 2022-08-01T16:52:15+05:30
Update autopkgtest

- - - - -
835bdecb by Mohammed Bilal at 2022-08-01T16:56:39+05:30
Add copyright for test data

- - - - -
208ccb9e by Mohammed Bilal at 2022-08-01T16:58:24+05:30
d/t/ : Add readme regarding test data

- - - - -
f6cc0e00 by Mohammed Bilal at 2022-08-01T17:03:03+05:30
Update changelog

- - - - -


9 changed files:

- − .gitignore
- + debian-tests-data/headphantom.mha.tar.gz
- + debian-tests-data/registration-tutorial.tar.gz
- debian/changelog
- debian/copyright
- + debian/gbp.conf
- + debian/tests/README
- + debian/tests/control
- + debian/tests/run-unit-test


Changes:

=====================================
.gitignore deleted
=====================================
@@ -1,5 +0,0 @@
-*~
-\#*\#
-GPATH
-GRTAGS
-GTAGS


=====================================
debian-tests-data/headphantom.mha.tar.gz
=====================================
Binary files /dev/null and b/debian-tests-data/headphantom.mha.tar.gz differ


=====================================
debian-tests-data/registration-tutorial.tar.gz
=====================================
Binary files /dev/null and b/debian-tests-data/registration-tutorial.tar.gz differ


=====================================
debian/changelog
=====================================
@@ -1,3 +1,17 @@
+plastimatch (1.9.3+dfsg.1-5) UNRELEASED; urgency=medium
+
+  [ Gregory C. Sharp ]
+  * Team upload.
+  * New upstream version 1.9.3+dfsg.1
+
+  [ Mohammed Bilal ]
+  * Switch to multi-orig tarball
+  * Add autopkgtests
+  * New upstream version 1.9.3+dfsg.1
+  * Add copyright for test data
+
+ -- Mohammed Bilal <mdbilal at disroot.org>  Mon, 01 Aug 2022 16:58:35 +0530
+
 plastimatch (1.9.3+dfsg.1-4) unstable; urgency=medium
 
   * Rebuild against dcmtk 3.6.7


=====================================
debian/copyright
=====================================
@@ -139,6 +139,10 @@ Files: debian/*
 Copyright: 2011-2018 Gregory C. Sharp <gregsharp.geo at yahoo.com>
 License: BSD-3-Clause
 
+Files: debian-tests-data/*
+Copyright: 2011-2018 Gregory C. Sharp <gregsharp.geo at yahoo.com>
+License: BSD-3-Clause
+
 Files: libs/demons_itk_insight/*
 Copyright: 1999-2003 Insight Software Consortium
 License: BSD-3-Clause


=====================================
debian/gbp.conf
=====================================
@@ -0,0 +1,4 @@
+[DEFAULT]
+pristine-tar=True
+filter=[ '.gitignore', '.travis.yml', '.git*' ]
+component=['debian-tests-data']


=====================================
debian/tests/README
=====================================
@@ -0,0 +1,6 @@
+Tests for plastimatch
+=================
+
+The data for tests has been referenced from:
+	https://sourceforge.net/projects/plastimatch/files/Sample%20Data/
+


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,80 @@
+#!/bin/bash
+set -e
+
+pkg=plastimatch
+
+export LC_ALL=C.UTF-8
+if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
+  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+  trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cp -a debian-tests-data/* "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+
+echo "e71dd9b3e57edc2076a64fa59fbb796d  avg.nrrd" >> checksums
+echo "01f44325250018cce2819ba55fe83344  add.mha" >> checksums
+echo "3f314bee3c55bc536705bddbffe14025  adjust.nrrd" >> checksums
+echo "d42857f28c31c6076704207696158922  bound.mha" >> checksums
+echo "eed424218ecf2537e94b80729b6b2291  crop.mha" >> checksums
+echo "ae286853241b27e4f45a39f33aec414d  diff.mha" >> checksums
+echo "e7d326e2415f22693683a80d3a41c0a9  scale.mha" >> checksums
+
+for i in *.tar.gz; do tar -zxvf "$i" ;done
+
+mv registration-tutorial/* .
+
+echo -e "\e[93m\e[1mRunning Tests\e[0m"
+
+plastimatch register parms.txt
+
+echo -e "\e[93m\e[1mTest 1\e[0m"
+
+plastimatch add --output add.mha t0.mha t5.mha
+
+echo -e "\e[92m\e[1mPASS\e[0m"
+
+echo -e "\e[93m\e[1mTest 2\e[0m"
+
+plastimatch average --output avg.nrrd t0.mha t5.mha
+
+echo -e "\e[92m\e[1mPASS\e[0m"
+
+echo -e "\e[93m\e[1mTest 3\e[0m"
+
+plastimatch adjust  --input avg.nrrd --output adjust.nrrd  --pw-linear "0,100"
+
+echo -e "\e[92m\e[1mPASS\e[0m"
+
+echo -e "\e[93m\e[1mTest 4\e[0m"
+
+plastimatch boundary headphantom.mha --output bound.mha
+
+echo -e "\e[92m\e[1mPASS\e[0m"
+
+echo -e "\e[93m\e[1mTest 5\e[0m"
+
+plastimatch compare t0.mha t5.mha
+
+echo -e "\e[92m\e[1mPASS\e[0m"
+
+plastimatch diff t0.mha t5.mha diff.mha
+
+echo -e "\e[93m\e[1mTest 6\e[0m"
+
+plastimatch diff t0.mha t5.mha diff.mha
+
+echo -e "\e[92m\e[1mPASS\e[0m"
+
+echo -e "\e[93m\e[1mTest 7\e[0m"
+
+plastimatch scale --output scale.mha --weight 2.0 headphantom.mha
+
+echo -e "\e[92m\e[1mPASS\e[0m"
+
+echo -e "\e[93m\e[1mTest 8\e[0m"
+
+plastimatch stats headphantom.mha
+
+echo -e "\e[92m\e[1mPASS\e[0m"



View it on GitLab: https://salsa.debian.org/med-team/plastimatch/-/compare/99efbff8231e1ffcbdd19037efb86946e6032235...f6cc0e000268e7fd86dd806a3e23f3767f6a18b2

-- 
View it on GitLab: https://salsa.debian.org/med-team/plastimatch/-/compare/99efbff8231e1ffcbdd19037efb86946e6032235...f6cc0e000268e7fd86dd806a3e23f3767f6a18b2
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220801/7f66fc68/attachment-0001.htm>


More information about the debian-med-commit mailing list