summaryrefslogtreecommitdiff
path: root/print/py-reportlab/files/patch-docs-genAll.py
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2014-02-25 12:44:10 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2014-02-25 12:44:10 +0000
commit0cbe65e47c9209d69ce010b5ab926c714387ecb1 (patch)
treebc7942759dbfb01fc52a7089e3edbbfb635ff176 /print/py-reportlab/files/patch-docs-genAll.py
parentSupport staging (diff)
- Repocopy print/py-reportlab to print/py-reportlab1
to preserve version 1.x and to update to 3.0 print/py-reportlab: - Update print/py-reportlab to 3.0 based on print/py-reportlab2 - Support STAGEDIR - Use PYDISTUTILS_AUTOPLIST * Remove pkg-plist, accordingly - Set CONFLICTS - Add PORTSCOUT - Replace tab with a single space after WWW: in pkg-descr print/py-reportlab1: - Support STAGEDIR - Add PKGNAMESUFFIX not to duplicate ports with the same name - Set CONFLICTS - Use PYDISTUTILS_AUTOPLIST * Remove pkg-plist, accordingly - Make use of PORTDOCS - Set OPTIONS_DEFINE explicitly - Fix include statement - Make docs unconditional to stage - Replace tab with a single space after WWW: in pkg-descr print/py-reportlab2: - Update CONFLICTS - Set PORTSCOUT dependent ports: - Switch dependency from print/py-reportlab to print/py-reportlab1 * biology/py-biopython * deskutils/gourmet * deskutils/griffith * games/pythonsudoku * misc/pdfmap * print/py-trml2pdf * www/py-satchmo PR: ports/186970 Submitted by: tota (myself) Approved by: Muhammad Moinur Rahman (maintainer)
Notes
Notes: svn path=/head/; revision=345987
Diffstat (limited to 'print/py-reportlab/files/patch-docs-genAll.py')
-rw-r--r--print/py-reportlab/files/patch-docs-genAll.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/py-reportlab/files/patch-docs-genAll.py b/print/py-reportlab/files/patch-docs-genAll.py
new file mode 100644
index 000000000000..4dd9f403f40c
--- /dev/null
+++ b/print/py-reportlab/files/patch-docs-genAll.py
@@ -0,0 +1,11 @@
+--- docs/genAll.py.orig 2014-02-14 23:22:37.000000000 +0900
++++ docs/genAll.py 2014-02-16 16:20:21.000000000 +0900
+@@ -1,6 +1,7 @@
+ #!/bin/env python
+-import os, sys, traceback
++import os, sys, traceback, site
+ def _genAll(verbose=1):
++ site.addsitedir("%%STAGEDIR%%%%PYTHON_SITELIBDIR%%")
+ from reportlab.lib.testutils import setOutDir
+ setOutDir(__name__)
+ from reportlab.lib.testutils import testsFolder