mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
print/py-reportlab: Update version 3.5.68=>3.6.11
PR: 267345 Reported by: osidorkin@gmail.com
This commit is contained in:
parent
1e606be454
commit
750c5a7579
4 changed files with 9 additions and 22 deletions
|
@ -1,6 +1,5 @@
|
||||||
PORTNAME= reportlab
|
PORTNAME= reportlab
|
||||||
PORTVERSION= 3.5.68
|
PORTVERSION= 3.6.11
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= print python
|
CATEGORIES= print python
|
||||||
MASTER_SITES= CHEESESHOP \
|
MASTER_SITES= CHEESESHOP \
|
||||||
https://www.reportlab.com/ftp/
|
https://www.reportlab.com/ftp/
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
TIMESTAMP = 1625171705
|
TIMESTAMP = 1667594395
|
||||||
SHA256 (reportlab-3.5.68.tar.gz) = efef6a97e3ab49f3f40037dbf9a4166668a17cc6aaba13d5ecbabdf854a9b332
|
SHA256 (reportlab-3.6.11.tar.gz) = 04fc4420f0548815d0623e031c86a1f7f3f3003e699d9af7148742e2d72b024a
|
||||||
SIZE (reportlab-3.5.68.tar.gz) = 4512985
|
SIZE (reportlab-3.6.11.tar.gz) = 4519404
|
||||||
SHA256 (pfbfer-20180109.zip) = 851b431550e866b217317d09dd33b5535ae081200975ad4dd25e80be2af10fec
|
SHA256 (pfbfer-20180109.zip) = 851b431550e866b217317d09dd33b5535ae081200975ad4dd25e80be2af10fec
|
||||||
SIZE (pfbfer-20180109.zip) = 737561
|
SIZE (pfbfer-20180109.zip) = 737561
|
||||||
|
|
|
@ -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
|
+++ 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):
|
def run(pagesize=None, verbose=0, outDir=None):
|
||||||
- import sys,os
|
- import sys,os
|
||||||
+ import sys,os,site
|
+ import sys,os,site
|
||||||
+ site.addsitedir("%%STAGEDIR%%%%PYTHON_SITELIBDIR%%")
|
+ 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()
|
cwd = os.getcwd()
|
||||||
docsDir=os.path.dirname(os.path.dirname(sys.argv[0]) or cwd)
|
docsDir=os.path.dirname(os.path.dirname(sys.argv[0]) or cwd)
|
||||||
|
|
|
@ -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
|
+++ setup.py
|
||||||
@@ -288,11 +288,6 @@ reportlab_files= [
|
@@ -443,9 +443,7 @@ def get_fonts(PACKAGE_DIR, 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):
|
|
||||||
xitmsg = "not downloading T1 font curve files"
|
xitmsg = "not downloading T1 font curve files"
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue