File: profile-doc.dpatch

package info (click to toggle)
python2.5-doc 2.5-4
  • links: PTS
  • area: contrib
  • in suites: etch, etch-m68k
  • size: 7,816 kB
  • ctags: 2,720
  • sloc: python: 5,817; perl: 3,674; sh: 2,110; makefile: 1,355; xml: 836; lisp: 836; ansic: 719; sed: 2
file content (55 lines) | stat: -rw-r--r-- 1,766 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#! /bin/sh -e

# DP: hotshot/pstats.py: Error out on missing profile/pstats modules.
# DP: Add a note to the library documentation, that the profile and pstats
# DP: modules can be found in the python2.x-profiler package.

dir=
if [ $# -eq 3 -a "$2" = '-d' ]; then
    pdir="-d $3"
    dir="$3/"
elif [ $# -ne 1 ]; then
    echo >&2 "usage: `basename $0`: -patch|-unpatch [-d <srcdir>]"
    exit 1
fi
case "$1" in
    -patch)
        patch $pdir -f --no-backup-if-mismatch -p0 < $0
        #cd ${dir}gcc && autoconf
        ;;
    -unpatch)
        patch $pdir -f --no-backup-if-mismatch -R -p0 < $0
        #rm ${dir}gcc/configure
        ;;
    *)
	echo >&2 "usage: `basename $0`: -patch|-unpatch [-d <srcdir>]"
        exit 1
esac
exit 0

--- Doc/lib/libprofile.tex~	2003-10-20 16:34:44.000000000 +0200
+++ Doc/lib/libprofile.tex	2005-02-08 23:49:35.000000000 +0100
@@ -2,6 +2,11 @@
 
 \sectionauthor{James Roskind}{}
 
+Debian note: The license for the \module{profile} and \module{pstats}
+modules doesn't conform to the Debian Free Software Guidelines (DFSG).
+These modules can be found in the \code{python-profiler} package in
+the \code{multiverse} section of the Ubuntu archives.
+
 Copyright \copyright{} 1994, by InfoSeek Corporation, all rights reserved.
 \index{InfoSeek Corporation}
 
@@ -264,6 +269,11 @@
 \modulesynopsis{Python profiler}
 
 
+Debian note: The license for the \module{profile} and \module{pstats}
+modules doesn't conform to the Debian Free Software Guidelines (DFSG).
+These modules can be found in the \code{python-profiler} package in
+the \code{multiverse} section of the Ubuntu archives.
+
 
 The primary entry point for the profiler is the global function
 \function{profile.run()}.  It is typically used to create any profile