Nilesh Patra pushed to branch master at Debian Med / dwgsim
Commits: 703d0fbe by Nilesh Patra at 2020-07-14T16:42:17+05:30 Add autopkgtest - - - - - 4e58ee0a by Nilesh Patra at 2020-07-14T16:46:44+05:30 Update metadata - - - - - e32dc2ba by Nilesh Patra at 2020-07-14T16:48:30+05:30 Remove travis-ci build status - - - - - 191be414 by Nilesh Patra at 2020-07-14T16:49:28+05:30 compat version: 13, Rules-Requires-Root: no, standards-version: 4.5.0 - - - - - 3f86912b by Nilesh Patra at 2020-07-14T16:52:50+05:30 Fix spellings - - - - - 7 changed files: - debian/control - + debian/patches/remove-travis-ci-link.patch - debian/patches/series - debian/rules - + debian/tests/control - + debian/tests/run-unit-test - debian/upstream/metadata Changes: ===================================== debian/control ===================================== @@ -3,14 +3,15 @@ Maintainer: Debian Med Packaging Team <[email protected]. Uploaders: Kevin Murray <[email protected]> Section: science Priority: optional -Build-Depends: debhelper-compat (= 12), +Build-Depends: debhelper-compat (= 13), samtools (>= 1.7-2), markdown, zlib1g-dev -Standards-Version: 4.4.1 +Standards-Version: 4.5.0 Vcs-Browser: https://salsa.debian.org/med-team/dwgsim Vcs-Git: https://salsa.debian.org/med-team/dwgsim.git Homepage: https://github.com/nh13/DWGSIM/ +Rules-Requires-Root: no Package: dwgsim Architecture: any ===================================== debian/patches/remove-travis-ci-link.patch ===================================== @@ -0,0 +1,11 @@ +Author: Nilesh Patra <[email protected]> +Description: Remove Travis build status link - this is of no real use to end users and instead causes a privacy breach - hence removing this. +Last Changed: Tue July 14 2020 +--- a/README.md ++++ b/README.md +@@ -1,5 +1,3 @@ +-[](https://travis-ci.org/nh13/DWGSIM) +- + Welcome to DWGSIM. + + Please see the file LICENSE for details. ===================================== debian/patches/series ===================================== @@ -1,2 +1,3 @@ 0001-Debian-ise-makefile.patch 2to3.patch +remove-travis-ci-link.patch ===================================== debian/rules ===================================== @@ -10,6 +10,8 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all dh $@ override_dh_auto_build: + sed -i 's/occour/occur/' src/dwgsim_opt.c + sed -i 's/occour/occur/' debian/dwgsim.1 dh_auto_build markdown README.md > README.html ===================================== debian/tests/control ===================================== @@ -0,0 +1,4 @@ +Tests: run-unit-test +Depends: @, samtools +Restrictions: allow-stderr + ===================================== debian/tests/run-unit-test ===================================== @@ -0,0 +1,29 @@ +#!/bin/bash +set -e + +pkg=dwgsim +CUR_DIR=`pwd` + +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 ${CUR_DIR}/testdata/* -a "${AUTOPKGTEST_TMP}" +cp /usr/share/doc/samtools/examples/* -a "${AUTOPKGTEST_TMP}" + +cd "${AUTOPKGTEST_TMP}" +gunzip -r * + +echo "BEGIN TEST" +mkdir -p tmp +dwgsim -z 13 -N 10000 ex1.fa tmp/ex1.test + +echo "TAKE DIFF FOR CORRECT OUTPUT" +for FILE in $(ls -1 ex1.test*) +do + diff -q ${FILE} tmp/${FILE} +done +rm -rf tmp +echo "PASS" + ===================================== debian/upstream/metadata ===================================== @@ -7,4 +7,10 @@ Registry: Entry: SCR_002342 - Name: conda:bioconda Entry: dwgsim +--- +Archive: GitHub Bug-Database: https://github.com/nh13/DWGSIM/issues +Bug-Submit: https://github.com/nh13/DWGSIM/issues/new +Changelog: https://github.com/nh13/DWGSIM/tags +Repository: https://github.com/nh13/DWGSIM.git +Repository-Browse: https://github.com/nh13/DWGSIM View it on GitLab: https://salsa.debian.org/med-team/dwgsim/-/compare/60ccf2b271fb2822a89006ffb81605293ccfc8a7...3f86912b72ecc715ade06f0c259a8e7054982569 -- View it on GitLab: https://salsa.debian.org/med-team/dwgsim/-/compare/60ccf2b271fb2822a89006ffb81605293ccfc8a7...3f86912b72ecc715ade06f0c259a8e7054982569 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
