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 
<[email protected].
 Uploaders: Andreas Tille <[email protected]>
 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.

_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to