aboutsummaryrefslogtreecommitdiffstats
path: root/print/py-reportlab/files/patch-setup.py
blob: 0c9ae68a1d1ebe4863fbd77bf44bb34668960b69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- setup.py.orig	2024-02-13 07:54:28 UTC
+++ setup.py
@@ -202,9 +202,7 @@ def get_fonts(PACKAGE_DIR, reportlab_files):
         xitmsg = "not downloading T1 font curve files"
     else:
         try:
-            infoline("Downloading standard T1 font curves")
-            zipdata = url2data("https://www.reportlab.com/ftp/pfbfer-20180109.zip")
-            archive = zipfile.ZipFile(zipdata)
+            archive = zipfile.ZipFile("%%DISTDIR%%/%%PFBFER%%")
             dst = pjoin(rl_dir, 'fonts')
 
             for name in archive.namelist():