Initial packaging
Shengjing Zhu
3 years ago
|
0 |
golang-github-google-go-dap (0.2.0-1) unstable; urgency=medium
|
|
1 |
|
|
2 |
* Initial release
|
|
3 |
|
|
4 |
-- Shengjing Zhu <zhsj@debian.org> Sun, 30 Aug 2020 17:54:46 +0800
|
|
0 |
Source: golang-github-google-go-dap
|
|
1 |
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
|
|
2 |
Uploaders: Shengjing Zhu <zhsj@debian.org>,
|
|
3 |
Section: devel
|
|
4 |
Testsuite: autopkgtest-pkg-go
|
|
5 |
Priority: optional
|
|
6 |
Build-Depends: debhelper-compat (= 13),
|
|
7 |
dh-golang,
|
|
8 |
golang-any,
|
|
9 |
Standards-Version: 4.5.0
|
|
10 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-google-go-dap
|
|
11 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-google-go-dap.git
|
|
12 |
Homepage: https://github.com/google/go-dap
|
|
13 |
Rules-Requires-Root: no
|
|
14 |
XS-Go-Import-Path: github.com/google/go-dap
|
|
15 |
|
|
16 |
Package: golang-github-google-go-dap-dev
|
|
17 |
Architecture: all
|
|
18 |
Depends: ${misc:Depends},
|
|
19 |
Description: Go implementation of the Debug Adapter Protocol (library)
|
|
20 |
The Debug Adapter Protocol defines the protocol used between an editor
|
|
21 |
or IDE and a debugger or runtime.
|
|
0 |
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
|
1 |
Upstream-Name: go-dap
|
|
2 |
Source: https://github.com/google/go-dap
|
|
3 |
|
|
4 |
Files: *
|
|
5 |
Copyright: 2019-2020 Google Inc.
|
|
6 |
License: Apache-2.0
|
|
7 |
|
|
8 |
Files: debian/*
|
|
9 |
Copyright: 2020 Shengjing Zhu <zhsj@debian.org>
|
|
10 |
License: Apache-2.0
|
|
11 |
Comment: Debian packaging is licensed under the same terms as upstream
|
|
12 |
|
|
13 |
License: Apache-2.0
|
|
14 |
Licensed under the Apache License, Version 2.0 (the "License");
|
|
15 |
you may not use this file except in compliance with the License.
|
|
16 |
You may obtain a copy of the License at
|
|
17 |
.
|
|
18 |
http://www.apache.org/licenses/LICENSE-2.0
|
|
19 |
.
|
|
20 |
Unless required by applicable law or agreed to in writing, software
|
|
21 |
distributed under the License is distributed on an "AS IS" BASIS,
|
|
22 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
23 |
See the License for the specific language governing permissions and
|
|
24 |
limitations under the License.
|
|
25 |
.
|
|
26 |
On Debian systems, the complete text of the Apache version 2.0 license
|
|
27 |
can be found in "/usr/share/common-licenses/Apache-2.0".
|
|
0 |
[DEFAULT]
|
|
1 |
debian-branch = debian/sid
|
|
2 |
dist = DEP14
|
|
0 |
# auto-generated, DO NOT MODIFY.
|
|
1 |
# The authoritative copy of this file lives at:
|
|
2 |
# https://salsa.debian.org/go-team/ci/blob/master/config/gitlabciyml.go
|
|
3 |
|
|
4 |
image: stapelberg/ci2
|
|
5 |
|
|
6 |
test_the_archive:
|
|
7 |
artifacts:
|
|
8 |
paths:
|
|
9 |
- before-applying-commit.json
|
|
10 |
- after-applying-commit.json
|
|
11 |
script:
|
|
12 |
# Create an overlay to discard writes to /srv/gopath/src after the build:
|
|
13 |
- "rm -rf /cache/overlay/{upper,work}"
|
|
14 |
- "mkdir -p /cache/overlay/{upper,work}"
|
|
15 |
- "mount -t overlay overlay -o lowerdir=/srv/gopath/src,upperdir=/cache/overlay/upper,workdir=/cache/overlay/work /srv/gopath/src"
|
|
16 |
- "export GOPATH=/srv/gopath"
|
|
17 |
- "export GOCACHE=/cache/go"
|
|
18 |
# Build the world as-is:
|
|
19 |
- "ci-build -exemptions=/var/lib/ci-build/exemptions.json > before-applying-commit.json"
|
|
20 |
# Copy this package into the overlay:
|
|
21 |
- "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'"
|
|
22 |
- "pgt-gopath -dsc /tmp/export/*.dsc"
|
|
23 |
# Rebuild the world:
|
|
24 |
- "ci-build -exemptions=/var/lib/ci-build/exemptions.json > after-applying-commit.json"
|
|
25 |
- "ci-diff before-applying-commit.json after-applying-commit.json"
|
|
0 |
#!/usr/bin/make -f
|
|
1 |
|
|
2 |
export DH_GOLANG_EXCLUDES := cmd
|
|
3 |
|
|
4 |
%:
|
|
5 |
dh $@ --buildsystem=golang --with=golang
|
|
0 |
version=4
|
|
1 |
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%golang-github-google-go-dap-$1.tar.gz%,\
|
|
2 |
uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/" \
|
|
3 |
https://github.com/google/go-dap/tags .*/v?(\d\S*)\.tar\.gz debian
|