summaryrefslogtreecommitdiff
path: root/textproc/py-sphinx/patches/patch-aa
blob: b0daf31e40e286fc343692ca5c5ac61dd0939646 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.2 2009/08/05 10:41:18 markd Exp $

pkgsrc's docutils doesn't install an egg-info

--- setup.py.orig	2008-11-24 07:12:48.000000000 +1300
+++ setup.py
@@ -42,7 +42,7 @@ if sys.version_info < (2, 4):
     print 'ERROR: Sphinx requires at least Python 2.4 to run.'
     sys.exit(1)
 
-if sys.version_info < (2, 5):
+if sys.version_info < (2, 7):
     # Python 2.4's distutils doesn't automatically install an egg-info,
     # so an existing docutils install won't be detected -- in that case,
     # remove the dependency from setup.py