initial debian packaging

parent bb006b60
golang-github-juju-ansiterm (0.0~git20161107.35c59b9-1) unstable; urgency=medium
* Initial release (Closes: #886613)
-- Alexandre Viau <aviau@debian.org> Mon, 08 Jan 2018 00:09:53 -0500
Source: golang-github-juju-ansiterm
Section: devel
Priority: optional
Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
Uploaders: Alexandre Viau <aviau@debian.org>
Build-Depends: debhelper (>= 10),
dh-golang,
golang-any,
golang-github-mattn-go-colorable-dev,
golang-github-mattn-go-isatty-dev,
golang-github-lunixbochs-vtclean-dev,
golang-gopkg-check.v1-dev
Standards-Version: 4.1.1
Homepage: https://github.com/juju/ansiterm
Vcs-Browser: https://salsa.debian.org/pkg-go-team/golang-github-juju-ansiterm
Vcs-Git: https://salsa.debian.org/pkg-go-team/golang-github-juju-ansiterm.git
XS-Go-Import-Path: github.com/juju/ansiterm
Testsuite: autopkgtest-pkg-go
Package: golang-github-juju-ansiterm-dev
Architecture: all
Depends: ${shlibs:Depends},
${misc:Depends},
golang-github-mattn-go-colorable-dev,
golang-github-mattn-go-isatty-dev,
golang-github-lunixbochs-vtclean-dev,
golang-gopkg-check.v1-dev
Description: colored writers and tabwriters
Package ansiterm provides a Writer that writes out the ANSI escape codes
for color and styles.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ansiterm
Source: https://github.com/juju/ansiterm
Files-Excluded: vendor Godeps/_workspace
Files: *
Copyright: 2016 Canonical Ltd
License: LGPL-3.0-with-exception
Files: tabwriter/*
Copyright: 2009 The Go Authors
License: BSD-3-Clause
Comment: I notified upstream about missing a BSD
license: https://github.com/juju/ansiterm/pull/6
Files: debian/*
Copyright: 2018 Alexandre Viau <aviau@debian.org>
License: LGPL-3.0-with-exception and BSD-3-Clause
Comment: Debian packaging is licensed under the same terms as upstream
License: LGPL-3.0-with-exception
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; version 3 of the License.
.
On Debian systems, the complete text of the latest version of the GNU Lesser
General Public License can be found in `/usr/share/common-licenses/LGPL-3'.
.
As a special exception to the GNU Lesser General Public License version 3
("LGPL3"), the copyright holders of this Library give you permission to
convey to a third party a Combined Work that links statically or dynamically
to this Library without providing any Minimal Corresponding Source or
Minimal Application Code as set out in 4d or providing the installation
information set out in section 4e, provided that you comply with the other
provisions of LGPL3 and provided that you meet, for the Application the
terms and conditions of the license(s) which apply to the Application.
.
Except as stated in this special exception, the provisions of LGPL3 will
continue to comply in full to this Library. If you modify this Library, you
may apply this exception to your version of this Library, but you are not
obliged to do so. If you do not wish to do so, delete this exception
statement from your version. This exception does not (and cannot) modify any
license terms which apply to the Application, with which you must still
comply.
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.
[DEFAULT]
pristine-tar = True
#!/usr/bin/make -f
%:
dh $@ --buildsystem=golang --with=golang
version=3
opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/golang-github-juju-ansiterm-\$1\.tar\.gz/,\
uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \
https://github.com/juju/ansiterm/tags .*/v?(\d\S*)\.tar\.gz
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