Commit b493c1e7 authored by Raju Devidas's avatar Raju Devidas 💻

Initial Release

parent 7620272e
Pipeline #36253 passed with stage
in 3 minutes and 6 seconds
golang-github-flynn-json5 (0.0~git20160717.7620272-1) unstable; urgency=medium
* Initial release (Closes: #904705)
-- Raju Devidas <rajudev@disroot.org> Sun, 03 Feb 2019 03:00:10 +0530
Source: golang-github-flynn-json5
Section: devel
Priority: optional
Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
Uploaders: Raju Devidas <rajudev@disroot.org>
Build-Depends: debhelper (>= 11),
dh-golang,
golang-any,
golang-github-kylelemons-godebug-dev,
golang-github-robertkrimen-otto-dev
Standards-Version: 4.3.0
Homepage: https://github.com/flynn/json5
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-flynn-json5
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-flynn-json5.git
XS-Go-Import-Path: github.com/flynn/json5
Testsuite: autopkgtest-pkg-go
Package: golang-github-flynn-json5-dev
Architecture: all
Depends: golang-github-kylelemons-godebug-dev,
golang-github-robertkrimen-otto-dev,
${misc:Depends}
Description: Go JSON5 decoder package based on encoding/json
This is a Go package that implements decoding of JSON5 values.
It provides various functions like Unmarshal, NewDecoder, Buffered,
Decode, UseNumber, Error, Float64, Int64, String, UnmarshalJSON.
The description of the various functions it supports is as following
.
Unmarshal - Itparses the JSON-encoded data and stores the result in the value
pointed to by v.
Decoder - Itreads and decodes JSON values from an input stream.
NewDecoder - Itreturns a new decoder that reads from r.
Buffered - It returns a reader of the data remaining in the Decoder's
buffer. The reader is valid until the next call to Decode.
Decode - Itreads the next JSON-encoded value from its input and stores it in
the value pointed to by v.
UseNumber - Itcauses the Decoder to unmarshal a number into an interface{}
as a Number instead of as a float64.
Float64 - Itreturns the number as a float64.
Int64 - Itreturns the number as an int64.
String - Itreturns the literal text of the number.
UnmarshalJSON - It sets *m to a copy of data.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: json5
Source: https://github.com/flynn/json5
Files-Excluded:
Godeps/_workspace
Files: *
Copyright: 2012 The Go Authors
Copyright: 2012-2016 Aseem Kishore, and others.
License: BSD-3-Clause and Expat
Files: debian/*
Copyright: 2018 Raju Devidas <rajudev@disroot.org>
License: Expat
Comment: Debian packaging is licensed under similar terms as upstream.
License: BSD-3-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
.
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
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.
[DEFAULT]
debian-branch = debian/sid
upstream-branch = upstream
[clone]
postclone = origtargz
# 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"
golang-github-flynn-json5-dev: package-contains-documentation-outside-usr-share-doc
diff --git a/testdata/new-lines/.gitattributes b/testdata/new-lines/.gitattributes
deleted file mode 100644
index 2b3eea6..0000000
--- a/testdata/new-lines/.gitattributes
+++ /dev/null
@@ -1,4 +0,0 @@
-# Since we're testing different representations of new lines,
-# treat all tests in this folder as binary files.
-
-* binary
remove-the-vcs-control-file-from-upstream-source.patch
#!/usr/bin/make -f
%:
dh $@ --buildsystem=golang --with=golang
version=4
opts="\
mode=git,\
pgpmode=none,\
pretty=0.0~git%cd.%h,\
date=%Y%m%d,\
compression=xz,\
" https://github.com/flynn/json5.git \
heads/master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment