[Python-modules-commits] r7395 - in packages/mpmath/trunk/debian (7 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Thu Jan 29 18:30:22 UTC 2009


    Date: Thursday, January 29, 2009 @ 18:30:21
  Author: morph
Revision: 7395

  - expanded long description
  - fixed copyright notice and years for packaging
  - restored upstream verbatim LICENSE text, with not paragraphs formatting
* debian/{control,dirs,rules,debian/python-mpmath-doc.docs}
  - added -doc package, renaming 'dirs' to 'python-mpmath-doc.dirs'

Added:
  packages/mpmath/trunk/debian/python-mpmath-doc.dirs
    (from rev 7393, packages/mpmath/trunk/debian/dirs)
  packages/mpmath/trunk/debian/python-mpmath-doc.docs
Modified:
  packages/mpmath/trunk/debian/changelog
  packages/mpmath/trunk/debian/control
  packages/mpmath/trunk/debian/copyright
  packages/mpmath/trunk/debian/rules
Deleted:
  packages/mpmath/trunk/debian/dirs

Modified: packages/mpmath/trunk/debian/changelog
===================================================================
--- packages/mpmath/trunk/debian/changelog	2009-01-29 16:41:40 UTC (rev 7394)
+++ packages/mpmath/trunk/debian/changelog	2009-01-29 18:30:21 UTC (rev 7395)
@@ -5,10 +5,15 @@
     - switch Vcs-Browser field to viewsvn
     - added versioned build-dep on python-sphinx since using newer APIs
     - added texlive-latex-base and dvipng to build-dep since needed to build doc
+    - expanded long description
   * debian/copyright
     - extended copyright years, fixing the copyright holders names
+    - fixed copyright notice and years for packaging
+    - restored upstream verbatim LICENSE text, with not paragraphs formatting
+  * debian/{control,dirs,rules,debian/python-mpmath-doc.docs}
+    - added -doc package, renaming 'dirs' to 'python-mpmath-doc.dirs'
 
- -- Sandro Tosi <morph at debian.org>  Tue, 27 Jan 2009 13:29:12 +0100
+ -- Sandro Tosi <morph at debian.org>  Thu, 29 Jan 2009 19:29:27 +0100
 
 mpmath (0.10-1) unstable; urgency=low
 

Modified: packages/mpmath/trunk/debian/control
===================================================================
--- packages/mpmath/trunk/debian/control	2009-01-29 16:41:40 UTC (rev 7394)
+++ packages/mpmath/trunk/debian/control	2009-01-29 18:30:21 UTC (rev 7395)
@@ -13,9 +13,22 @@
 
 Package: python-mpmath
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, libjs-jquery
-Suggests: python-gmpy (>= 1.03), python-matplotlib
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-gmpy (>= 1.03), python-matplotlib, python-mpmath-doc
 Description: library for arbitrary-precision floating-point arithmetic
+ Mpmath is a pure-Python library for multiprecision floating-point
+ arithmetic. It provides an extensive set of transcendental functions,
+ unlimited exponent sizes, complex numbers, interval arithmetic,
+ numerical integration and differentiation, root-finding, linear
+ algebra, and much more. Almost any calculation can be performed just
+ as well at 10-digit or 1000-digit precision, and in many cases mpmath
+ implements asymptotically fast algorithms that scale well for
+ extremely high precision work.
+ .
+ If available, mpmath will (optionally) use gmpy to speed up high
+ precision operations. If matplotlib is available, mpmath also
+ provides a convenient plotting interface.
+ .
  Its features include:
  .
    * Fair performance -- typically 10-100x faster than Python's
@@ -26,3 +39,35 @@
    * Directed rounding -- floor, ceiling, down, up, half-down,
      half-up, half-even
    * Unlimited exponents -- no overflow or underflow
+
+Package: python-mpmath-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, libjs-jquery
+Suggests: python-mpmath
+Description: library for arbitrary-precision floating-point arithmetic - Documentation
+ Mpmath is a pure-Python library for multiprecision floating-point
+ arithmetic. It provides an extensive set of transcendental functions,
+ unlimited exponent sizes, complex numbers, interval arithmetic,
+ numerical integration and differentiation, root-finding, linear
+ algebra, and much more. Almost any calculation can be performed just
+ as well at 10-digit or 1000-digit precision, and in many cases mpmath
+ implements asymptotically fast algorithms that scale well for
+ extremely high precision work.
+ .
+ If available, mpmath will (optionally) use gmpy to speed up high
+ precision operations. If matplotlib is available, mpmath also
+ provides a convenient plotting interface.
+ .
+ Its features include:
+ .
+   * Fair performance -- typically 10-100x faster than Python's
+     decimal library
+   * Transcendental functions -- all functions from Python's math and
+     cmath modules, plus a few more like gamma, factorial, erf
+   * Complex numbers -- with support for transcendental functions
+   * Directed rounding -- floor, ceiling, down, up, half-down,
+     half-up, half-even
+   * Unlimited exponents -- no overflow or underflow
+ .
+ This package contains the documentation for mpmath Python module.

Modified: packages/mpmath/trunk/debian/copyright
===================================================================
--- packages/mpmath/trunk/debian/copyright	2009-01-29 16:41:40 UTC (rev 7394)
+++ packages/mpmath/trunk/debian/copyright	2009-01-29 18:30:21 UTC (rev 7395)
@@ -14,35 +14,28 @@
 License:
 
     Redistribution and use in source and binary forms, with or without
-    modification, are permitted provided that the following conditions
-    are met:
+    modification, are permitted provided that the following conditions are met:
 
-        a.  Redistributions  of  source  code must  retain  the  above
-        copyright notice,  this list  of conditions and  the following
-        disclaimer.
-        b.  Redistributions in  binary form  must reproduce  the above
-        copyright notice,  this list  of conditions and  the following
-        disclaimer  in   the  documentation  and/or   other  materials
-        provided with the distribution.
-        c.  Neither  the   name  of  mpmath  nor  the   names  of  its
-        contributors  may  be  used  to endorse  or  promote  products
-        derived  from  this software  without  specific prior  written
-        permission.
+      a. Redistributions of source code must retain the above copyright notice,
+         this list of conditions and the following disclaimer.
+      b. Redistributions in binary form must reproduce the above copyright
+         notice, this list of conditions and the following disclaimer in the
+         documentation and/or other materials provided with the distribution.
+      c. Neither the name of mpmath nor the names of its contributors
+         may be used to endorse or promote products derived from this software
+         without specific prior written permission.
 
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+    ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
+    ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+    LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+    OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+    DAMAGE.
 
-    THIS   SOFTWARE  IS   PROVIDED  BY   THE  COPYRIGHT   HOLDERS  AND
-    CONTRIBUTORS  "AS  IS"  AND  ANY EXPRESS  OR  IMPLIED  WARRANTIES,
-    INCLUDING,  BUT   NOT  LIMITED  TO,  THE   IMPLIED  WARRANTIES  OF
-    MERCHANTABILITY   AND  FITNESS  FOR   A  PARTICULAR   PURPOSE  ARE
-    DISCLAIMED.   IN NO  EVENT SHALL  THE REGENTS  OR  CONTRIBUTORS BE
-    LIABLE FOR  ANY DIRECT, INDIRECT,  INCIDENTAL, SPECIAL, EXEMPLARY,
-    OR   CONSEQUENTIAL  DAMAGES  (INCLUDING,   BUT  NOT   LIMITED  TO,
-    PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-    PROFITS;  OR  BUSINESS INTERRUPTION)  HOWEVER  CAUSED  AND ON  ANY
-    THEORY  OF LIABILITY,  WHETHER IN  CONTRACT, STRICT  LIABILITY, OR
-    TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
-    THE USE  OF THIS SOFTWARE, EVEN  IF ADVISED OF  THE POSSIBILITY OF
-    SUCH DAMAGE.
-
-The Debian packaging is (C) 2007, Sandro Tosi <morph at debian.org> and
-is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+The Debian packaging is Copyright (C) 2007-2009, Sandro Tosi <morph at debian.org>
+and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Deleted: packages/mpmath/trunk/debian/dirs
===================================================================
--- packages/mpmath/trunk/debian/dirs	2009-01-29 16:41:40 UTC (rev 7394)
+++ packages/mpmath/trunk/debian/dirs	2009-01-29 18:30:21 UTC (rev 7395)
@@ -1,2 +0,0 @@
-usr/share/doc/python-mpmath/html/
-usr/share/doc/python-mpmath/txt/

Copied: packages/mpmath/trunk/debian/python-mpmath-doc.dirs (from rev 7393, packages/mpmath/trunk/debian/dirs)
===================================================================
--- packages/mpmath/trunk/debian/python-mpmath-doc.dirs	                        (rev 0)
+++ packages/mpmath/trunk/debian/python-mpmath-doc.dirs	2009-01-29 18:30:21 UTC (rev 7395)
@@ -0,0 +1,2 @@
+usr/share/doc/python-mpmath-doc/html/
+usr/share/doc/python-mpmath-doc/txt/


Property changes on: packages/mpmath/trunk/debian/python-mpmath-doc.dirs
___________________________________________________________________
Name: svn:mergeinfo
   + 

Added: packages/mpmath/trunk/debian/python-mpmath-doc.docs
===================================================================
--- packages/mpmath/trunk/debian/python-mpmath-doc.docs	                        (rev 0)
+++ packages/mpmath/trunk/debian/python-mpmath-doc.docs	2009-01-29 18:30:21 UTC (rev 7395)
@@ -0,0 +1 @@
+README

Modified: packages/mpmath/trunk/debian/rules
===================================================================
--- packages/mpmath/trunk/debian/rules	2009-01-29 16:41:40 UTC (rev 7394)
+++ packages/mpmath/trunk/debian/rules	2009-01-29 18:30:21 UTC (rev 7395)
@@ -41,8 +41,8 @@
 	python setup.py install --root=debian/python-mpmath;
 
 	# move generated documentation under subdir to keep doc/ dir clean
-	cp -arp doc/build/* $(CURDIR)/debian/python-mpmath/usr/share/doc/python-mpmath/html/
-	cp -arp doc/source/* $(CURDIR)/debian/python-mpmath/usr/share/doc/python-mpmath/txt/
+	cp -arp doc/build/* $(CURDIR)/debian/python-mpmath-doc/usr/share/doc/python-mpmath-doc/html/
+	cp -arp doc/source/* $(CURDIR)/debian/python-mpmath-doc/usr/share/doc/python-mpmath-doc/txt/
 
 
 # Build architecture-independent files here.
@@ -50,12 +50,12 @@
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs	CHANGES
-	dh_installdocs		README
-	dh_installexamples	demo/*
+	dh_installdocs
+	dh_installexamples	-ppython-mpmath-doc demo/*
 	dh_pysupport
 	dh_compress		-X.py -X.js
 	ln -sf /usr/share/javascript/jquery/jquery.js \
-		$(CURDIR)/debian/python-mpmath/usr/share/doc/python-mpmath/html/_static/jquery.js
+		$(CURDIR)/debian/python-mpmath-doc/usr/share/doc/python-mpmath-doc/html/_static/jquery.js
 	dh_link
 	dh_fixperms
 	dh_installdeb
@@ -64,4 +64,4 @@
 	dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install clean-patched
+.PHONY: build clean binary-indep binary-arch binary install




More information about the Python-modules-commits mailing list