[Python-modules-commits] r15988 - in packages/mahotas/trunk/debian (5 files)

luispedro-guest at users.alioth.debian.org luispedro-guest at users.alioth.debian.org
Fri Mar 4 18:40:47 UTC 2011


    Date: Friday, March 4, 2011 @ 18:40:44
  Author: luispedro-guest
Revision: 15988

ENH Improvements all around

- Use dh_python2
- Update copyright
- Improve documentation

Thanks to Stefano Rivera for suggestions

Modified:
  packages/mahotas/trunk/debian/changelog
  packages/mahotas/trunk/debian/control
  packages/mahotas/trunk/debian/copyright
  packages/mahotas/trunk/debian/rules
  packages/mahotas/trunk/debian/source/format

Modified: packages/mahotas/trunk/debian/changelog
===================================================================
--- packages/mahotas/trunk/debian/changelog	2011-03-04 16:15:09 UTC (rev 15987)
+++ packages/mahotas/trunk/debian/changelog	2011-03-04 18:40:44 UTC (rev 15988)
@@ -1,6 +1,5 @@
-mahotas (0.6.2-1) unstable; urgency=low
-  * source package automatically created by stdeb 0.6.0
+mahotas (0.6.3-1) UNRELEASED; urgency=low
 
-  Closes: 608317
- -- Luis Pedro Coelho <luis at luispedro.org>  Tue, 21 Dec 2010 17:22:30 -0500
+  * Initial release. (Closes: 608317)
 
+ -- Luis Pedro Coelho <luis at luispedro.org>  Thu, 03 Mar 2011 17:46:48 -0500

Modified: packages/mahotas/trunk/debian/control
===================================================================
--- packages/mahotas/trunk/debian/control	2011-03-04 16:15:09 UTC (rev 15987)
+++ packages/mahotas/trunk/debian/control	2011-03-04 18:40:44 UTC (rev 15988)
@@ -3,21 +3,19 @@
 Uploaders: Luis Pedro Coelho <luis at luispedro.org>
 Section: python
 Priority: optional
-Build-Depends: python-setuptools (>= 0.6b3), python-all-dev, debhelper (>= 7), python-support (>= 0.8.4)
+Build-Depends: python-setuptools (>= 0.6b3), python-all-dev, debhelper (>= 7), python-numpy
 Standards-Version: 3.9.1
 
 Package: python-mahotas
 Architecture: any
 Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, libfreeimage3
-XB-Python-Version: ${python:Versions}
-Provides: ${python:Provides}
 Description: Mahotas: Python Image Processing Library
  .
  .
- Image Processing Library for Python.
+ Computer Vision Library for Python.
  .
- It includes a couple of algorithms implemented in C++ for speed while operating
- in numpy arrays.
+ This computer vision library for Python includes many image processing
+ algorithms.
  .
  Notable algorithms:
   - watershed.
@@ -30,21 +28,4 @@
   - thresholding.
   - convolution.
   - Sobel edge detection.
- .
- Example
- .
- This is a simple example of loading a file (called test.jpeg) and calling
- watershed using above threshold regions as a seed (we use Otsu to define
- threshold).
- .
-    import numpy as np
-    from scipy import ndimage
-    import mahotas
-    import pylab
- .
-    img = mahotas.imread('test.jpeg')
-    T_otsu = mahotas.thresholding.otsu(img)
-    seeds,_ = ndimage.label(img > T_otsu)
-    labeled = mahotas.cwatershed(img.max() - img, seeds)
-    pylab.imshow(labeled)
 

Modified: packages/mahotas/trunk/debian/copyright
===================================================================
--- packages/mahotas/trunk/debian/copyright	2011-03-04 16:15:09 UTC (rev 15987)
+++ packages/mahotas/trunk/debian/copyright	2011-03-04 18:40:44 UTC (rev 15988)
@@ -1,8 +1,20 @@
-Copyright 2008-2010 Luis Pedro Coelho <luis at luispedro.org>
+Copyright 2008-2011 Luis Pedro Coelho <luis at luispedro.org>, Zachary Pincus, Peter J. Verveer, and Davis King
+Original source is available at: http://pypi.python.org/pypi/mahotas/0.6.3
 
-Author: Luis Pedro Coelho <luis at luispedro.org>
-Original source is available at: http://pypi.python.org/pypi/mahotas/0.6.2
-
 Packaging by Luis Pedro Coelho
 
-License: GPLv3, see /usr/share/common-licenses/GPL-3
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program; if not, write to the Free Software Foundation, Inc.,
+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+License: GPLv2, see /usr/share/common-licenses/GPL-2

Modified: packages/mahotas/trunk/debian/rules
===================================================================
--- packages/mahotas/trunk/debian/rules	2011-03-04 16:15:09 UTC (rev 15987)
+++ packages/mahotas/trunk/debian/rules	2011-03-04 18:40:44 UTC (rev 15988)
@@ -1,19 +1,8 @@
 #!/usr/bin/make -f
 
-# This file was automatically generated by stdeb 0.6.0 at
-# Tue, 21 Dec 2010 17:22:30 -0500
-
-# Unset the environment variables set by dpkg-buildpackage. (This is
-# necessary because distutils is brittle with compiler/linker flags
-# set. Specifically, packages using f2py will break without this.)
-unexport CPPFLAGS
-unexport CFLAGS
-unexport CXXFLAGS
-unexport FFLAGS
-unexport LDFLAGS
-
-
 %:
-	dh $@
+	dh $@ --with python2
 
+clean:
+	rm -rf *.egg-info/
 

Modified: packages/mahotas/trunk/debian/source/format
===================================================================
--- packages/mahotas/trunk/debian/source/format	2011-03-04 16:15:09 UTC (rev 15987)
+++ packages/mahotas/trunk/debian/source/format	2011-03-04 18:40:44 UTC (rev 15988)
@@ -1 +1 @@
-1.0
+3.0 (quilt)




More information about the Python-modules-commits mailing list