openbsd-ports/graphics/py-Imaging/patches/patch-selftest_py
sthen 369ef22d1b - update py-Imaging to 1.17, from Alexander Shadchin
- use tk.port.mk and move to a more recent version of Tcl/Tk

mostly reads fine to fgsch@, and I've fixed the part which didn't.
2010-11-15 20:57:10 +00:00

13 lines
322 B
Plaintext

$OpenBSD: patch-selftest_py,v 1.1 2010/11/15 20:57:10 sthen Exp $
--- selftest.py.orig Sun Nov 14 16:59:57 2010
+++ selftest.py Sun Nov 14 17:00:03 2010
@@ -3,7 +3,7 @@
ROOT = "."
import os, sys
-sys.path.insert(0, ROOT)
+sys.path.insert(0, os.getenv("PYTHONPATH"))
from PIL import Image
from PIL import ImageDraw