[Python-modules-commits] r6317 - in packages/mpmath/trunk/debian (8 files)
morph-guest at users.alioth.debian.org
morph-guest at users.alioth.debian.org
Sat Aug 23 20:55:07 UTC 2008
Date: Saturday, August 23, 2008 @ 20:55:04
Author: morph-guest
Revision: 6317
bump Standards-Version to 3.8.0; doc generation at build time; added dpatch stuff to fix doc version; extended copyright years
Added:
packages/mpmath/trunk/debian/patches/
packages/mpmath/trunk/debian/patches/00list
packages/mpmath/trunk/debian/patches/10_fix_doc_version.dpatch
Modified:
packages/mpmath/trunk/debian/TODO.Debian
packages/mpmath/trunk/debian/changelog
packages/mpmath/trunk/debian/control
packages/mpmath/trunk/debian/copyright
packages/mpmath/trunk/debian/rules
Modified: packages/mpmath/trunk/debian/TODO.Debian
===================================================================
--- packages/mpmath/trunk/debian/TODO.Debian 2008-08-23 19:19:11 UTC (rev 6316)
+++ packages/mpmath/trunk/debian/TODO.Debian 2008-08-23 20:55:04 UTC (rev 6317)
@@ -1,2 +1 @@
-- build html doc once sphinx will be available in debian (I see an ITP somewhere aroud)
- run tests?
Modified: packages/mpmath/trunk/debian/changelog
===================================================================
--- packages/mpmath/trunk/debian/changelog 2008-08-23 19:19:11 UTC (rev 6316)
+++ packages/mpmath/trunk/debian/changelog 2008-08-23 20:55:04 UTC (rev 6317)
@@ -1,14 +1,29 @@
-mpmath (0.8-2) UNRELEASED; urgency=low
+mpmath (0.9-1) UNRELEASED; urgency=low
[ Sandro Tosi ]
- * NOT RELEASED YET
+ * New upstream release
* debian/control
- added "XS-DM-Upload-Allowed: yes"
+ - added python-gmpy to suggests (used when available to speed-up high
+ precision calculations)
+ - added python-sphinx to build-dep-indep (to build documentation)
+ - bump Standards-Version to 3.8.0 (no changes needed)
+ - added libjs-jquery to depends, needed for sphinx doc
+ - added dpatch to build-dep
+ * debian/rules
+ - build and install sphinx doc
+ - removed embedded jquery.js, linking to the one from libjs-jquery
+ - added dh_link call
+ - enabled dpatch stuff
+ * debian/copyright
+ - extended copyright years
+ * debian/patches/10_fix_doc_version.dpatch
+ - added to fix the doc version of mpmath
[ Ondrej Certik ]
* Ondrej Certik added to Uploaders
- -- Ondrej Certik <ondrej at certik.cz> Wed, 02 Jul 2008 10:23:53 +0200
+ -- Sandro Tosi <matrixhasu at gmail.com> Sat, 23 Aug 2008 22:54:12 +0200
mpmath (0.8-1) unstable; urgency=low
Modified: packages/mpmath/trunk/debian/control
===================================================================
--- packages/mpmath/trunk/debian/control 2008-08-23 19:19:11 UTC (rev 6316)
+++ packages/mpmath/trunk/debian/control 2008-08-23 20:55:04 UTC (rev 6317)
@@ -3,9 +3,9 @@
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Sandro Tosi <matrixhasu at gmail.com>, Ondrej Certik <ondrej at certik.cz>
-Build-Depends: debhelper (>= 5), python
-Build-Depends-Indep: python-support (>= 0.4)
-Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 5), python, dpatch
+Build-Depends-Indep: python-support (>= 0.4), python-sphinx
+Standards-Version: 3.8.0
Homepage: http://code.google.com/p/mpmath/
Vcs-Svn: svn://svn.debian.org/python-modules/packages/mpmath/trunk/
Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/mpmath/trunk/?op=log
@@ -13,7 +13,8 @@
Package: python-mpmath
Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
+Depends: ${python:Depends}, ${misc:Depends}, libjs-jquery
+Suggests: python-gmpy
Description: Library for arbitrary-precision floating-point arithmetic
Its features include:
.
Modified: packages/mpmath/trunk/debian/copyright
===================================================================
--- packages/mpmath/trunk/debian/copyright 2008-08-23 19:19:11 UTC (rev 6316)
+++ packages/mpmath/trunk/debian/copyright 2008-08-23 20:55:04 UTC (rev 6317)
@@ -9,7 +9,7 @@
Copyright:
- Copyright (c) 2005-2007 Fredrik Johansson
+ Copyright (c) 2005-2008 Fredrik Johansson
License:
Added: packages/mpmath/trunk/debian/patches/00list
===================================================================
--- packages/mpmath/trunk/debian/patches/00list (rev 0)
+++ packages/mpmath/trunk/debian/patches/00list 2008-08-23 20:55:04 UTC (rev 6317)
@@ -0,0 +1 @@
+10_fix_doc_version
Added: packages/mpmath/trunk/debian/patches/10_fix_doc_version.dpatch
===================================================================
--- packages/mpmath/trunk/debian/patches/10_fix_doc_version.dpatch (rev 0)
+++ packages/mpmath/trunk/debian/patches/10_fix_doc_version.dpatch 2008-08-23 20:55:04 UTC (rev 6317)
@@ -0,0 +1,22 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_fix_doc_version.dpatch by Sandro Tosi <matrixhasu at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix mpmath version on doc
+
+ at DPATCH@
+diff -urNad mpmath~/doc/source/conf.py mpmath/doc/source/conf.py
+--- mpmath~/doc/source/conf.py 2008-08-23 16:44:20.000000000 +0200
++++ mpmath/doc/source/conf.py 2008-08-23 22:29:13.126218836 +0200
+@@ -40,9 +40,9 @@
+ # other places throughout the built documents.
+ #
+ # The short X.Y version.
+-version = '0.8'
++version = '0.9'
+ # The full version, including alpha/beta/rc tags.
+-release = '0.8'
++release = '0.9'
+
+ # There are two options for replacing |today|: either, you set today to some
+ # non-false value, then it is used:
Property changes on: packages/mpmath/trunk/debian/patches/10_fix_doc_version.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Modified: packages/mpmath/trunk/debian/rules
===================================================================
--- packages/mpmath/trunk/debian/rules 2008-08-23 19:19:11 UTC (rev 6316)
+++ packages/mpmath/trunk/debian/rules 2008-08-23 20:55:04 UTC (rev 6317)
@@ -1,20 +1,22 @@
#!/usr/bin/make -f
# -*- makefile -*-
-### include /usr/share/dpatch/dpatch.make
+include /usr/share/dpatch/dpatch.make
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build: build-stamp
-build-stamp: ### patch-stamp
+build-stamp: patch-stamp
dh_testdir
python setup.py build;
+
+ ( cd doc ; python build.py )
touch $@
-clean: clean-patched ### unpatch
+clean: clean-patched unpatch
clean-patched:
dh_testdir
dh_testroot
@@ -23,6 +25,8 @@
python setup.py clean;
+ rm -rf doc/build
+
dh_clean
install: build
@@ -33,16 +37,25 @@
# Add here commands to install the package into debian/python-mpmath.
python setup.py install --root=debian/python-mpmath;
+ mkdir -p $(CURDIR)/debian/python-mpmath/usr/share/doc/python-mpmath/html/
+ cp -arp doc/build/* $(CURDIR)/debian/python-mpmath/usr/share/doc/python-mpmath/html/
+ mkdir -p $(CURDIR)/debian/python-mpmath/usr/share/doc/python-mpmath/txt/
+ cp -arp doc/source/* $(CURDIR)/debian/python-mpmath/usr/share/doc/python-mpmath/txt/
+
+
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installchangelogs CHANGES
- dh_installdocs README doc/source/*
+ dh_installdocs README
dh_installexamples demo/*
dh_pysupport
- dh_compress -X.py
+ 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
+ dh_link
dh_fixperms
dh_installdeb
dh_gencontrol
More information about the Python-modules-commits
mailing list