[Git][debian-gis-team/python-pdal][master] 3 commits: Switch to Python 3.
Bas Couwenberg
gitlab at salsa.debian.org
Sat Mar 30 15:17:01 GMT 2019
Bas Couwenberg pushed to branch master at Debian GIS Project / python-pdal
Commits:
51e335af by Bas Couwenberg at 2019-03-30T15:10:48Z
Switch to Python 3.
- - - - -
22dbec9d by Bas Couwenberg at 2019-03-30T15:10:48Z
Add patch to fix clean target.
- - - - -
e854fd38 by Bas Couwenberg at 2019-03-30T15:10:48Z
Set distribution to experimental.
- - - - -
6 changed files:
- debian/changelog
- debian/control
- + debian/patches/clean-target.patch
- + debian/patches/series
- debian/rules
- debian/source/lintian-overrides
Changes:
=====================================
debian/changelog
=====================================
@@ -1,9 +1,11 @@
-python-pdal (2.1.8+ds-2) UNRELEASED; urgency=medium
+python-pdal (2.1.8+ds-2~exp1) experimental; urgency=medium
* Bump Standards-Version to 4.3.0, no changes.
* Remove package name from lintian overrides.
+ * Switch to Python 3.
+ * Add patch to fix clean target.
- -- Bas Couwenberg <sebastic at debian.org> Tue, 25 Dec 2018 23:08:42 +0100
+ -- Bas Couwenberg <sebastic at debian.org> Sat, 30 Mar 2019 15:46:16 +0100
python-pdal (2.1.8+ds-1) unstable; urgency=medium
=====================================
debian/control
=====================================
@@ -5,25 +5,25 @@ 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,
- libpdal-dev (>= 1.8.0),
- libpdal-plugin-python (>= 1.8.0),
- python-all-dev,
- python-numpy,
- python-packaging,
- python-setuptools
+ cython3,
+ libpdal-dev (>= 1.9~),
+ libpdal-plugin-python (>= 1.9~),
+ python3-all-dev,
+ python3-numpy,
+ python3-packaging,
+ python3-setuptools
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/debian-gis-team/python-pdal
Vcs-Git: https://salsa.debian.org/debian-gis-team/python-pdal.git
Homepage: https://github.com/PDAL/python
-Package: python-pdal
+Package: python3-pdal
Architecture: any
Section: python
-Depends: ${python:Depends},
+Depends: ${python3:Depends},
${shlibs:Depends},
${misc:Depends}
-Description: Point Data Abstraction Library - Python 2 extension
+Description: Point Data Abstraction Library - Python 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
@@ -37,4 +37,4 @@ Description: Point Data Abstraction Library - Python 2 extension
facilities of PCL, but does not in general attempt to duplicate its
capabilities.
.
- This package contains the PDAL extension for Python 2.
+ This package contains the PDAL extension for Python.
=====================================
debian/patches/clean-target.patch
=====================================
@@ -0,0 +1,15 @@
+Description: Don't append library in clean target.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/PDAL/python/pull/24
+
+--- a/setup.py
++++ b/setup.py
+@@ -157,7 +157,7 @@ if DEBUG:
+ extra_compile_args += ['-g','-O0']
+
+ # readers.numpy doesn't exist until PDAL 1.8
+-if PDALVERSION >= Version('1.8'):
++if PDALVERSION is not None and PDALVERSION >= Version('1.8'):
+ libraries.append('pdal_plugin_reader_numpy')
+
+ if os.name in ['nt']:
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+clean-target.patch
=====================================
debian/rules
=====================================
@@ -8,11 +8,11 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export PYBUILD_NAME=pdal
%:
- dh $@ --with python2 --buildsystem pybuild --parallel
+ dh $@ --with python3 --buildsystem pybuild --parallel
override_dh_install:
dh_install --list-missing
-override_dh_python2:
- dh_python2 -ppython-pdal
- dh_numpy -ppython-pdal
+override_dh_python3:
+ dh_python3 -ppython3-pdal
+ dh_numpy3 -ppython3-pdal
=====================================
debian/source/lintian-overrides
=====================================
@@ -1,6 +1,3 @@
-# Only a single Python version is supported by PDAL
-python-foo-but-no-python3-foo python-pdal
-
# Not worth the effort
testsuite-autopkgtest-missing
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pdal/compare/95d8ce36be219d8ec37a32c47c241aa4ed7e30b7...e854fd3897cf1a82656c421d7760928e4c4a5ab2
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pdal/compare/95d8ce36be219d8ec37a32c47c241aa4ed7e30b7...e854fd3897cf1a82656c421d7760928e4c4a5ab2
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20190330/662a8d5b/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list