[med-svn] [Git][med-team/vcfanno][master] Start with some go stuff (any help is welcome - I've never touched go before)

Andreas Tille gitlab at salsa.debian.org
Wed Apr 17 10:36:01 BST 2019



Andreas Tille pushed to branch master at Debian Med / vcfanno


Commits:
b4bf6c3c by Andreas Tille at 2019-04-17T09:35:30Z
Start with some go stuff (any help is welcome - I've never touched go before)

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -3,7 +3,10 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 12~)
+Build-Depends: debhelper (>= 12~),
+               dh-golang,
+               golang-any,
+               golang-github-biogo-hts-dev
 Standards-Version: 4.3.0
 Vcs-Browser: https://salsa.debian.org/med-team/vcfanno
 Vcs-Git: https://salsa.debian.org/med-team/vcfanno.git


=====================================
debian/rules
=====================================
@@ -18,14 +18,14 @@ include /usr/share/dpkg/default.mk
 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
-	dh $@
+	dh $@ --buildsystem=golang --with=golang
+
+override_dh_auto_build:
+	cp -a *.go obj-$(DEB_BUILD_GNU_TYPE)
+	dh_auto_build
 
 ### 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



View it on GitLab: https://salsa.debian.org/med-team/vcfanno/commit/b4bf6c3c6098cb2f07fe36a64d49f5d8aa5f53b9

-- 
View it on GitLab: https://salsa.debian.org/med-team/vcfanno/commit/b4bf6c3c6098cb2f07fe36a64d49f5d8aa5f53b9
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/20190417/ff83fc6b/attachment-0001.html>


More information about the debian-med-commit mailing list