[med-svn] [Git][med-team/rampler][master] 10 commits: Add autopkgtests

Pranav Ballaney gitlab at salsa.debian.org
Mon Aug 24 09:48:29 BST 2020



Pranav Ballaney pushed to branch master at Debian Med / rampler


Commits:
aa67b58e by Pranav Ballaney at 2020-08-24T14:13:24+05:30
Add autopkgtests

- - - - -
e6916668 by Pranav Ballaney at 2020-08-24T14:13:27+05:30
Install docs

- - - - -
6af62499 by Pranav Ballaney at 2020-08-24T14:13:58+05:30
Add Pranav Ballaney to Uploaders

- - - - -
853dd732 by Pranav Ballaney at 2020-08-24T14:14:18+05:30
Update changelog

- - - - -
44e9d1ab by Pranav Ballaney at 2020-08-24T14:16:36+05:30
routine-update: Standards-Version: 4.5.0

- - - - -
966aa5c7 by Pranav Ballaney at 2020-08-24T14:16:36+05:30
routine-update: debhelper-compat 13

- - - - -
997042df by Pranav Ballaney at 2020-08-24T14:17:00+05:30
routine-update: Add salsa-ci file

- - - - -
99376870 by Pranav Ballaney at 2020-08-24T14:17:00+05:30
routine-update: Rules-Requires-Root: no

- - - - -
a3e40f58 by Pranav Ballaney at 2020-08-24T14:17:06+05:30
Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, Repository-Browse.
- - - - -
e3dcb1e7 by Pranav Ballaney at 2020-08-24T14:17:16+05:30
routine-update: Ready to upload to unstable

- - - - -


8 changed files:

- + debian/README.test
- debian/changelog
- debian/control
- + debian/docs
- + debian/salsa-ci.yml
- + debian/tests/control
- + debian/tests/run-unit-test
- debian/upstream/metadata


Changes:

=====================================
debian/README.test
=====================================
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+    sh run-unit-test
+
+in order to confirm its integrity.


=====================================
debian/changelog
=====================================
@@ -1,3 +1,22 @@
+rampler (1.1.1-2) unstable; urgency=medium
+
+  [ Steffen Möller ]
+  * Update metadata with ref to conda
+  * Update metadata - corrected conda ref - NA
+
+  [ Pranav Ballaney ]
+  * Add autopkgtests
+  * Install docs
+  * Add Pranav Ballaney to Uploaders
+  * Standards-Version: 4.5.0 (routine-update)
+  * debhelper-compat 13 (routine-update)
+  * Add salsa-ci file (routine-update)
+  * Rules-Requires-Root: no (routine-update)
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+
+ -- Pranav Ballaney <ballaneypranav at gmail.com>  Mon, 24 Aug 2020 14:17:07 +0530
+
 rampler (1.1.1-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/control
=====================================
@@ -1,15 +1,17 @@
 Source: rampler
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Andreas Tille <tille at debian.org>
+Uploaders: Andreas Tille <tille at debian.org>,
+           Pranav Ballaney <ballaneypranav at gmail.com>
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 12),
+Build-Depends: debhelper-compat (= 13),
                cmake,
                libbioparser-dev
-Standards-Version: 4.4.0
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/rampler
 Vcs-Git: https://salsa.debian.org/med-team/rampler.git
 Homepage: https://github.com/rvaser/rampler
+Rules-Requires-Root: no
 
 Package: rampler
 Architecture: any


=====================================
debian/docs
=====================================
@@ -0,0 +1,3 @@
+README*
+debian/README*
+debian/tests/run-unit-test
\ No newline at end of file


=====================================
debian/salsa-ci.yml
=====================================
@@ -0,0 +1,4 @@
+---
+include:
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml


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


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,37 @@
+#!/bin/bash
+set -e
+
+pkg=rampler
+
+export LC_ALL=C.UTF-8
+if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
+  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+  # Double quote below to expand the temporary directory variable now versus
+  # later is on purpose.
+  # shellcheck disable=SC2064
+  trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+fi
+
+# cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+
+#do_stuff_to_test_package#
+
+echo -e "\e[93m\e[1mPreparation\e[0m"
+rangen 0.1 -r2020 >R.fasta
+fasta2DAM R R.fasta
+dsimulator R -c20. -r2020 >G.fasta
+rm R.dam .R.bps .R.hdr .R.idx R.fasta
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo
+
+echo -e "\e[93m\e[1mTest 1\e[0m"
+rampler split G.fasta 500000
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo
+
+echo -e "\e[93m\e[1mTest 2\e[0m"
+rampler subsample G.fasta 50000 5 
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo


=====================================
debian/upstream/metadata
=====================================
@@ -1,3 +1,5 @@
+Bug-Database: https://github.com/rvaser/rampler/issues
+Bug-Submit: https://github.com/rvaser/rampler/issues/new
 Registry:
  - Name: OMICtools
    Entry: OMICS_33016
@@ -7,3 +9,5 @@ Registry:
    Entry: NA
  - Name: conda:bioconda
    Entry: NA
+Repository: https://github.com/rvaser/rampler.git
+Repository-Browse: https://github.com/rvaser/rampler



View it on GitLab: https://salsa.debian.org/med-team/rampler/-/compare/047a01f1bf80e5ea0b87a6423564fbe380e3a65f...e3dcb1e77d40797935110401abb5f7a1de83b686

-- 
View it on GitLab: https://salsa.debian.org/med-team/rampler/-/compare/047a01f1bf80e5ea0b87a6423564fbe380e3a65f...e3dcb1e77d40797935110401abb5f7a1de83b686
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/20200824/578476d1/attachment-0001.html>


More information about the debian-med-commit mailing list