[Git][debian-gis-team/otb][master] Drop Python 2 support.

Bas Couwenberg gitlab at salsa.debian.org
Sun Jul 21 20:57:43 BST 2019



Bas Couwenberg pushed to branch master at Debian GIS Project / otb


Commits:
3dd6e44f by Bas Couwenberg at 2019-07-21T19:57:15Z
Drop Python 2 support.

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/control.in
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+otb (6.6.1+dfsg-2~exp2) UNRELEASED; urgency=medium
+
+  * Drop Python 2 support.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 21 Jul 2019 21:57:05 +0200
+
 otb (6.6.1+dfsg-2~exp1) experimental; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -38,8 +38,6 @@ Build-Depends: debhelper (>= 9),
                libtinyxml-dev,
                libtool,
                pkg-kde-tools,
-               python-dev,
-               python-numpy,
                python3-dev,
                python3-numpy,
                qtbase5-dev,
@@ -958,23 +956,6 @@ Description: ORFEO Toolbox translations
  .
  This package contains the translations for OTB applications and libraries.
 
-Package: python-otb
-Architecture: any
-Section: python
-Depends: libotb-apps (= ${binary:Version}),
-         ${shlibs:Depends},
-         ${misc:Depends},
-         python,
-         dh-python
-Description: ORFEO Toolbox Python API for applications (Python 2)
- ORFEO Toolbox (OTB) is distributed as an open source library of image
- processing algorithms. OTB is based on the medical image processing library
- ITK and offers particular functionalities for remote sensing image processing
- in general and for high spatial resolution images in particular.
- .
- This package contains the Python 2 API that can be used to create Python
- versions of existing OTB applications provided by the libotb-apps package.
-
 Package: python3-otb
 Architecture: any
 Section: python


=====================================
debian/control.in
=====================================
@@ -38,8 +38,6 @@ Build-Depends: debhelper (>= 9),
                libtinyxml-dev,
                libtool,
                pkg-kde-tools,
-               python-dev,
-               python-numpy,
                python3-dev,
                python3-numpy,
                qtbase5-dev,
@@ -958,23 +956,6 @@ Description: ORFEO Toolbox translations
  .
  This package contains the translations for OTB applications and libraries.
 
-Package: python-otb
-Architecture: any
-Section: python
-Depends: libotb-apps (= ${binary:Version}),
-         ${shlibs:Depends},
-         ${misc:Depends},
-         python,
-         dh-python
-Description: ORFEO Toolbox Python API for applications (Python 2)
- ORFEO Toolbox (OTB) is distributed as an open source library of image
- processing algorithms. OTB is based on the medical image processing library
- ITK and offers particular functionalities for remote sensing image processing
- in general and for high spatial resolution images in particular.
- .
- This package contains the Python 2 API that can be used to create Python
- versions of existing OTB applications provided by the libotb-apps package.
-
 Package: python3-otb
 Architecture: any
 Section: python


=====================================
debian/rules
=====================================
@@ -81,7 +81,7 @@ templates:
 OTB_LIB_DIRS = $(CURDIR)/debian/tmp/usr/lib
 
 %:
-	dh $@ --with pkgkde_symbolshelper --parallel
+	dh $@ --with python3,pkgkde_symbolshelper --parallel
 
 override_dh_auto_configure: templates
 	dh_auto_configure -- $(CMAKE_FLAGS)
@@ -106,10 +106,6 @@ override_dh_installchangelogs:
 override_dh_installdocs:
 	dh_installdocs -A NOTICE
 
-override_dh_python2:
-	dh_python2
-	dh_numpy
-
 override_dh_python3:
 	dh_python3
 	dh_numpy3



View it on GitLab: https://salsa.debian.org/debian-gis-team/otb/commit/3dd6e44f638ea53a99e022a7335c328880317fff

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/otb/commit/3dd6e44f638ea53a99e022a7335c328880317fff
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/20190721/b839a4b5/attachment-0001.html>


More information about the Pkg-grass-devel mailing list