[med-svn] [Git][med-team/q2-alignment][master] Initial packaging
Liubov Chuprikova
gitlab at salsa.debian.org
Mon Mar 25 18:30:46 GMT 2019
Liubov Chuprikova pushed to branch master at Debian Med / q2-alignment
Commits:
f40a62a7 by Liubov Chuprikova at 2019-03-25T18:30:06Z
Initial packaging
- - - - -
12 changed files:
- + debian/README.test
- + debian/changelog
- + debian/compat
- + debian/control
- + debian/copyright
- + debian/lintian-overrides
- + 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,8 @@
+q2-alignment (2019.1.0-1) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: #<bug>)
+ TODO: Package
+ q2-types
+ sina
+
+ -- Liubov Chuprikova <chuprikovalv at gmail.com> Mon, 25 Mar 2019 18:41:18 +0100
=====================================
debian/compat
=====================================
@@ -0,0 +1 @@
+12
=====================================
debian/control
=====================================
@@ -0,0 +1,28 @@
+Source: q2-alignment
+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,
+ qiime
+Standards-Version: 4.3.0
+Vcs-Browser: https://salsa.debian.org/med-team/q2-alignment
+Vcs-Git: https://salsa.debian.org/med-team/q2-alignment.git
+Homepage: https://qiime2.org/
+
+Package: q2-alignment
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ ${python3:Depends},
+ python3-setuptools,
+ python3-skbio,
+ qiime,
+ q2-types # TODO
+ mafft,
+ sina # TODO
+Description: QIIME 2 plugin for generating and manipulating alignments
+ <long_description>
=====================================
debian/copyright
=====================================
@@ -0,0 +1,58 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: QIIME 2
+Source: https://github.com/qiime2/q2-alignment/releases
+
+Files: *
+Copyright: 2016-2018 QIIME 2 development team
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2019 Liubov Chuprikova <chuprikovalv at gmail.com>
+ Andreas Tille <tille at debian.org>
+License: GPL-2+
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ 3. Neither the name of the copyright holder nor the names of its
+ contributors may be used to endorse or promote products derived from this
+ software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: GPL-2+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ For other licensing arrangements, please contact Daniel J. Schaid.
+ .
+ On a Debian system, the GNU GPL license version 2 is distributed in the
+ file /usr/share/common-licenses/GPL-2.
=====================================
debian/lintian-overrides
=====================================
@@ -0,0 +1,2 @@
+# see https://lists.debian.org/debian-med/2018/06/msg00043.html
+#PKGNAME#: script-with-language-extension usr/bin/*.*
=====================================
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,3 @@
+version=4
+
+https://github.com/qiime2/q2-alignment/releases/latest .*/archive/(\d[.\d]+)@ARCHIVE_EXT@
View it on GitLab: https://salsa.debian.org/med-team/q2-alignment/commit/f40a62a7203e6d2506689eebc2599356c9ffc20f
--
View it on GitLab: https://salsa.debian.org/med-team/q2-alignment/commit/f40a62a7203e6d2506689eebc2599356c9ffc20f
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/20190325/72910ec0/attachment-0001.html>
More information about the debian-med-commit
mailing list