pkgsrc/devel/py-ipython010/patches/patch-setupbase.py
obache ebc8374905 Re-Import py-ipython-0.10.2nb1 (before updated to 2.0.0) as devel/py-ipython010.
The goal of IPython is to create a comprehensive environment for interactive and
exploratory computing. To support this goal, IPython has two main components:

 * An enhanced interactive Python shell.
 * An architecture for interactive parallel computing.
2014-04-20 11:23:52 +00:00

20 lines
687 B
Python

$NetBSD: patch-setupbase.py,v 1.1 2014/04/20 11:23:52 obache Exp $
* honor PKGMANDIR
* let not to install compressed man pages.
--- setupbase.py.orig 2010-10-12 07:13:29.000000000 +0000
+++ setupbase.py
@@ -188,10 +188,10 @@ def find_data_files():
"""
docdirbase = 'share/doc/ipython'
- manpagebase = 'share/man/man1'
+ manpagebase = os.environ.get('PKGMANDIR') + '/man1'
# Simple file lists can be made by hand
- manpages = filter(isfile, glob('docs/man/*.1.gz'))
+ manpages = filter(isfile, glob('docs/man/*.1'))
igridhelpfiles = filter(isfile, glob('IPython/Extensions/igrid_help.*'))
# For nested structures, use the utility above