Commit 8e1c6108 authored by Dmitry Smirnov's avatar Dmitry Smirnov Committed by Dmitry Smirnov

Initial commit

parents
golang-github-fsouza-go-dockerclient (0.0+git20150905-1) unstable; urgency=medium
* Initial release (Closes: TODO)
-- Dmitry Smirnov <onlyjob@debian.org> Tue, 08 Sep 2015 07:20:24 +1000
Source: golang-github-fsouza-go-dockerclient
Section: devel
Priority: extra
Maintainer: pkg-go <pkg-go-maintainers@lists.alioth.debian.org>
Uploaders: Dmitry Smirnov <onlyjob@debian.org>
Build-Depends: debhelper (>= 9),
dh-golang,
golang-go,
golang-logrus-dev,
golang-github-docker-docker-dev | golang-docker-dev,
# golang-github-opencontainers-runc-dev,
golang-github-gorilla-mux-dev,
golang-github-gorilla-context-dev | golang-context-dev,
golang-github-stretchr-testify-dev | golang-testify-dev
Standards-Version: 3.9.6
Homepage: https://github.com/samalba/dockerclient
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-go/packages/golang-github-fsouza-go-dockerclient.git
Vcs-Git: git://anonscm.debian.org/pkg-go/packages/golang-github-fsouza-go-dockerclient.git
Package: golang-github-fsouza-go-dockerclient-dev
Architecture: all
Depends: ${shlibs:Depends},
${misc:Depends},
golang-go,
golang-logrus-dev,
golang-github-docker-docker-dev | golang-docker-dev,
# golang-github-opencontainers-runc-dev,
golang-github-gorilla-mux-dev,
golang-github-gorilla-context-dev | golang-context-dev,
golang-github-stretchr-testify-dev | golang-testify-dev
Built-Using: ${misc:Built-Using}
Description: Docker client library in Go
Client for the Docker remote API with support for the extensions in the
Swarm API.
.
This package also provides support for docker's network API, which is a
simple passthrough to the libnetwork remote API. Note that docker's
network API is only available in docker 1.8 and above, and only enabled in
docker if DOCKER_EXPERIMENTAL is defined during the docker build process.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: go-dockerclient
Source: https://github.com/fsouza/go-dockerclient
Files-Excluded:
external/github.com/Sirupsen/logrus
external/github.com/gorilla/context
external/github.com/gorilla/mux
external/github.com/docker/libcontainer
_FTBFS_external/github.com/docker/docker
__external/github.com/opencontainers/runc
Files: *
Copyright: 2014-2015 go-dockerclient authors
License: BSD-2-clause
Files:
env.go
env_test.go
Copyright: 2014-2015 go-dockerclient authors
2013-2015 Docker, Inc.
License: Apache-2.0
Files: debian/*
Copyright: 2015 Dmitry Smirnov <onlyjob@debian.org>
License: GPL-3+
Files: debian/patches/*
Copyright: 2015 Dmitry Smirnov <onlyjob@debian.org>
License: GPL-3+ or Apache-2.0 or BSD-2-clause
Comment: patches can be licensed under the same terms as upstream.
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian systems, the complete text of the Apache version 2.0 license
can be found in "/usr/share/common-licenses/Apache-2.0".
License: BSD-2-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.
.
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 HOLDER 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: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
The complete text of the GNU General Public License version 3
can be found in "/usr/share/common-licenses/GPL-3".
AUTHORS
README*
[git-dch]
id-length = 0
[import-orig]
pristine-tar = True
merge = False
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DH_GOPKG := github.com/fsouza/go-dockerclient
#export DH_GOLANG_EXCLUDES :=
%:
dh $@ --buildsystem=golang --with=golang --builddirectory=_build
override_dh_clean:
dh_clean
## Remove Files-Excluded (when built from checkout or non-DFSG tarball):
$(RM) -rv `perl -0nE 'say $$1 if m{^Files\-Excluded\:\s*(.*?)(?:\n\n|Files:|Comment:)}sm;' debian/copyright`
override_dh_auto_configure:
dh_auto_configure
perl -0nE 'say $$1 if m{^Files\-Excluded\:\s*(.*?)(?:\n\n|Files:|Comment:)}sm;' debian/copyright \
| while read D; do D="$${D##external/}" ; printf "Removing third party bundle: $$D\n" ;\
perl -pi -E "s{$(DH_GOPKG)/external/$$D}{$$D}msg;" `find _build/src -type f -name "*.go"` ;\
done
override_dh_auto_test:
-dh_auto_test
## http://wiki.debian.org/onlyjob/get-orig-source
.PHONY: get-orig-source
PKD = $(abspath $(dir $(MAKEFILE_LIST)))
PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
VER ?= $(shell dpkg-parsechangelog -l$(PKD)/changelog -SVersion | perl -ne 'print $$1 if m{^(?:\d+:)?(\d.*)(?:\-\d+.*)};')
get-orig-source: $(PKG)_$(VER).orig.tar.xz $(info I: $(PKG)_$(VER))
@
UURL = https://$(DH_GOPKG).git
UDATE = $(shell date --rfc-3339=seconds --date='TZ="UTC" $(shell echo $(VER) | perl -ne 'print "$$1-$$2-$$3" if m/\+(?:git|svn|hg)(\d{4})(\d{2})(\d{2})/')')
$(PKG)_$(VER).orig.tar.xz: $(info I: UDATE=$(UDATE))
$(if $(wildcard $(PKG)-$(VER)),$(error $(PKG)-$(VER) exist, aborting..))
@echo "# Downloading..."
git clone --recursive --single-branch --branch master $(UURL) $(PKG)-$(VER) \
|| $(RM) -r $(PKG)-$(VER)
cd $(PKG)-$(VER) \
&& git checkout v$(VER) || git checkout $$(git log -n1 --format=%h --before="$(UDATE)") \
&& [ -s ChangeLog ] || ( echo "# Generating ChangeLog..." \
; git log --pretty="format:%ad %aN <%aE>%n%n%x09* %s%n" --date=short > ChangeLog \
; touch -d "$$(git log -1 --format='%ci')" ChangeLog) \
&& echo "# Setting times..." \
&& git ls-tree -r --name-only HEAD | while read F ; do touch --no-dereference -d "$$(git log -1 --format="%ai" -- "$$F")" "$$F"; done \
&& echo "# Cleaning-up..." \
&& $(RM) -rv `perl -0nE 'say $$1 if m{^Files\-Excluded\:\s*(.*?)(?:\n\n|Files:|Comment:)}sm;' ../debian/copyright` \
&& $(RM) -r .git .git*
@echo "# Packing..."
find -L "$(PKG)-$(VER)" -xdev -type f -print | LC_ALL=C sort \
| XZ_OPT="-6v" tar -caf "$(PKG)_$(VER).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \
&& $(RM) -r "$(PKG)-$(VER)"
# uscan(1) configuration file.
version=3
https://github.com/fsouza/go-dockerclient/releases \
.*/archive/v?(\d[\d\.]+)\.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