File: profile-doc.dpatch

package info (click to toggle)
python2.4 2.4.6-1%2Blenny1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 44,888 kB
  • ctags: 86,995
  • sloc: ansic: 306,391; python: 271,931; sh: 10,210; makefile: 4,248; perl: 3,736; lisp: 3,678; xml: 894; objc: 756; cpp: 7; sed: 2
file content (54 lines) | stat: -rw-r--r-- 1,702 bytes parent folder | download | duplicates (5)
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
#! /bin/sh -e

# 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{python2.4-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{python2.4-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