Codebase list golang-github-gobuffalo-packr / debian/1.30.1-0kali1
Initial release Sophie Brun 3 years ago
11 changed file(s) with 121 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 golang-github-gobuffalo-packr (1.30.1-0kali1) kali-dev; urgency=medium
1
2 * Initial release
3
4 -- Sophie Brun <[email protected]> Wed, 29 Apr 2020 16:59:11 +0200
0 Source: golang-github-gobuffalo-packr
1 Section: devel
2 Priority: optional
3 Maintainer: Kali Developers <[email protected]>
4 Uploaders: Sophie Brun <[email protected]>
5 Build-Depends: debhelper-compat (= 12),
6 dh-golang,
7 ca-certificates,
8 golang-any,
9 golang-github-gobuffalo-envy-dev,
10 golang-github-karrick-godirwalk-dev,
11 golang-github-rogpeppe-go-internal-dev,
12 golang-github-spf13-cobra-dev,
13 golang-github-stretchr-testify-dev,
14 golang-golang-x-sync-dev,
15 golang-golang-x-tools-dev,
16 golang-logrus-dev
17 Standards-Version: 4.5.0
18 Vcs-Browser: https://gitlab.com/kalilinux/packages/golang-github-gobuffalo-packr
19 Vcs-Git: https://gitlab.com/kalilinux/packges/golang-github-gobuffalo-packr.git
20 Homepage: https://github.com/gobuffalo/packr
21 Rules-Requires-Root: no
22 XS-Go-Import-Path: github.com/gobuffalo/packr
23 Testsuite: autopkgtest-pkg-go
24
25 Package: golang-github-gobuffalo-packr-dev
26 Architecture: any
27 Depends: ${misc:Depends},
28 ${shlibs:Depends}
29 Built-Using: ${misc:Built-Using}
30 Description: The simple and easy way to embed static files into Go binaries. (program)
31 Packr is a simple solution for bundling static assets inside of Go
32 binaries. Most importantly it does it in a way that is friendly
33 to developers while they are developing.
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: packr
2 Upstream-Contact: TODO
3 Source: https://github.com/gobuffalo/packr
4
5 Files: *
6 Copyright: 2017 Buffalo - The Go Web Eco-System
7 License: Expat
8
9 Files: debian/*
10 Copyright: 2020 Sophie Brun <[email protected]>
11 License: Expat
12 Comment: Debian packaging is licensed under the same terms as upstream
13
14 License: Expat
15 TODO
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 --- a/go.mod
1 +++ b/go.mod
2 @@ -8,5 +8,7 @@ require (
3 github.com/gobuffalo/packr/v2 v2.5.1
4 github.com/spf13/cobra v0.0.5
5 github.com/stretchr/testify v1.3.0
6 + github.com/gobuffalo/logger v1.0.3
7 + github.com/gobuffalo/packd v0.2.0
8 golang.org/x/sync v0.0.0-20190423024810-112230192c58
9 )
0 add-missing-depends.patch
0 #!/usr/bin/make -f
1
2 #export DH_GOPKG := github.com/gobuffalo/packr
3 export GOCACHE=$(CURDIR)/vendor
4 export GOPATH=$(CURDIR)/vendor
5
6 %:
7 dh $@ --builddirectory=_build --buildsystem=golang --with=golang
8
9 override_dh_auto_build:
10 go get -d
11 go install ./...
12
13 override_dh_auto_install:
14 find .
15 dh_auto_install -- --no-source
16
17 override_dh_auto_test:
18
19 override_dh_golang:
0 3.0 (quilt)
0 version=4
1 opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%packr-$1.tar.gz%,\
2 uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/" \
3 https://github.com/gobuffalo/packr/tags .*/v?(\d\S*)\.tar\.gz debian