tag 373469 + patch
thanks

  Hi,

  that should allow you to transition.

  plase note that I don't install .a and .la for the python extension
anymore, I don't know if that may hurt (I really don't think so though).


-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org
diff -u opencv-0.9.7/debian/rules opencv-0.9.7/debian/rules
--- opencv-0.9.7/debian/rules
+++ opencv-0.9.7/debian/rules
@@ -124,7 +124,7 @@
        dh_compress -a
        dh_fixperms -a
 #      dh_perl
-#      dh_python
+       dh_pysupport -a
        dh_makeshlibs
        dh_installdeb -a
        dh_shlibdeps -a
diff -u opencv-0.9.7/debian/control opencv-0.9.7/debian/control
--- opencv-0.9.7/debian/control
+++ opencv-0.9.7/debian/control
@@ -2,7 +2,7 @@
 Priority: optional
 Section: devel
 Maintainer: Sam Hocevar (Debian packages) <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), quilt, libjpeg62-dev, zlib1g-dev, 
libpng12-dev, libtiff4-dev, libraw1394-dev, libdc1394-13-dev, libgtk2.0-dev, 
libavcodec-dev (>= 0.cvs20060329-1), libavformat-dev, python2.3-dev, swig
+Build-Depends: debhelper (>= 4.0.0), quilt, libjpeg62-dev, zlib1g-dev, 
libpng12-dev, libtiff4-dev, libraw1394-dev, libdc1394-13-dev, libgtk2.0-dev, 
libavcodec-dev (>= 0.cvs20060329-1), libavformat-dev, python-dev, swig, 
python-support (>= 0.4.1)
 Standards-Version: 3.7.2
 
 Package: opencv-doc
@@ -133,26 +133,11 @@
 
 Package: python-opencv
 Section: python
-Architecture: all
-Depends: python2.3-opencv, ${python:Depends}
-Description: Python bindings for the computer vision library
- This package contains Python bindings for the OpenCV (Open Computer Vision)
- library.
- .
- The Open Computer Vision Library is a collection of algorithms and sample
- code for various computer vision problems. The library is compatible with
- IPL (Intel's Image Processing Library) and, if available, can use IPP
- (Intel's Integrated Performance Primitives) for better performance.
- .
- OpenCV provides low level portable data types and operators, and a set
- of high level functionalities for video acquisition, image processing and
- analysis, structural analysis, motion analysis and object tracking, object
- recognition, camera calibration and 3D reconstruction.
-
-Package: python2.3-opencv
-Section: python
 Architecture: any
 Depends: ${python:Depends}, ${shlibs:Depends}
+Provides: ${python:Provides}
+Replaces: python2.3-opencv (<= 0.9.7-3)
+Conflicts: python2.3-opencv (<= 0.9.7-3)
 Description: Python bindings for the computer vision library
  This package contains Python bindings for the OpenCV (Open Computer Vision)
  library.
diff -u opencv-0.9.7/debian/changelog opencv-0.9.7/debian/changelog
--- opencv-0.9.7/debian/changelog
+++ opencv-0.9.7/debian/changelog
@@ -1,3 +1,10 @@
+opencv (0.9.7-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Migrate package to the new python policy (Closes: #373469).
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]>  Fri, 11 Aug 2006 11:37:21 +0200
+
 opencv (0.9.7-3) unstable; urgency=low
 
   * debian/patches/110_dereferencement.diff:
reverted:
--- opencv-0.9.7/debian/python2.3-opencv.install
+++ opencv-0.9.7.orig/debian/python2.3-opencv.install
@@ -1 +0,0 @@
-/usr/lib/python*
only in patch2:
unchanged:
--- opencv-0.9.7.orig/debian/python-opencv.install
+++ opencv-0.9.7/debian/python-opencv.install
@@ -0,0 +1,2 @@
+/usr/lib/python*/site-packages/opencv/*.py
+/usr/lib/python*/site-packages/opencv/*.so

Attachment: signature.asc
Description: Digital signature

Reply via email to