[med-svn] [Git][med-team/q2-types][master] Initial packaging

Liubov Chuprikova gitlab at salsa.debian.org
Tue Mar 26 16:48:44 GMT 2019


Liubov Chuprikova pushed to branch master at Debian Med / q2-types


Commits:
80bfac51 by Liubov Chuprikova at 2019-03-26T16:48:27Z
Initial packaging

- - - - -


11 changed files:

- + debian/README.test
- + debian/changelog
- + debian/compat
- + 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 @@
+q2-types (2019.1.0-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #<bug>)
+
+ -- Liubov Chuprikova <chuprikovalv at gmail.com>  Mon, 25 Mar 2019 19:56:36 +0100


=====================================
debian/compat
=====================================
@@ -0,0 +1 @@
+12


=====================================
debian/control
=====================================
@@ -0,0 +1,30 @@
+Source: q2-types
+Section: science
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Liubov Chuprikova <chuprikovalv at gmail.com>
+Build-Depends: debhelper (>= 12~),
+               dh-python,
+               python3,
+               python3-setuptools
+Standards-Version: 4.3.0
+Vcs-Browser: https://salsa.debian.org/med-team/q2-types
+Vcs-Git: https://salsa.debian.org/med-team/q2-types.git
+Homepage: https://qiime2.org/
+
+Package: q2-types
+Architecture: all
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${python3:Depends},
+         python3-setuptools,
+         python3-skbio,
+         python3-numpy,
+         python3-pandas,
+         python3-biom-format,
+         python3-ijson,
+         python3-h5py,
+         libopenblas-base,
+         qiime
+Description: QIIME 2 plugin defining types for microbiome analysis
+ <long_description>


=====================================
debian/copyright
=====================================
@@ -0,0 +1,16 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: <pkg>
+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 maintainername <maintainer at e.mail>
+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,12 @@
+Reference:
+  Author: 
+  Title: 
+  Journal: 
+  Year: 
+  Volume: 
+  Number: 
+  Pages: 
+  DOI: 
+  PMID:
+  URL: 
+  eprint: 


=====================================
debian/watch
=====================================
@@ -0,0 +1,84 @@
+# alternatively to this template you might like to try
+#   https://github.com/FedericoCeratto/debian-package-init/blob/master/deb_create_watch.py
+
+version=4
+
+https://github.com/qiime2/q2-types/releases/latest .*/archive/(\d[.\d]+)@ARCHIVE_EXT@
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php #PACKAGE#-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/#PACKAGE#-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/#PACKAGE#-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge
+# http://sf.net/#PACKAGE#/#PACKAGE#-@ANY_VERSION@@ARCHIVE_EXT@
+
+# Uncomment to find new files on Github
+#  - when using releases:
+# https://github.com/#GITHUBUSER#/#PACKAGE#/releases/latest .*/archive/#PREFIX#@ANY_VERSION@@ARCHIVE_EXT@
+#  - when using tags
+# https://github.com/#GITHUBUSER#/#PACKAGE#/tags .*/#PREFIX#@ANY_VERSION@@ARCHIVE_EXT@
+# Remark: frequently you can do s/#PREFIX#/v?/ since 'v' or nothing is quite common but there are other prefixes possible
+
+# PyPi repository of Python modules
+#  see https://lists.debian.org/debian-python/2015/02/msg00027.html
+# http://pypi.debian.net/#module#/#module#-@ANY_VERSION@@ARCHIVE_EXT@
+#   better
+# https://pypi.python.org/simple/#module# .*/#module#- at ANY_VERSION@@ARCHIVE_EXT@#sha256=.*
+
+# Bitbucket
+# https://bitbucket.org/#user#/#project#/downloads .*/@ANY_VERSION@@ARCHIVE_EXT@
+
+# Gitlab
+# opts=filenamemangle=s/.*\.tar\.gz\?ref=v?(\d\S*)/<project>-$1\.tar\.gz/g \
+#  https://gitlab.com/#user#/#project#/tags .*archive\.tar\.gz\?ref=v?(\d\S*)
+# may be
+#  https://gitlab.com/#user#/#project#/tags?sort=updated_desc .*/archive/.*/#prefix#@ANY_VERSION@@ARCHIVE_EXT@
+
+# Any Git repository lacking versioned downloads
+#
+# Option 1: mode=git
+# ------------------
+#
+#opts="mode=git,pretty=0.0+git%cd.%h" \
+#    https://github.com/#user#/#project#.git HEAD
+#
+# Option 2: github_commits_package_json (only for Github)
+# -------------------------------------------------------
+#
+# opts="uversionmangle=s/.*date=(\d{4})-(\d\d)-(\d\d)T.*/#VERSION_ma_be_0.0#+git$1$2$3/, \
+#    filenamemangle=s/.*date=(\d{4})-(\d\d)-(\d\d)T.*/#VERSION_ma_be_0.0#+git$1$2$3.tar.gz/, \
+#    repack,compression=xz" \
+#    https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=github_commits_package_json/#user#/#project# \
+#    .*/archive/(.*\.tar\.gz?.*)
+
+
+# if tweaking of source is needed
+# \
+# debian debian/get-orig-source
+
+# if you need to repack and choose +dfsg prefix
+# opts="repacksuffix=+dfsg,dversionmangle=auto,repack,compression=xz" \
+
+# See also
+#    https://people.debian.org/~osamu/uscan.html
+#
+# If there is no chance to create a sensible watch file please read here:
+#
+#    https://people.debian.org/~eriberto/#fake-packages
+# 
+#version=4
+#opts=dversionmangle=s/.*/0.No-Site/ \
+#https://people.debian.org/~eriberto/ FakeWatchNoUpstreamSiteForThisPackage-(\d\S+)\.gz
+#
+#version=4
+#opts=dversionmangle=s/.*/0.No-Release/ \
+#https://people.debian.org/~eriberto/ FakeWatchNoUpstreamReleaseForThisPackage-(\d\S+)\.gz
+#
+#version=4
+#opts=dversionmangle=s/.*/0.No-Track/ \
+#https://people.debian.org/~eriberto/ FakeWatchNoUpstreamTrackingForThisPackage-(\d\S+)\.gz



View it on GitLab: https://salsa.debian.org/med-team/q2-types/commit/80bfac51a24b27a163b102c925e7a06bbd9e860e

-- 
View it on GitLab: https://salsa.debian.org/med-team/q2-types/commit/80bfac51a24b27a163b102c925e7a06bbd9e860e
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/20190326/d25f22d1/attachment-0001.html>


More information about the debian-med-commit mailing list