Source: golang-github-gosexy-gettext Severity: wishlist Tags: patch Using the XS-Go-Import-Path field in debian/control is preferable over using DH_GOPKG in debian/rules, because the former shows up in a machine-readable way in Sources files, and can hence be easily picked up by tooling.
Please apply the attached patch and upload a new version to the archive. Thanks! PS: Also consider team-maintaining this package in the pkg-go team, where we could automatically apply such trivial fixes. See http://pkg-go.alioth.debian.org/ -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386, armel, mipsel, arm64 Kernel: Linux 4.13.0-1-amd64 (SMP w/12 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
>From 9ca0d50039ce3cb2c10e4f1069d498e4121f3b65 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg <mich...@stapelberg.de> Date: Sat, 10 Feb 2018 17:26:00 +0100 Subject: [PATCH 1/2] Set XS-Go-Import-Path --- debian/control | 1 + debian/rules | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index e8a4a91..4aa0123 100644 --- a/debian/control +++ b/debian/control @@ -7,6 +7,7 @@ Build-Depends: debhelper (>= 9), golang-go, Standards-Version: 3.9.7 Homepage: https://github.com/gosexy/gettext +XS-Go-Import-Path: github.com/gosexy/gettext Package: golang-github-gosexy-gettext-dev Architecture: all diff --git a/debian/rules b/debian/rules index 3380075..2d9b72c 100755 --- a/debian/rules +++ b/debian/rules @@ -28,4 +28,3 @@ get-orig-source: echo $(shell git -C $(PKG) log --date=short -r -1 | grep ^Date: | cut -d: -f2 | tr -d ' -') tar -caf "$(PKG)_0~git$(shell git -C $(PKG) log --date=short -r -1 | grep ^Date: | cut -d: -f2 | tr -d ' -').orig.tar.xz" --exclude-vcs --owner=root --group=root --mode=a+rX $(PKG) rm -rf $(PKG) - -- 2.15.1