git: 750c5a757975 - main - print/py-reportlab: Update version 3.5.68=>3.6.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Nov 2022 14:19:30 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=750c5a75797564ffa39b66ac88a19d3c65f590be commit 750c5a75797564ffa39b66ac88a19d3c65f590be Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2022-11-04 21:26:57 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2022-11-05 14:19:15 +0000 print/py-reportlab: Update version 3.5.68=>3.6.11 PR: 267345 Reported by: osidorkin@gmail.com --- print/py-reportlab/Makefile | 3 +-- print/py-reportlab/distinfo | 6 +++--- .../files/patch-docs-userguide-genuserguide.py | 6 +++--- print/py-reportlab/files/patch-setup.py | 16 ++-------------- 4 files changed, 9 insertions(+), 22 deletions(-) diff --git a/print/py-reportlab/Makefile b/print/py-reportlab/Makefile index 278a0de11150..4e9124ccd74c 100644 --- a/print/py-reportlab/Makefile +++ b/print/py-reportlab/Makefile @@ -1,6 +1,5 @@ PORTNAME= reportlab -PORTVERSION= 3.5.68 -PORTREVISION= 1 +PORTVERSION= 3.6.11 CATEGORIES= print python MASTER_SITES= CHEESESHOP \ https://www.reportlab.com/ftp/ diff --git a/print/py-reportlab/distinfo b/print/py-reportlab/distinfo index 7048115e383e..bd36a5089bf9 100644 --- a/print/py-reportlab/distinfo +++ b/print/py-reportlab/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1625171705 -SHA256 (reportlab-3.5.68.tar.gz) = efef6a97e3ab49f3f40037dbf9a4166668a17cc6aaba13d5ecbabdf854a9b332 -SIZE (reportlab-3.5.68.tar.gz) = 4512985 +TIMESTAMP = 1667594395 +SHA256 (reportlab-3.6.11.tar.gz) = 04fc4420f0548815d0623e031c86a1f7f3f3003e699d9af7148742e2d72b024a +SIZE (reportlab-3.6.11.tar.gz) = 4519404 SHA256 (pfbfer-20180109.zip) = 851b431550e866b217317d09dd33b5535ae081200975ad4dd25e80be2af10fec SIZE (pfbfer-20180109.zip) = 737561 diff --git a/print/py-reportlab/files/patch-docs-userguide-genuserguide.py b/print/py-reportlab/files/patch-docs-userguide-genuserguide.py index 9a19f6af7b8d..e94719cf592d 100644 --- a/print/py-reportlab/files/patch-docs-userguide-genuserguide.py +++ b/print/py-reportlab/files/patch-docs-userguide-genuserguide.py @@ -1,12 +1,12 @@ ---- docs/userguide/genuserguide.py.orig 2014-02-14 14:22:37 UTC +--- docs/userguide/genuserguide.py.orig 2022-06-08 08:27:36 UTC +++ docs/userguide/genuserguide.py -@@ -8,7 +8,8 @@ This module contains the script for buil +@@ -8,7 +8,8 @@ def run(pagesize=None, verbose=0, outDir=None): """ def run(pagesize=None, verbose=0, outDir=None): - import sys,os + import sys,os,site + site.addsitedir("%%STAGEDIR%%%%PYTHON_SITELIBDIR%%") - from reportlab.lib.utils import open_and_read, asUnicode + from reportlab.lib.utils import open_and_read cwd = os.getcwd() docsDir=os.path.dirname(os.path.dirname(sys.argv[0]) or cwd) diff --git a/print/py-reportlab/files/patch-setup.py b/print/py-reportlab/files/patch-setup.py index 0da5036eb294..f24e88059088 100644 --- a/print/py-reportlab/files/patch-setup.py +++ b/print/py-reportlab/files/patch-setup.py @@ -1,18 +1,6 @@ ---- setup.py.orig 2018-11-06 07:20:18 UTC +--- setup.py.orig 2022-06-08 08:27:36 UTC +++ setup.py -@@ -288,11 +288,6 @@ reportlab_files= [ - - def url2data(url,returnRaw=False): - import io -- if isPy3: -- import urllib.request as ureq -- else: -- import urllib2 as ureq -- remotehandle = ureq.urlopen(url) - try: - raw = remotehandle.read() - return raw if returnRaw else io.BytesIO(raw) -@@ -308,9 +303,7 @@ def get_fonts(PACKAGE_DIR, reportlab_files): +@@ -443,9 +443,7 @@ def get_fonts(PACKAGE_DIR, reportlab_files): xitmsg = "not downloading T1 font curve files" else: try: