[med-svn] [Git][med-team/simka][master] Add debian directory

Shayan Doust gitlab at salsa.debian.org
Sun Sep 8 22:29:10 BST 2019



Shayan Doust pushed to branch master at Debian Med / simka


Commits:
7f1f76da by Shayan Doust at 2019-09-08T21:28:45Z
Add debian directory

- - - - -


10 changed files:

- + debian/README.test
- + debian/changelog
- + debian/control
- + debian/copyright
- + debian/rules
- + debian/source/format
- + debian/tests/control
- + debian/tests/run-unit-test
- + debian/upstream/metadata
- + debian/watch


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
=====================================
@@ -0,0 +1,5 @@
+simka (1.5.1-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #<bug>)
+
+ -- Shayan Doust <hello at shayandoust.me>  Sun, 08 Sep 2019 22:20:14 +0100


=====================================
debian/control
=====================================
@@ -0,0 +1,19 @@
+Source: simka
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Shayan Doust <hello at shayandoust.me>
+Section: science
+Priority: optional
+Build-Depends: debhelper-compat (= 12)
+Standards-Version: 4.3.0
+Vcs-Browser: https://salsa.debian.org/med-team/simka
+Vcs-Git: https://salsa.debian.org/med-team/simka.git
+Homepage: https://github.com/GATB/simka
+
+Package: simka
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: comparative metagenomics method dedicated to NGS datasets
+ Simka is a de novo comparative metagenomics tool. Simka represents each
+ dataset as a k-mer spectrum and compute several classical ecological
+ distances between them.


=====================================
debian/copyright
=====================================
@@ -0,0 +1,16 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: simka
+Source: <path_to_download>
+Comment: **** Before manually editing this file you should give ****
+           scan-copyrights
+         **** available in cme + lib-config-model-dpkg-perl     ****
+         **** package a try.  For existing copyright files try  ****
+           cme update dpkg-copyright
+
+Files: *
+Copyright: 20xx-20yy <upstream>
+License: <license>
+
+Files: debian/*
+Copyright: 2019 Shayan Doust <hello at shayandoust.me>
+License: <license>


=====================================
debian/rules
=====================================
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+export LC_ALL=C.UTF-8
+
+include /usr/share/dpkg/default.mk
+# this provides:
+# DEB_SOURCE: the source package name
+# DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
+# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
+# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
+# DEB_VERSION_UPSTREAM: the package's upstream version
+# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
+# SOURCE_DATE_EPOCH: the source release date as seconds since the epoch, as
+#                    specified by <https://reproducible-builds.org/specs/source-date-epoch/>
+
+# for hardening you might like to uncomment this:
+# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+%:
+	dh $@
+
+### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
+#override_dh_auto_test:
+#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+#	do_stuff_for_testing
+#endif
+
+### If you **really** can not use uscan (even not with mode=git) use a debian/get-orig-script
+#get-orig-source:
+#	. debian/get-orig-source


=====================================
debian/source/format
=====================================
@@ -0,0 +1 @@
+3.0 (quilt)


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


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,18 @@
+#!/bin/bash
+set -e
+
+pkg=#PACKAGENAME#
+
+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#


=====================================
debian/upstream/metadata
=====================================
@@ -0,0 +1,8 @@
+Reference:
+  Author: Gaëtan Benoit, Pierre Peterlongo, Mahendra Mariadassou, Erwan Drezen, Sophie Schbath, Domonique Lavenier, Claire Lemaitre
+  Title: Multiple comparative metagenomics using multiset k-mer counting
+  Year: 2016
+  Pages: 25
+  DOI: 10.7717/peerj-cs.94
+  URL: https://peerj.com/articles/cs-94
+Other-References: https://github.com/GATB/simka


=====================================
debian/watch
=====================================
@@ -0,0 +1,3 @@
+version=4
+
+https://github.com/GATB/simka/releases .*/archive/v?@ANY_VERSION@@ARCHIVE_EXT@



View it on GitLab: https://salsa.debian.org/med-team/simka/commit/7f1f76da60923cbd6d557db3a157ebe86c2f9e1b

-- 
View it on GitLab: https://salsa.debian.org/med-team/simka/commit/7f1f76da60923cbd6d557db3a157ebe86c2f9e1b
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/20190908/7fc40a15/attachment-0001.html>


More information about the debian-med-commit mailing list