Shayan Doust pushed to branch master at Debian Med / argh
Commits: d3567d0a by Shayan Doust at 2020-09-16T14:36:09+01:00 Add debian/ directory - - - - - 10 changed files: - + debian/changelog - + debian/control - + debian/copyright - + debian/rules - + debian/salsa-ci.yml - + debian/source/format - + debian/tests/control - + debian/tests/run-unit-test - + debian/upstream/metadata - + debian/watch Changes: ===================================== debian/changelog ===================================== @@ -0,0 +1,5 @@ +argh (0.0.0-1) UNRELEASED; urgency=medium + + * Initial release (Closes: #<bug>) + + -- Shayan Doust <[email protected]> Thu, 10 Sep 2020 15:10:25 +0100 ===================================== debian/control ===================================== @@ -0,0 +1,30 @@ +Source: argh +Maintainer: Debian Med Packaging Team <[email protected]> +Uploaders: Shayan Doust <[email protected]> +Section: science +Priority: optional +Build-Depends: debhelper-compat (= 13) +Standards-Version: 4.3.0 +Vcs-Browser: https://salsa.debian.org/med-team/argh +Vcs-Git: https://salsa.debian.org/med-team/argh.git +Homepage: https://github.com/adishavit/argh +Rules-Requires-Root: no + +Package: argh +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: frustration-free command line processing + So many different command line processing libraries out there and none + of them just work! Some bring their whole extended family of related and + unrelated external dependencies (yes, I'm looking at you Boost). Some + require quirky syntax and/or very verbose setups that sacrifice + simplicity for the generation of a cute usage message and validation. + Many come to dominate your main() file and yet others do not build on + multiple plaforms - for some even their own tests and trivial usage + cause crashes on some systems. Argh! + . + If you're writing a highly-sophisticated command line tool, then + Boost.Program_options and its kind might give you many advanced options. + However, if you need to get up and running quickly, effectively and with + minimal fuss, give the single header-file argh a try. ===================================== debian/copyright ===================================== @@ -0,0 +1,16 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: argh +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: 2020 Shayan Doust <[email protected]> +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/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/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,16 @@ +#!/bin/bash +set -e + +pkg=#PACKAGENAME# + +export LC_ALL=C.UTF-8 +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 -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}" + +cd "${AUTOPKGTEST_TMP}" + +#do_stuff_to_test_package# ===================================== debian/upstream/metadata ===================================== @@ -0,0 +1,19 @@ +Reference: + - Author: + Title: + Journal: + Year: + Volume: + Number: + Pages: + DOI: + PMID: + URL: + eprint: +Registry: + - Name: conda:bioconda + Entry: + - Name: SciCrunch + Entry: + - Name: bio.tools + Entry: ===================================== debian/watch ===================================== @@ -0,0 +1,4 @@ +version=4 + +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \ +https://github.com/adishavit/argh/releases .*/archive/v?@ANY_VERSION@\.tar\.gz View it on GitLab: https://salsa.debian.org/med-team/argh/-/commit/d3567d0a505fb0ac616d09e86a4a5ae728c07e03 -- View it on GitLab: https://salsa.debian.org/med-team/argh/-/commit/d3567d0a505fb0ac616d09e86a4a5ae728c07e03 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
