[Python-modules-commits] r15218 - in packages/mahotas/trunk (9 files)
luispedro-guest at users.alioth.debian.org
luispedro-guest at users.alioth.debian.org
Thu Dec 30 22:21:06 UTC 2010
Date: Thursday, December 30, 2010 @ 22:21:06
Author: luispedro-guest
Revision: 15218
[svn-inject] Applying Debian modifications (0.6.2-1) to trunk
Added:
packages/mahotas/trunk/debian/
packages/mahotas/trunk/debian/changelog
packages/mahotas/trunk/debian/compat
packages/mahotas/trunk/debian/control
packages/mahotas/trunk/debian/copyright
packages/mahotas/trunk/debian/python-mahotas.preinst
packages/mahotas/trunk/debian/rules
packages/mahotas/trunk/debian/source/
packages/mahotas/trunk/debian/source/format
Property changes on: packages/mahotas/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/mahotas/trunk/debian/changelog
===================================================================
--- packages/mahotas/trunk/debian/changelog (rev 0)
+++ packages/mahotas/trunk/debian/changelog 2010-12-30 22:21:06 UTC (rev 15218)
@@ -0,0 +1,6 @@
+mahotas (0.6.2-1) unstable; urgency=low
+ * source package automatically created by stdeb 0.6.0
+
+ Closes: 608317
+ -- Luis Pedro Coelho <luis at luispedro.org> Tue, 21 Dec 2010 17:22:30 -0500
+
Added: packages/mahotas/trunk/debian/compat
===================================================================
--- packages/mahotas/trunk/debian/compat (rev 0)
+++ packages/mahotas/trunk/debian/compat 2010-12-30 22:21:06 UTC (rev 15218)
@@ -0,0 +1 @@
+7
Added: packages/mahotas/trunk/debian/control
===================================================================
--- packages/mahotas/trunk/debian/control (rev 0)
+++ packages/mahotas/trunk/debian/control 2010-12-30 22:21:06 UTC (rev 15218)
@@ -0,0 +1,50 @@
+Source: mahotas
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+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)
+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.
+ .
+ It includes a couple of algorithms implemented in C++ for speed while operating
+ in numpy arrays.
+ .
+ Notable algorithms:
+ - watershed.
+ - convex points calculations.
+ - hit & miss. thinning.
+ - Zernike & Haralick, LBP, and TAS features.
+ - freeimage based numpy image loading (requires freeimage libraries to be
+ installed).
+ - Speeded-Up Robust Features (SURF), a form of local features.
+ - 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)
+
Added: packages/mahotas/trunk/debian/copyright
===================================================================
--- packages/mahotas/trunk/debian/copyright (rev 0)
+++ packages/mahotas/trunk/debian/copyright 2010-12-30 22:21:06 UTC (rev 15218)
@@ -0,0 +1,8 @@
+Copyright 2008-2010 Luis Pedro Coelho <luis at luispedro.org>
+
+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
Added: packages/mahotas/trunk/debian/python-mahotas.preinst
===================================================================
--- packages/mahotas/trunk/debian/python-mahotas.preinst (rev 0)
+++ packages/mahotas/trunk/debian/python-mahotas.preinst 2010-12-30 22:21:06 UTC (rev 15218)
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+set -e
+
+# This was added by stdeb to workaround Debian #479852. In a nutshell,
+# pycentral does not remove normally remove its symlinks on an
+# upgrade. Since we're using python-support, however, those symlinks
+# will be broken. This tells python-central to clean up any symlinks.
+if [ -e /var/lib/dpkg/info/python-mahotas.list ] && which pycentral >/dev/null 2>&1
+then
+ pycentral pkgremove python-mahotas
+fi
+
+#DEBHELPER#
Added: packages/mahotas/trunk/debian/rules
===================================================================
--- packages/mahotas/trunk/debian/rules (rev 0)
+++ packages/mahotas/trunk/debian/rules 2010-12-30 22:21:06 UTC (rev 15218)
@@ -0,0 +1,19 @@
+#!/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 $@
+
+
Property changes on: packages/mahotas/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/mahotas/trunk/debian/source/format
===================================================================
--- packages/mahotas/trunk/debian/source/format (rev 0)
+++ packages/mahotas/trunk/debian/source/format 2010-12-30 22:21:06 UTC (rev 15218)
@@ -0,0 +1 @@
+1.0
More information about the Python-modules-commits
mailing list