This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository python-mapnik.
commit 87907a2c7e1e6796f5fddfb238ed13f463eda554 Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Fri Jun 26 19:04:25 2015 +0200 Add initial Debian packaging. --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 56 ++++++++++++++++++++++++++++++++++++++++++++++++ debian/copyright | 52 ++++++++++++++++++++++++++++++++++++++++++++ debian/gbp.conf | 16 ++++++++++++++ debian/get-orig-source | 19 ++++++++++++++++ debian/rules | 20 +++++++++++++++++ debian/upstream/metadata | 6 ++++++ debian/watch | 3 +++ 9 files changed, 178 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..332cac9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-mapnik (0.0~20150619-e477887-1) UNRELEASED; urgency=medium + + * Initial release. (Closes: #XXXXXX) + + -- Bas Couwenberg <sebas...@debian.org> Fri, 26 Jun 2015 18:52:18 +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..6cca41c --- /dev/null +++ b/debian/control @@ -0,0 +1,56 @@ +Source: python-mapnik +Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org> +Uploaders: Bas Couwenberg <sebas...@debian.org> +Section: python +Priority: optional +Build-Depends: debhelper (>= 9), + dh-python, + libboost-python-dev, + libmapnik-dev, + python-all-dev, + python-setuptools, + python3-all-dev, + python3-setuptools +Standards-Version: 3.9.6 +Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/python-mapnik.git +Vcs-Git: git://anonscm.debian.org/pkg-grass/python-mapnik.git +Homepage: https://github.com/mapnik/python-mapnik +X-Python-Version: >= 2.5 +X-Python3-Version: >= 3.2 + +Package: python-mapnik +Architecture: any +Depends: ${python:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Provides: ${python:Provides} +Description: Python 2 interface to the mapnik library + Mapnik is an OpenSource C++ toolkit for developing GIS + (Geographic Information Systems) applications. At the core is a C++ + shared library providing algorithms/patterns for spatial data access and + visualization. + . + Essentially a collection of geographic objects (map, layer, datasource, + feature, geometry), the library doesn't rely on "windowing systems" and + is intended to work in multi-threaded environments + . + This package contains the bindings for Python 2. + +Package: python3-mapnik +Architecture: any +Depends: ${python3:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Provides: ${python3:Provides} +Description: Python 3 interface to the mapnik library + Mapnik is an OpenSource C++ toolkit for developing GIS + (Geographic Information Systems) applications. At the core is a C++ + shared library providing algorithms/patterns for spatial data access and + visualization. + . + Essentially a collection of geographic objects (map, layer, datasource, + feature, geometry), the library doesn't rely on "windowing systems" and + is intended to work in multi-threaded environments + . + This package contains the bindings for Python 3. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ab41c68 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,52 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: python-mapnik +Upstream-Contact: https://github.com/mapnik/python-mapnik/issues +Source: https://github.com/mapnik/python-mapnik + +Files: * +Copyright: 2015, Artem Pavlenko + 2015, Jean-Francois Doyon + 2010, Robert Coup +License: LGPL-2.1+ + +Files: mapnik/__init__.py +Copyright: 2014, Artem Pavlenko +License: GPL-2+ + +Files: debian/* +Copyright: Bas Couwenberg <sebas...@debian.org> +License: GPL-2+ + +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'. + +License: LGPL-2.1+ + This library 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; either + version 2.1 of the License, or (at your option) any later version. + . + This library 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 + Lesser General Public License for more details. + . + On Debian systems, the full text of the GNU Lesser General Public + License version 2.1 can be found in the file + `/usr/share/common-licenses/LGPL-2.1'. + 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..f612216 --- /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/mapnik/python-mapnik.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..4633a79 --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export PYBUILD_NAME=mapnik + +%: + dh $@ \ + --with python2,python3 \ + --buildsystem=pybuild \ + --parallel + +override_dh_auto_clean: + # Skip + +override_dh_install: + dh_install --list-missing + diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..b489bb1 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,6 @@ +--- +Bug-Database: https://github.com/jswhit/pyproj/issues +Bug-Submit: https://github.com/jswhit/pyproj/issues/new +Name: pyproj +Repository: https://github.com/jswhit/pyproj.git +Repository-Browse: https://github.com/jswhit/pyproj diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..00cd0f8 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +http://pypi.debian.net/mapnik/mapnik-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-mapnik.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