[mapbox-variant] 02/03: Initial Debian packaging.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Feb 26 21:41:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository mapbox-variant.

commit 1f0182e74d3b33cae1009911d9259b5d1de97b66
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Feb 26 22:15:49 2016 +0100

    Initial Debian packaging.
---
 debian/changelog         |  5 ++++
 debian/compat            |  1 +
 debian/control           | 28 ++++++++++++++++++
 debian/copyright         | 74 ++++++++++++++++++++++++++++++++++++++++++++++++
 debian/docs              |  2 ++
 debian/gbp.conf          | 16 +++++++++++
 debian/install           |  1 +
 debian/rules             |  7 +++++
 debian/source/format     |  1 +
 debian/upstream/metadata |  6 ++++
 debian/watch             |  7 +++++
 11 files changed, 148 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..039892e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+mapbox-variant (1.1.0-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #816038)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Fri, 26 Feb 2016 21:35:39 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d6bfd10
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: mapbox-variant
+Section: libdevel
+Priority: optional
+Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
+Uploaders: Bas Couwenberg <sebastic at debian.org>
+Build-Depends: debhelper (>= 9),
+               libboost-dev,
+               libboost-system-dev,
+               libboost-timer-dev,
+               libboost-chrono-dev
+Standards-Version: 3.9.7
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/mapbox-variant.git/
+Vcs-Git: https://anonscm.debian.org/git/pkg-grass/mapbox-variant.git
+Homepage: https://github.com/mapbox/variant
+
+Package: libmapbox-variant-dev
+Architecture: all
+Depends: ${misc:Depends}
+Description: Alternative to boost::variant for C++11
+ Mapbox variant has the same speedy performance of boost::variant but is
+ faster to compile, results in smaller binaries, and has no dependencies.
+ .
+ Mapbox variant has been a very valuable, lightweight alternative for
+ apps that can use c++11 or c++14 but that do not want a Boost dependency.
+ Mapbox variant has also been useful in apps that do depend on Boost,
+ like Mapnik, to help (slightly) with compile times and to majorly lessen
+ dependence on Boost in core headers.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..885425a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,74 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Mapbox variant
+Upstream-Contact: MapBox (https://github.com/mapbox/variant/issues)
+Source: https://github.com/mapbox/variant
+
+Files: *
+Copyright: MapBox
+License: BSD-3-Clause
+
+Files: recursive_wrapper.hpp
+Copyright: 2002-2003, Eric Friedman
+           2002-2003, Itay Maman
+License: BSL-1.0
+
+Files: test/include/catch.hpp
+Copyright: 2012, Two Blue Cubes Ltd.
+License: BSL-1.0
+
+Files: debian/*
+Copyright: 2016, Bas Couwenberg <sebastic at debian.org>
+License: BSD-3-Clause
+
+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:
+ .
+ 1) Redistributions of source code must retain the above copyright notice,
+    this list of conditions and the following disclaimer.
+ .
+ 2) 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.
+ .
+ 3) Neither the name of the ORGANIZATION 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 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: BSL-1.0
+ Boost Software License - Version 1.0 - August 17th, 2003
+ .
+ Permission is hereby granted, free of charge, to any person or organization
+ obtaining a copy of the software and accompanying documentation covered by
+ this license (the "Software") to use, reproduce, display, distribute,
+ execute, and transmit the Software, and to prepare derivative works of the
+ Software, and to permit third-parties to whom the Software is furnished to
+ do so, all subject to the following:
+ .
+ The copyright notices in the Software and this entire statement, including
+ the above license grant, this restriction and the following disclaimer,
+ must be included in all copies of the Software, in whole or in part, and
+ all derivative works of the Software, unless such copies or derivative
+ works are solely in the form of machine-executable object code generated by
+ a source language processor.
+ .
+ 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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..eedc49d
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README.md
+doc/*.md
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..21d0417
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,16 @@
+[DEFAULT]
+
+# The default name for the upstream branch is "upstream".
+# Change it if the name is different (for instance, "master").
+upstream-branch = upstream
+
+# The default name for the Debian branch is "master".
+# Change it if the name is different (for instance, "debian/unstable").
+debian-branch = master
+
+# git-import-orig uses the following names for the upstream tags.
+# Change the value if you are not using git-import-orig
+upstream-tag = upstream/%(version)s
+
+# Always use pristine-tar.
+pristine-tar = True
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..f962ba4
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+*.hpp /usr/include/mapbox/variant
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9fab24f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+
+%:
+	dh $@ --parallel
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..43f8fa9
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/mapbox/variant/issues
+Bug-Submit: https://github.com/mapbox/variant/issues/new
+Name: Mapbox variant
+Repository: https://github.com/mapbox/variant.git
+Repository-Browse: https://github.com/mapbox/variant
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..621e6b9
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
+filenamemangle=s/(?:.*?)?(?:rel|v|variant)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/variant-$1.$2/ \
+https://github.com/mapbox/variant/releases \
+(?:.*?/)?(?:rel|v|variant)?[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapbox-variant.git



More information about the Pkg-grass-devel mailing list