This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository pyosmium.
commit 0fcb2c08ae875fd2155013f699b104580af09dad Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Fri Mar 6 15:34:05 2015 +0100 Initial Debian packaging. --- debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 66 ++++++++++++++++++++++++++++++++++++++++++++++++ debian/copyright | 53 ++++++++++++++++++++++++++++++++++++++ debian/gbp.conf | 16 ++++++++++++ debian/get-orig-source | 19 ++++++++++++++ debian/rules | 10 ++++++++ debian/source/format | 1 + debian/upstream/metadata | 7 +++++ 9 files changed, 178 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..cca1f95 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pyosmium (0.0~20150204-298c708-1) UNRELEASED; urgency=medium + + * Initial release (Closes: #779932) + + -- Bas Couwenberg <sebas...@debian.org> Fri, 06 Mar 2015 15:28:44 +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..ecc7a1d --- /dev/null +++ b/debian/control @@ -0,0 +1,66 @@ +Source: pyosmium +Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org> +Uploaders: Bas Couwenberg <sebas...@debian.org> +Section: science +Priority: optional +Build-Depends: debhelper (>= 9), + dh-python, + python-all-dev, + python-setuptools, + python3-all-dev, + python3-setuptools +Standards-Version: 3.9.6 +Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/pyosmium.git/ +Vcs-Git: git://anonscm.debian.org/pkg-grass/pyosmium.git +Homepage: http://osmcode.org/pyosmium/ + +Package: python-pyosmium +Architecture: any +Section: python +Depends: ${python:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Suggests: osmium, + osmium-contrib, + node-osmium +Provides: ${python:Provides} +Description: Osmium library bindings for Python + The PyOsmium module allows you to access some of the features of the Osmium + library from Python code. + . + The Osmium library has extensive support for all types of OSM entities: nodes, + ways, relations, and changesets. It allows reading from and writing to OSM + files in XML and PBF formats, including change files and full history files. + Osmium can store OSM data in memory and on disk in various formats and using + various indexes. Its easy to use handler interface allows you to quickly write + data filtering and conversion functions. Osmium can create WKT, WKB, OGR, GEOS + and GeoJSON geometries for easy conversion into many GIS formats and it can + assemble multipolygons from ways and relations. + . + This package contains the PyOsmium module for Python 2. + +Package: python3-pyosmium +Architecture: any +Section: python +Depends: ${python3:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Suggests: osmium, + osmium-contrib, + node-osmium +Provides: ${python3:Provides} +Description: Osmium library bindings for Python 3 + The PyOsmium module allows you to access some of the features of the Osmium + library from Python code. + . + The Osmium library has extensive support for all types of OSM entities: nodes, + ways, relations, and changesets. It allows reading from and writing to OSM + files in XML and PBF formats, including change files and full history files. + Osmium can store OSM data in memory and on disk in various formats and using + various indexes. Its easy to use handler interface allows you to quickly write + data filtering and conversion functions. Osmium can create WKT, WKB, OGR, GEOS + and GeoJSON geometries for easy conversion into many GIS formats and it can + assemble multipolygons from ways and relations. + . + This package contains the PyOsmium module for Python 3. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..bee0589 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,53 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: PyOsmium +Upstream-Contact: Osmium Developers <d...@openstreetmap.org> +Source: https://github.com/osmcode/pyosmium + +Files: * +Copyright: 2014, Sarah Hoffmann +License: BSD-2-Clause + +Files: debian/* +Copyright: © 2015, Bas Couwenberg <sebas...@debian.org> +License: GPL-2+ + +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: + . + 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. + . + 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-2+ + 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 2 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. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian systems, the complete text of version 2 of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. + 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/get-orig-source b/debian/get-orig-source new file mode 100755 index 0000000..2e49d50 --- /dev/null +++ b/debian/get-orig-source @@ -0,0 +1,19 @@ +#!/bin/bash + +REMOTE=upstream +BRANCH=${REMOTE}/master + +if [ $(git remote show ${REMOTE} | wc -l) -eq 0 ]; then + git remote add ${REMOTE} https://github.com/osmcode/pyosmium.git +fi + +git fetch ${REMOTE} --no-tags + +PACKAGE=$(dpkg-parsechangelog | grep ^Source: | awk '{print $2}') + +COMMIT=$(git log -n1 --format=format:%h ${BRANCH}) +DATE=$(date +%Y%m%d --date="@$(git log -n1 --format=format:%ct ${BRANCH})") + +VERSION="0.0~${DATE}-${COMMIT}" + +git archive --format=tar.gz --prefix=${PACKAGE}-${VERSION}/ -o ../${PACKAGE}_${VERSION}.orig.tar.gz ${BRANCH} diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..6f059c0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +# DH_VERBOSE := 1 + +%: + dh $@ --parallel + +get-orig-source: + . debian/get-orig-source + 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..edfb105 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,7 @@ +--- +Bug-Database: https://github.com/osmcode/pyosmium/issues +Bug-Submit: https://github.com/osmcode/pyosmium/issues/new +Contact: Osmium Developers <d...@openstreetmap.org> +Name: PyOsmium +Repository: https://github.com/osmcode/pyosmium.git +Repository-Browse: https://github.com/osmcode/pyosmium -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pyosmium.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel