Pranav Ballaney pushed to branch master at Debian Med / trinculo


Commits:
054327bb by Pranav Ballaney at 2020-04-07T16:16:57+05:30
Added d/examples and d/docs

- - - - -
a0ab5163 by Pranav Ballaney at 2020-04-07T16:37:08+05:30
Install python files

- - - - -
7da71761 by Pranav Ballaney at 2020-04-07T17:06:32+05:30
Add basic autopkgtest

- - - - -
c3649351 by Pranav Ballaney at 2020-04-07T17:07:22+05:30
Override dh_install

- - - - -
7a3fa321 by Pranav Ballaney at 2020-04-07T17:07:36+05:30
Add build-depends

- - - - -
f3168d76 by Pranav Ballaney at 2020-04-07T17:17:21+05:30
Update changelog

- - - - -


9 changed files:

- + debian/README.test
- debian/changelog
- debian/control
- + debian/docs
- + debian/examples
- + debian/install
- debian/rules
- + debian/tests/control
- + debian/tests/run-unit-test


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
=====================================
@@ -1,5 +1,13 @@
-trinculo (0.96+dfsg-1) UNRELEASED; urgency=medium
+trinculo (0.96-1) UNRELEASED; urgency=medium
 
+  [ Andreas Tille ]
   * Initial release (Closes: #955602)
 
- -- Andreas Tille <[email protected]>  Sat, 04 Apr 2020 09:11:57 +0200
+  [ Pranav Ballaney ]
+  * Added d/examples and d/docs
+  * Install python files
+  * Add basic autopkgtest
+  * Override dh_install
+  * Add build-depends
+
+ -- Pranav Ballaney <[email protected]>  Tue, 07 Apr 2020 17:14:28 +0530


=====================================
debian/control
=====================================
@@ -3,7 +3,8 @@ Section: science
 Priority: optional
 Maintainer: Debian Med Packaging Team 
<[email protected]>
 Uploaders: Andreas Tille <[email protected]>
-Build-Depends: debhelper-compat (= 12)
+Build-Depends: debhelper-compat (= 12),
+               liblapack-dev
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/trinculo
 Vcs-Git: https://salsa.debian.org/med-team/trinculo.git


=====================================
debian/docs
=====================================
@@ -0,0 +1,2 @@
+README.txt
+debian/README.test


=====================================
debian/examples
=====================================
@@ -0,0 +1 @@
+examples/*


=====================================
debian/install
=====================================
@@ -0,0 +1 @@
+bin/*


=====================================
debian/rules
=====================================
@@ -20,11 +20,16 @@ include /usr/share/dpkg/default.mk
 %:
        dh $@
 
+override_dh_install:
+       g++ -DLINUX -Isrc -o bin/trinculo src/trinculo.cpp -llapack -lpthread
+       dh_install
+
+
 ### 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
+# override_dh_auto_test:
+# ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+#      python bin/testing.py
+# endif
 
 ### If you **really** can not use uscan (even not with mode=git) use a 
debian/get-orig-script
 #get-orig-source:


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


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,20 @@
+#!/bin/bash
+set -e
+
+pkg=trinculo
+
+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
+fi
+
+cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+
+#do_stuff_to_test_package#
+trinculo multinom --help



View it on GitLab: 
https://salsa.debian.org/med-team/trinculo/-/compare/ef3673b11072d08fb46eff69bc5b609c45119d45...f3168d76e7c8dad07ee07f060c4147443cf96c5b

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/trinculo/-/compare/ef3673b11072d08fb46eff69bc5b609c45119d45...f3168d76e7c8dad07ee07f060c4147443cf96c5b
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

Reply via email to