FreeBSD Bugzilla – Attachment 199002 Details for
Bug 233017
print/py-reportlab : update to 3.5.9
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
update to 3.5.9
reportlab-3.5.9.diff.txt (text/plain), 3.23 KB, created by
wen
on 2018-11-06 08:30:31 UTC
(
hide
)
Description:
update to 3.5.9
Filename:
MIME Type:
Creator:
wen
Created:
2018-11-06 08:30:31 UTC
Size:
3.23 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 484255) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= reportlab >-PORTVERSION= 3.2.0 >+PORTVERSION= 3.5.9 > CATEGORIES= print python > MASTER_SITES= CHEESESHOP \ > http://www.reportlab.com/ftp/ >@@ -26,7 +26,7 @@ > > PORTSCOUT= limit:^3\.0\. > >-PFBFER_VERSION= 20070710 >+PFBFER_VERSION= 20180109 > PFBFER= pfbfer-${PFBFER_VERSION}.zip > > MAKE_ENV= PACKAGE_PATH="${REPORTLABDIR}" >Index: distinfo >=================================================================== >--- distinfo (revision 484255) >+++ distinfo (working copy) >@@ -1,4 +1,5 @@ >-SHA256 (reportlab-3.2.0.tar.gz) = 72e687662bd854776407b9108483561831b45546d935df8b0477708199086293 >-SIZE (reportlab-3.2.0.tar.gz) = 1948090 >-SHA256 (pfbfer-20070710.zip) = fb1462ff6ce8efae58a0c496f0537c5ac16d4895c68f1640c2973db574ddb376 >-SIZE (pfbfer-20070710.zip) = 677333 >+TIMESTAMP = 1541489482 >+SHA256 (reportlab-3.5.9.tar.gz) = f92f81314807cd860f29fe07a1a4100b03910ae6bbfca20a07e02c3b460f4f20 >+SIZE (reportlab-3.5.9.tar.gz) = 2837351 >+SHA256 (pfbfer-20180109.zip) = 851b431550e866b217317d09dd33b5535ae081200975ad4dd25e80be2af10fec >+SIZE (pfbfer-20180109.zip) = 737561 >Index: files/patch-setup.py >=================================================================== >--- files/patch-setup.py (revision 484279) >+++ files/patch-setup.py (working copy) >@@ -1,29 +1,25 @@ >---- setup.py.orig 2014-02-14 14:22:37 UTC >+--- setup.py.orig 2018-11-06 07:20:18 UTC > +++ setup.py >-@@ -241,11 +241,7 @@ reportlab_files= [ >- ] >+@@ -288,11 +288,6 @@ reportlab_files= [ > >- def get_fonts(PACKAGE_DIR, reportlab_files): >-- import sys, os, os.path, zipfile, io >+ def url2data(url,returnRaw=False): >+ import io > - if isPy3: > - import urllib.request as ureq > - else: > - import urllib2 as ureq >-+ import sys, os, os.path, zipfile >- rl_dir = PACKAGE_DIR['reportlab'] >- if not [x for x in reportlab_files if not os.path.isfile(pjoin(rl_dir,x))]: >- infoline("Standard T1 font curves already downloaded") >-@@ -254,12 +250,7 @@ def get_fonts(PACKAGE_DIR, reportlab_fil >- infoline('not downloading T1 font curve files') >- return >+- remotehandle = ureq.urlopen(url) > try: >-- infoline("Downloading standard T1 font curves") >-- >-- remotehandle = ureq.urlopen("http://www.reportlab.com/ftp/pfbfer-20070710.zip") >-- zipdata = io.BytesIO(remotehandle.read()) >-- remotehandle.close() >-- archive = zipfile.ZipFile(zipdata) >-+ archive = zipfile.ZipFile("%%DISTDIR%%/%%PFBFER%%") >- dst = pjoin(rl_dir, 'fonts') >+ raw = remotehandle.read() >+ return raw if returnRaw else io.BytesIO(raw) >+@@ -308,9 +303,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("http://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(): >+ for name in archive.namelist():
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 233017
: 199002