[python-pdal] 02/11: Initial Debian packaging.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Mar 20 03:32:18 UTC 2016


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

sebastic pushed a commit to branch master
in repository python-pdal.

commit 829d0b0b7bc74000370f3d949255eb7ab4a6a11f
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Mar 19 22:04:39 2016 +0100

    Initial Debian packaging.
---
 debian/changelog         |  5 ++++
 debian/compat            |  1 +
 debian/control           | 67 ++++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright         | 43 +++++++++++++++++++++++++++++++
 debian/gbp.conf          | 16 ++++++++++++
 debian/rules             | 15 +++++++++++
 debian/source/format     |  1 +
 debian/upstream/metadata |  6 +++++
 debian/watch             |  7 +++++
 9 files changed, 161 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c6417f0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-pdal (1.0.0-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #nnnnnn)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Tue, 15 Mar 2016 21:01:31 +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..7115394
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,67 @@
+Source: python-pdal
+Section: science
+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),
+               dh-python,
+               cython,
+               cython3,
+               libpdal-dev,
+               python-all-dev,
+               python-numpy,
+               python-packaging,
+               python-setuptools,
+               python3-all-dev,
+               python3-numpy,
+               python3-packaging,
+               python3-setuptools
+Standards-Version: 3.9.7
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/python-pdal.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-grass/python-pdal.git
+Homepage: https://pypi.python.org/pypi/PDAL
+
+Package: python-pdal
+Architecture: any
+Section: python
+Depends: ${python:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends}
+Description: Point Data Abstraction Library - Python 2 extension
+ PDAL is a BSD licensed library for translating and manipulating point
+ cloud data of various formats. PDAL can be used to read, write and
+ translate point cloud data in many formats. Support is included for
+ input files of LAS, LAZ, SBET, BPF, QFIT and others. PDAL can also read
+ from and write to databases that support point cloud storage, including
+ Oracle, Postgres and SQLite.
+ .
+ PDAL should not be confused with PCL (Point Cloud Library). PCL is a
+ library specifically designed to provide algorithmic analysis and
+ modification of point clouds. PDAL provides a limited interface to the
+ facilities of PCL, but does not in general attempt to duplicate its
+ capabilities.
+ .
+ This package contains the PDAL extension for Python 2.
+
+Package: python3-pdal
+Architecture: any
+Section: python
+Depends: ${python3:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends}
+Description: Point Data Abstraction Library - Python 3 extension
+ PDAL is a BSD licensed library for translating and manipulating point
+ cloud data of various formats. PDAL can be used to read, write and
+ translate point cloud data in many formats. Support is included for
+ input files of LAS, LAZ, SBET, BPF, QFIT and others. PDAL can also read
+ from and write to databases that support point cloud storage, including
+ Oracle, Postgres and SQLite.
+ .
+ PDAL should not be confused with PCL (Point Cloud Library). PCL is a
+ library specifically designed to provide algorithmic analysis and
+ modification of point clouds. PDAL provides a limited interface to the
+ facilities of PCL, but does not in general attempt to duplicate its
+ capabilities.
+ .
+ This package contains the PDAL extension for Python 3.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5a746ba
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,43 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: PDAL
+Upstream-Contact: Hobu, Inc. <howard at hobu.co>
+Source: http://pypi.debian.net/PDAL/
+Comment: The upstream sources are repacked to excluded the imposm.egg-info
+ directory that is automatically removed by dh_clean.
+Files-Excluded: PDAL.egg-info/*
+
+Files: *
+Copyright: 2015, Hobu, Inc. <howard at hobu.co>
+License: BSD-3-Clause
+
+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.
+
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..cb5f756
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+
+export PYBUILD_NAME=PDAL
+
+%:
+	dh $@ --with python2,python3 --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..2632ae4
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/PDAL/PDAL/issues
+Bug-Submit: https://github.com/PDAL/PDAL/issues/new
+Name: PDAL
+Repository: https://github.com/PDAL/PDAL.git
+Repository-Browse: https://github.com/PDAL/PDAL
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..b4171d1
--- /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/;s/RC/rc/,\
+repacksuffix=+ds \
+http://pypi.debian.net/PDAL/ \
+PDAL-(.+)\.(?: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-pdal.git



More information about the Pkg-grass-devel mailing list