[med-svn] [Git][med-team/libargs][master] 2 commits: DEP3, fix installation, fix section

Andreas Tille gitlab at salsa.debian.org
Thu Jun 4 13:33:55 BST 2020



Andreas Tille pushed to branch master at Debian Med / libargs


Commits:
972d0384 by Andreas Tille at 2020-06-04T13:22:35+02:00
DEP3, fix installation, fix section

- - - - -
7da9c99b by Andreas Tille at 2020-06-04T14:28:46+02:00
Try autopkgtest

- - - - -


6 changed files:

- debian/control
- + debian/docs
- + debian/examples
- debian/patches/fix_makefile.patch
- debian/rules
- debian/tests/run-unit-test


Changes:

=====================================
debian/control
=====================================
@@ -1,7 +1,7 @@
 Source: libargs
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Andreas Tille <tille at debian.org>
-Section: science
+Section: libdevel
 Priority: optional
 Build-Depends: debhelper-compat (= 13)
 Standards-Version: 4.5.0


=====================================
debian/docs
=====================================
@@ -0,0 +1,3 @@
+debian/tests/run-unit-test
+debian/README.test
+README*


=====================================
debian/examples
=====================================
@@ -0,0 +1,5 @@
+examples/*
+test
+test.cxx
+catch.hpp
+Makefile


=====================================
debian/patches/fix_makefile.patch
=====================================
@@ -1,3 +1,7 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 04 Jun 2020 10:49:10 +0200
+Description: Fix clean target in Makefile
+
 --- a/Makefile
 +++ b/Makefile
 @@ -43,7 +43,7 @@ installman: doc/man


=====================================
debian/rules
=====================================
@@ -24,3 +24,6 @@ override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	$(MAKE) runtests
 endif
+
+override_dh_auto_install:
+	$(MAKE) DESTDIR=$(CURDIR)/debian/`dh_listpackages`/usr install


=====================================
debian/tests/run-unit-test
=====================================
@@ -1,19 +1,16 @@
 #!/bin/bash
 set -e
 
-pkg=#PACKAGENAME#
+pkg=libargs-dev
 
 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
+#   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#
+make runtests



View it on GitLab: https://salsa.debian.org/med-team/libargs/-/compare/0929edf855eff545943985e35f55f0647d8e44e8...7da9c99b8f15875486decd9652d9edef095fa976

-- 
View it on GitLab: https://salsa.debian.org/med-team/libargs/-/compare/0929edf855eff545943985e35f55f0647d8e44e8...7da9c99b8f15875486decd9652d9edef095fa976
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/20200604/dabd7d22/attachment-0001.html>


More information about the debian-med-commit mailing list