[python-cligj] 02/02: Initial debian files

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Fri Jan 16 20:35:53 UTC 2015


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

johanvdw-guest pushed a commit to branch master
in repository python-cligj.

commit 597b6900cb011cb26f28bf8c63f216a7e120a2cd
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Fri Jan 16 21:35:10 2015 +0100

    Initial debian files
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 38 ++++++++++++++++++++++++++++++++++++++
 debian/copyright     | 34 ++++++++++++++++++++++++++++++++++
 debian/gbp.conf      | 16 ++++++++++++++++
 debian/rules         |  9 +++++++++
 debian/source/format |  1 +
 debian/watch         |  6 ++++++
 8 files changed, 110 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8b27381
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-cligj (0.1.0-1) UNRELEASED; urgency=medium
+
+  * Initial upload (closes: #775528)
+
+ -- Johan Van de Wauw <johan.vandewauw at gmail.com>  Fri, 16 Jan 2015 20:19:49 +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..d39bb71
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,38 @@
+Source: python-cligj
+Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
+Uploaders: Johan Van de Wauw <johan.vandewauw at gmail.com>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-setuptools,
+               python-click,
+               python-all,
+               python3-setuptools,
+               python3-click,
+               python3-all,
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/python-cligj.git
+Vcs-Git: git://anonscm.debian.org/pkg-grass/python-cligj.git
+Homepage: https://github.com/mapbox/cligj
+X-Python-Version: >= 2.5
+
+Package: python-cligj
+Architecture: all
+Depends: ${python:Depends},
+         ${misc:Depends}
+Description: Common arguments and options for GeoJSON processing commands
+ Cligj is a small library which can be used to standardise processing
+ of geoJSON in Python command line programs. 
+ .
+ This package provides the Python 2 version of the library.
+
+Package: python3-cligj
+Architecture: all
+Depends: ${python3:Depends},
+         ${misc:Depends}
+Description: Common arguments and options for GeoJSON processing commands
+ Cligj is a small library which can be used to standardise processing
+ of geoJSON in Python command line programs. 
+ .
+ This package provides the Python 3 version of the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fa98ff3
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Contact: Sean Gillies
+Upstream-Name: cligj
+Source: https://github.com/mapbox/cligj/
+
+Files: *
+Copyright: 2014, Mapbox
+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:
+ . 
+     * 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.
+     * Neither the name of the cligj 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 OWNER 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.
+
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/rules b/debian/rules
new file mode 100755
index 0000000..92440eb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+export PYBUILD_NAME=cligj
+
+%:
+	dh  $@ --with python2,python3 --buildsystem pybuild
+
+
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/watch b/debian/watch
new file mode 100644
index 0000000..e53c712
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=3
+opts="dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/_/./g;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,\
+filenamemangle=s/(?:.*?)?v?(\d[\d\.]*)\.tar\.gz/cligj-$1.tar.gz/" \
+https://github.com/mapbox/cligj/releases \
+(?:.*/)*(?:rel|v|cligj|)[\-\_]?(\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/python-cligj.git



More information about the Pkg-grass-devel mailing list