From d06a4184e640275c7690ee2f1e673ca9d7e7b3f0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 16 Apr 2024 19:16:31 +0200 Subject: Adding debian version 2.0.4-1. Signed-off-by: Daniel Baumann --- debian/changelog | 225 +++++++++++++++++++++ debian/clean | 1 + debian/control | 42 ++++ debian/copyright | 31 +++ debian/gbp.conf | 4 + debian/gitlab-ci.yml | 28 +++ debian/go-md2man.install | 1 + debian/go-md2man.manpages | 1 + ...golang-github-cpuguy83-go-md2man-v2-dev.install | 1 + debian/rules | 8 + debian/source/format | 1 + debian/watch | 5 + 12 files changed, 348 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/clean create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100644 debian/gitlab-ci.yml create mode 100644 debian/go-md2man.install create mode 100644 debian/go-md2man.manpages create mode 100644 debian/golang-github-cpuguy83-go-md2man-v2-dev.install create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0744a37 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,225 @@ +go-md2man-v2 (2.0.4-1) unstable; urgency=medium + + * New upstream version 2.0.4 + - Remove vendor dir which is unused + - Prepend table preprocessor + which, together with "Silence "warning: cannot select font 'C'" + with GNU roff 1.23" fixed in v2.0.3, Closes: #1049968 + * Remove now unused "Files-Excluded: vendor" from debian/copyright + + -- Anthony Fok Tue, 26 Mar 2024 17:26:08 -0600 + +go-md2man-v2 (2.0.3+ds1-1) unstable; urgency=medium + + * New upstream version 2.0.3+ds1 + * Drop -dev package’s unneeded dependency on ${shlibs:Depends} + * Bump Standards-Version to 4.6.2 (no change) + + -- Anthony Fok Mon, 23 Oct 2023 04:42:49 -0600 + +go-md2man-v2 (2.0.2+ds1-1) unstable; urgency=medium + + * New upstream version 2.0.2+ds1 + * Replace Built-Using with Static-Built-Using in debian/control + * Bump Standards-Version to 4.6.1 (no change) + + -- Anthony Fok Sun, 05 Jun 2022 07:39:19 -0600 + +go-md2man-v2 (2.0.1+ds1-1) unstable; urgency=medium + + * New upstream version 2.0.1+ds1 + * Update debian/watch to version=4 and to use repacksuffix=+ds1 + * Set source package Section to golang, set go-md2man binary package + Section to doc, and let golang-github-cpuguy83-go-md2man-v2-dev library + package inherit Section setting from source package. + * Use dh-sequence-golang instead of dh-golang and --with=golang + * Bump Standards-Version to 4.6.0 (no change) + * Change go-md2man binary package Architecture from "linux-any" to "any" + * Mark library package with "Multi-Arch: foreign" + * Bump dependency on golang-github-russross-blackfriday-v2-dev to (>= 2.1.0) + * debian/gbp.conf: Set debian-branch to debian/sid for DEP-14 conformance + + -- Anthony Fok Wed, 29 Dec 2021 19:55:48 -0700 + +go-md2man-v2 (2.0.0+ds-5) unstable; urgency=medium + + * Team upload. + * Upload to unstable + * Take over go-md2man + And go-md2man has Multi-Arch: foreign already (Closes: 919454) + + -- Shengjing Zhu Tue, 27 Oct 2020 12:39:40 +0800 + +go-md2man-v2 (2.0.0+ds-4) experimental; urgency=medium + + * Team upload. + * Rename the go-md2man package name. + The binary package go-md2man doesn't need a v2 suffix. It can replace + the old go-md2man built from src:go-md2man. + + -- Shengjing Zhu Sat, 24 Oct 2020 23:39:47 +0800 + +go-md2man-v2 (2.0.0+ds-3) unstable; urgency=medium + + * Team upload. + * Move the Go-Import-Path to github.com/cpuguy83/go-md2man/v2. + So the -dev package can co-install with v1. + The Conflicts on -dev causes golang-github-spf13-cobra and + golang-github-urfave-cli failed to migrate to testing. + * Add Rules-Requires-Root + * Fix Vcs URL to v2 repo + + -- Shengjing Zhu Sat, 24 Oct 2020 23:02:52 +0800 + +go-md2man-v2 (2.0.0+ds-2) unstable; urgency=medium + + * Team upload. + * sourceful upload for migration to testing + + -- Drew Parsons Fri, 02 Oct 2020 15:53:12 +0800 + +go-md2man-v2 (2.0.0+ds-1) unstable; urgency=medium + + * Team upload. + * update package name to go-md2man-v2 and conflict with v1 dev + package. + Executable package Conflicts and Replaces v1. + * New upstream release (first v2 release) + * Depends: golang-github-russross-blackfriday-v2-dev (>= 2.0.1~) + * Conflicts: golang-github-cpuguy83-go-md2man-dev + * Standards-Version: 4.5.0 + * debhelper compatibility level 13 + + -- Drew Parsons Mon, 28 Sep 2020 13:16:12 +0800 + +go-md2man (1.0.10+ds-1) unstable; urgency=medium + + * New upstream version 1.0.10 + * Apply "cme fix dpkg" fixes: + - Update debhelper dependency to "Build-Depends: debhelper-compat (= 12)" + - Bump Standards-Version to 4.4.0 (no change) + * Replace override_dh_auto_clean with debian/clean + * Update versioned dependency on golang-github-russross-blackfriday-dev + to (>= 1.5.2~) according to go.mod + + -- Anthony Fok Sun, 11 Aug 2019 01:34:58 -0600 + +go-md2man (1.0.8+ds-1) unstable; urgency=medium + + [ Paul Tagliamonte ] + * Remove Built-Using from arch:all -dev package + + [ Alexandre Viau ] + * Point Vcs-* urls to salsa.debian.org. + + [ Anthony Fok ] + * New upstream release. + * Apply "cme fix dpkg" to debian/control, + bumping Standards-Version to 4.1.4, + setting Priority to optional, + adding Testsuite: autopkgtest-pkg-go, etc. + + -- Anthony Fok Tue, 10 Apr 2018 05:15:47 -0600 + +go-md2man (1.0.6+git20170603.6.23709d0+ds-1) unstable; urgency=medium + + [ Riku Voipio ] + * Increase required version to avoid FTBFS in backports + + [ Anthony Fok ] + * New upstream snapshot. + * Bump Standards-Version to 4.0.0: + Use https form of the copyright-format URL in debian/copyright. + * Use debhelper (>= 10). + + -- Anthony Fok Sun, 09 Jul 2017 09:29:03 -0600 + +go-md2man (1.0.6+ds-1) unstable; urgency=medium + + * New upstream version 1.0.6 + * Exclude vendored-in dependencies that were added in 1.0.6 + * Remove now unused Lintian override of statically-linked-binary + usr/bin/go-md2man + + -- Anthony Fok Mon, 02 Jan 2017 18:00:44 -0700 + +go-md2man (1.0.5-2) unstable; urgency=medium + + * Update debian/control + - Change architecture-specific golang-go and gccgo to the new + "golang-any" package in Build-Depends + - Bump Standards-Version to 3.9.8 (no change) + - Use secure https URLs for Vcs-* fields + + -- Anthony Fok Thu, 09 Jun 2016 06:20:43 -0600 + +go-md2man (1.0.5-1) unstable; urgency=medium + + * Update to 1.0.5 upstream release, with improved man page rendering: + - Disable hyphenation + - Disable justification (adjust text to left margin only) + - Fix output for bulleted lists and numbered lists + - Escape initial apostrophe and period to prevent a line of text + from being misinterpreted as a request/macro, leading to + "warning: macro 'xxx' not defined" and missing text. + * Use architecture instead of alternatives in Build-Depends because + sbuild ignores alternatives in Build-Depends (Closes: #785649). + * Remove Depends: golang-go from -dev package so it can be used by + other Go packages on gccgo-only platforms. + * Revise debian/watch to skip upstream v1.tar.gz, which for some reasons + the current uscan thinks is the latest... :-p + * Add Lintian override for statically-linked-binary + * Add myself to the list of Uploaders + + -- Anthony Fok Wed, 13 Jan 2016 16:30:40 -0700 + +go-md2man (1.0.4-3) unstable; urgency=medium + + * Allow gccgo to satisfy our "go" needs (Closes: #785649). + + -- Tianon Gravi Thu, 15 Oct 2015 13:00:34 -0700 + +go-md2man (1.0.4-2) unstable; urgency=medium + + * Update to 1.0.4 upstream release (Closes: #798585). + * Rename "golang-go-md2man-dev" to "golang-github-cpuguy83-go-md2man-dev" for + pkg-go policy compliance. + * Add Conflicts/Provides/Replaces (doh!). + + -- Tianon Gravi Thu, 10 Sep 2015 20:25:34 -0700 + +go-md2man (1.0.3-1) unstable; urgency=medium + + * Update to 1.0.3 upstream release. + + -- Tianon Gravi Wed, 29 Jul 2015 23:46:50 -0600 + +go-md2man (1.0.2-1) unstable; urgency=medium + + * Upload to unstable. + + -- Tianon Gravi Sat, 02 May 2015 18:49:13 -0600 + +go-md2man (1.0.2-1~exp1) experimental; urgency=low + + * Update to 1.0.2 upstream release. + - Add manpage (Closes: #760486) + - Fix header parsing + - Fix code block output + * Fix minor Description capitalization error. + * Update Standards-Version to 3.9.6. + + -- Tianon Gravi Wed, 28 Jan 2015 23:24:14 -0700 + +go-md2man (1-2) unstable; urgency=medium + + * Team Upload. + * Update md2man's description. Thanks, Luke! + + -- Paul Tagliamonte Sun, 24 Aug 2014 20:53:41 -0400 + +go-md2man (1-1) unstable; urgency=medium + + * Initial release. + + -- Tianon Gravi Sat, 23 Aug 2014 23:11:50 -0400 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..063363d --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +go-md2man.1 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c676bb8 --- /dev/null +++ b/debian/control @@ -0,0 +1,42 @@ +Source: go-md2man-v2 +Section: golang +Priority: optional +Maintainer: Debian Go Packaging Team +Uploaders: Tianon Gravi , + Anthony Fok +Rules-Requires-Root: no +Build-Depends: debhelper-compat (= 13), + dh-sequence-golang, + golang-any, + golang-github-russross-blackfriday-v2-dev (>= 2.1.0) +Testsuite: autopkgtest-pkg-go +Standards-Version: 4.6.2 +Vcs-Browser: https://salsa.debian.org/go-team/packages/go-md2man-v2 +Vcs-Git: https://salsa.debian.org/go-team/packages/go-md2man-v2.git +Homepage: https://github.com/cpuguy83/go-md2man +XS-Go-Import-Path: github.com/cpuguy83/go-md2man/v2 + +Package: go-md2man +Section: doc +Architecture: any +Multi-Arch: foreign +Depends: ${misc:Depends}, + ${shlibs:Depends} +Conflicts: go-md2man-v2 +Static-Built-Using: ${misc:Static-Built-Using} +Description: utility to create manpages from markdown + Turns Markdown into manpages, which is really handy for people + that don't want to learn how to make manpages from stuff like DocBook. + . + This package contains the conversion binary for go-md2man version 2. + +Package: golang-github-cpuguy83-go-md2man-v2-dev +Architecture: all +Multi-Arch: foreign +Depends: golang-github-russross-blackfriday-v2-dev (>= 2.1.0), + ${misc:Depends} +Description: utility to create manpages from markdown (source) + Turns Markdown into manpages, which is really handy for people + that don't want to learn how to make manpages from stuff like DocBook. + . + This package contains the source for go-md2man version 2. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..464ec1b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://github.com/cpuguy83/go-md2man +Upstream-Contact: https://github.com/cpuguy83/go-md2man/issues/new +Upstream-Name: go-md2man + +Files: * +Copyright: 2014 Brian Goff +License: Expat + +Files: debian/* +Copyright: 2014 Tianon Gravi +License: Expat + +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..03fc40b --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,4 @@ +[DEFAULT] +debian-branch = debian/sid +dist = DEP14 +pristine-tar = True diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml new file mode 100644 index 0000000..5c8c31b --- /dev/null +++ b/debian/gitlab-ci.yml @@ -0,0 +1,28 @@ + +# auto-generated, DO NOT MODIFY. +# The authoritative copy of this file lives at: +# https://salsa.debian.org/go-team/ci/blob/master/cmd/ci/gitlabciyml.go + +# TODO: publish under debian-go-team/ci +image: stapelberg/ci2 + +test_the_archive: + artifacts: + paths: + - before-applying-commit.json + - after-applying-commit.json + script: + # Create an overlay to discard writes to /srv/gopath/src after the build: + - "rm -rf /cache/overlay/{upper,work}" + - "mkdir -p /cache/overlay/{upper,work}" + - "mount -t overlay overlay -o lowerdir=/srv/gopath/src,upperdir=/cache/overlay/upper,workdir=/cache/overlay/work /srv/gopath/src" + - "export GOPATH=/srv/gopath" + - "export GOCACHE=/cache/go" + # Build the world as-is: + - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > before-applying-commit.json" + # Copy this package into the overlay: + - "GBP_CONF_FILES=:debian/gbp.conf gbp buildpackage --git-no-pristine-tar --git-ignore-branch --git-ignore-new --git-export-dir=/tmp/export --git-no-overlay --git-tarball-dir=/nonexistant --git-cleaner=/bin/true --git-builder='dpkg-buildpackage -S -d --no-sign'" + - "pgt-gopath -dsc /tmp/export/*.dsc" + # Rebuild the world: + - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > after-applying-commit.json" + - "ci-diff before-applying-commit.json after-applying-commit.json" diff --git a/debian/go-md2man.install b/debian/go-md2man.install new file mode 100644 index 0000000..d7e91c5 --- /dev/null +++ b/debian/go-md2man.install @@ -0,0 +1 @@ +usr/bin/go-md2man diff --git a/debian/go-md2man.manpages b/debian/go-md2man.manpages new file mode 100644 index 0000000..063363d --- /dev/null +++ b/debian/go-md2man.manpages @@ -0,0 +1 @@ +go-md2man.1 diff --git a/debian/golang-github-cpuguy83-go-md2man-v2-dev.install b/debian/golang-github-cpuguy83-go-md2man-v2-dev.install new file mode 100644 index 0000000..a3da66d --- /dev/null +++ b/debian/golang-github-cpuguy83-go-md2man-v2-dev.install @@ -0,0 +1 @@ +usr/share/gocode diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..39007b1 --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh $@ --builddirectory=_build --buildsystem=golang + +execute_after_dh_auto_build: + mv _build/bin/v2 _build/bin/go-md2man + _build/bin/go-md2man -in go-md2man.1.md -out go-md2man.1 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..e4d07fd --- /dev/null +++ b/debian/watch @@ -0,0 +1,5 @@ +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%,\ + uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/$1~$2$3/, \ + dversionmangle=s/\+ds\d*$//,repacksuffix=+ds1" \ + https://github.com/cpuguy83/go-md2man/tags .*/v?(\d\S*)\.tar\.gz debian -- cgit v1.2.3