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

Bas Couwenberg sebastic at debian.org
Thu Oct 27 19:34:32 UTC 2016


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

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

commit 73ff949cf04894943376b60c803f8d38ec9f5da5
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Oct 27 20:56:29 2016 +0200

    Initial Debian packaging.
---
 debian/changelog                   |   5 ++
 debian/compat                      |   1 +
 debian/control                     |  28 ++++++++
 debian/copyright                   |  51 ++++++++++++++
 debian/gbp.conf                    |  16 +++++
 debian/patches/missing-files.patch | 140 +++++++++++++++++++++++++++++++++++++
 debian/patches/series              |   1 +
 debian/rules                       |  17 +++++
 debian/source/format               |   1 +
 debian/upstream/metadata           |   6 ++
 debian/watch                       |   7 ++
 11 files changed, 273 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2487cba
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+mapbox-vector-tile (0.5.0+ds-1) UNRELEASED; urgency=medium
+
+  * Initial release. (closes: #842297).
+
+ -- Bas Couwenberg <sebastic at debian.org>  Thu, 27 Oct 2016 20:27:54 +0200
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..5045ec1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: mapbox-vector-tile
+Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
+Uploaders: Bas Couwenberg <sebastic at debian.org>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all-dev,
+               python-future,
+               python-setuptools,
+               python-shapely,
+               python-protobuf
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/mapbox-vector-tile.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-grass/mapbox-vector-tile.git
+Homepage: https://github.com/tilezen/mapbox-vector-tile
+
+Package: python-mapbox-vector-tile
+Architecture: any
+Depends: ${python:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends}
+Description: Mapbox Vector Tile library for Python 2
+ mapbox-vector-tile provides encoding & decoding support for data
+ conforming to the Mapbox Vector Tile specification in Python.
+ .
+ This package contains the library for Python 2.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3528940
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,51 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Mapbox Vector Tile
+Upstream-Contact: Harish Krishna <harish.krsn at gmail.com>
+Source: https://github.com/tilezen/mapbox-vector-tile
+Comment: The upstream sources are repacked to excluded the .egg-info
+ directory that is automatically removed by dh_clean.
+Files-Excluded: mapbox_vector_tile.egg-info/*
+
+Files: *
+Copyright: 2014, Mapzen
+License: Expat
+
+Files: debian/*
+Copyright: 2016, Bas Couwenberg <sebastic at debian.org>
+License: GPL-3+
+
+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.
+
+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.
+ .
+ On Debian systems, the full text of the GNU General Public License
+ version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
+
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/patches/missing-files.patch b/debian/patches/missing-files.patch
new file mode 100644
index 0000000..2434d50
--- /dev/null
+++ b/debian/patches/missing-files.patch
@@ -0,0 +1,140 @@
+Description: Add missing files not included in the PyPI tarballs.
+Origin: https://github.com/tilezen/mapbox-vector-tile/tree/0.5.0
+
+--- /dev/null
++++ b/CHANGELOG.md
+@@ -0,0 +1,109 @@
++Version 0.5.0
++-------------
++
++* Improved results from `on_invalid_geometry_make_valid` when the geometry is self-crossing. It was possible for large parts of the geometry to be discarded, and it is now less likely. See [PR 66](https://github.com/tilezen/mapbox-vector-tile/pull/66) for more information.
++
++Version 0.4.0
++-------------
++
++* Custom rounding functions: a `round_fn` parameter was added to the `encode` function, which allows control over how floating point coordinates are transformed to integer ones. See [PR 55](https://github.com/tilezen/mapbox-vector-tile/pull/55).
++* Custom validity functions: an `on_invalid_geometry` parameter was added to the `encode` function, which is called when invalid geometry is found, or created through coordinate rounding. See [PR 46](https://github.com/tilezen/mapbox-vector-tile/pull/46).
++* Winding order bug fix: See [issue 57](https://github.com/tilezen/mapbox-vector-tile/issues/57) and [PR 59](https://github.com/tilezen/mapbox-vector-tile/pull/59).
++* Performance improvements: including a 2x speedup from using `tuple`s instead of `dict`s for coordinates, see [PR 56](https://github.com/tilezen/mapbox-vector-tile/pull/56).
++* Improvements to PY3 compatibility: See [PR 52](https://github.com/tilezen/mapbox-vector-tile/pull/52).
++
++Version 0.3.0
++-------------
++
++* python3 compatability improvements
++* travis integration
++* documentation updates
++* insert CMD_SEG_END for MultiPolygons
++* decode multipolygons correctly
++* encode tiles using version 1
++
++Version 0.2.1
++-------------
++
++* include README.md in distribution to fix install
++
++Version 0.2.0
++-------------
++
++* python3 updates
++* enforce winding order on multipolygons
++* update key/val handling
++* round floating point values instead of truncating
++* add option to quantize bounds
++* add option to flip y coord system
++* add ability to pass custom extents
++
++Version 0.1.0
++-------------
++
++* Add compatibility with python 3
++* Handle multipolygons as single features
++* Use winding order from mapbox vector tile 2.0 spec
++* Support custom extents when decoding
++
++Version 0.0.11
++--------------
++
++* Decode string keys to utf-8
++
++Version 0.0.10
++--------------
++
++* Allow encoder to accept shapely objects directly
++
++Version 0.0.9
++-------------
++
++* Handle tiles from java-vector-tile (zero pad binary integers)
++* Update README
++
++Version 0.0.8
++-------------
++
++* Handle unicode properties
++
++Version 0.0.7
++-------------
++
++* Update id handling behavior
++
++Version 0.0.6
++-------------
++
++* Explode multipolygons into several features
++* https://github.com/tilezen/mapbox-vector-tile/issues/4
++* Resolve issue when id is passed in
++* More tests
++
++Version 0.0.5
++-------------
++
++* Removing the option of encoding floats in big endian
++* Updated tests
++
++Version 0.0.4
++-------------
++
++* Bug fix - does not try to load wkt geom if wkb succeeds 
++
++Version 0.0.3
++-------------
++
++* Option to encode floats in little endian
++
++Version 0.0.2
++-------------
++
++* WKT Support
++* Better Documentation
++* More tests
++
++Version 0.0.1
++-------------
++
++* Initial release
+--- /dev/null
++++ b/LICENSE
+@@ -0,0 +1,22 @@
++The MIT License (MIT)
++
++Copyright (c) 2014 Mapzen
++
++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.
++
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f03fc88
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+missing-files.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..dfb5179
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=mapbox-vector-tile
+
+%:
+	dh $@ \
+		--with python2 \
+		--buildsystem=pybuild \
+		--parallel
+
+override_dh_install:
+	dh_install --list-missing
+
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..57d1049
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/tilezen/mapbox-vector-tile/issues
+Bug-Submit: https://github.com/tilezen/mapbox-vector-tile/issues/new
+Name: Mapbox Vector Tile
+Repository: https://github.com/tilezen/mapbox-vector-tile.git
+Repository-Browse: https://github.com/tilezen/mapbox-vector-tile
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c86b0fc
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/_/./g;s/rel$//;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,\
+repacksuffix=+ds \
+http://pypi.debian.net/mapbox-vector-tile/ \
+mapbox-vector-tile-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Pkg-grass-devel mailing list