1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

print/py-reportlab: Update version 3.5.68=>3.6.11

PR:		267345
Reported by:	osidorkin@gmail.com
This commit is contained in:
Muhammad Moinur Rahman 2022-11-04 16:26:57 -05:00
parent 1e606be454
commit 750c5a7579
4 changed files with 9 additions and 22 deletions

View File

@ -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/

View File

@ -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

View File

@ -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)

View File

@ -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: