ports/textproc/py-youseedee/files/patch-lib-youseedee-__init__.py
Po-Chuan Hsieh 6cf0c4cce7
textproc/py-youseedee: Add py-youseedee 0.3.0
youseedee provides an interface to the UCD. This module allows you to query the
Unicode Character Database. The main function to be imported is ucd_data.
2022-12-30 17:04:01 +08:00

11 lines
341 B
Python

--- lib/youseedee/__init__.py.orig 2020-10-06 16:13:22 UTC
+++ lib/youseedee/__init__.py
@@ -9,7 +9,7 @@ import csv
UCD_URL = "https://unicode.org/Public/UCD/latest/ucd/UCD.zip"
def ucd_dir():
- ucddir = os.path.expanduser("~/.youseedee")
+ ucddir = "%%UCDDIR%%"
if not os.path.isdir(ucddir):
os.mkdir(ucddir)
return ucddir