aboutsummaryrefslogtreecommitdiffstats
path: root/print/py-reportlab1
diff options
context:
space:
mode:
authorKoop Mast <kwm@rainbow-runner.nl>2019-07-14 02:52:13 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2019-07-27 03:32:17 +0800
commite28d115bbd120ac7a51ba3118dd76aa213ee23fb (patch)
tree4cc1d70ea7bad75360ed2b2c847f2e86ff87cf5e /print/py-reportlab1
parent69cf31911812a191795d674f635f763f863eaa9f (diff)
parentdbc077bbc1ba74ae27a50f33ac98c4b908ccdf38 (diff)
downloadfreebsd-ports-gnome-e28d115bbd120ac7a51ba3118dd76aa213ee23fb.tar.gz
freebsd-ports-gnome-e28d115bbd120ac7a51ba3118dd76aa213ee23fb.tar.zst
freebsd-ports-gnome-e28d115bbd120ac7a51ba3118dd76aa213ee23fb.zip
Git and myself don't get along, I messed up the master branch really good
attempt to correct this.
Diffstat (limited to 'print/py-reportlab1')
-rw-r--r--print/py-reportlab1/Makefile52
-rw-r--r--print/py-reportlab1/distinfo4
-rw-r--r--print/py-reportlab1/files/patch-rl_config.py55
-rw-r--r--print/py-reportlab1/files/patch-setup.py11
-rw-r--r--print/py-reportlab1/pkg-descr22
-rw-r--r--print/py-reportlab1/pkg-message4
6 files changed, 0 insertions, 148 deletions
diff --git a/print/py-reportlab1/Makefile b/print/py-reportlab1/Makefile
index 48ded7267a80..e69de29bb2d1 100644
--- a/print/py-reportlab1/Makefile
+++ b/print/py-reportlab1/Makefile
@@ -1,52 +0,0 @@
-# Created by: Thomas Gellekum <tg@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= reportlab
-PORTVERSION= 1.21.2
-PORTREVISION= 3
-CATEGORIES= print python
-MASTER_SITES= http://www.reportlab.com/ftp/ \
- LOCAL/erwin/:accel \
- http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/:accel
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-PKGNAMESUFFIX= 1
-DISTFILES= reportlab-${PORTVERSION}.tar.gz \
- rl_accel-3004.tgz:accel
-
-MAINTAINER= bofh@FreeBSD.org
-COMMENT= Library to create PDF documents using the Python language
-
-LICENSE= BSD3CLAUSE
-
-DEPRECATED= consider using latest upstream version in print/py-reportlab
-EXPIRATION_DATE=2019-05-12
-
-USES= python:2.7
-USE_PYTHON= distutils autoplist
-
-CONFLICTS= py*-reportlab[^1]-[^1].* \
- py*-reportlab-[^1].*
-
-PORTSCOUT= ignore:1 # Last version of 1.X branch
-
-WRKSRC= ${WRKDIR}/reportlab_${PORTVERSION:S/./_/g}/reportlab
-MAKE_ENV= PACKAGE_PATH="${REPORTLABDIR}"
-
-REPORTLABDIR= ${PYTHONPREFIX_SITELIBDIR}/reportlab
-DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
-PORTDOCS= RML_UserGuide.pdf RML_UserGuide_1_0.pdf diagradoc.pdf graphguide.pdf \
- graphics_reference.pdf reference.pdf userguide.pdf
-
-OPTIONS_DEFINE= DOCS
-
-post-patch:
- @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/rl_config.py
- @${REINPLACE_CMD} -e 's#with#with26#g' ${WRKSRC}/lib/PyFontify.py
-
-post-install:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for i in ${PORTDOCS}
- ${CP} ${WRKSRC}/docs/${i} ${STAGEDIR}${DOCSDIR}
-.endfor
-
-.include <bsd.port.mk>
diff --git a/print/py-reportlab1/distinfo b/print/py-reportlab1/distinfo
index 309dac9d1393..e69de29bb2d1 100644
--- a/print/py-reportlab1/distinfo
+++ b/print/py-reportlab1/distinfo
@@ -1,4 +0,0 @@
-SHA256 (reportlab-1.21.2.tar.gz) = dbefc02b43ee72484f95b82b21c0a8fe874d7facc9f5fbcacdde82c2b15b5d30
-SIZE (reportlab-1.21.2.tar.gz) = 3464482
-SHA256 (rl_accel-3004.tgz) = a2ac1b7dbf5f37e98c5f5a80cd364fa682d830561a9694328460430a04baf20d
-SIZE (rl_accel-3004.tgz) = 58569
diff --git a/print/py-reportlab1/files/patch-rl_config.py b/print/py-reportlab1/files/patch-rl_config.py
index 7eaee7960e26..e69de29bb2d1 100644
--- a/print/py-reportlab1/files/patch-rl_config.py
+++ b/print/py-reportlab1/files/patch-rl_config.py
@@ -1,55 +0,0 @@
---- rl_config.py.orig 2007-07-20 10:36:08 UTC
-+++ rl_config.py
-@@ -23,15 +23,9 @@ _FUZZ= 1e-6 #f
-
- # places to look for T1Font information
- T1SearchPath = (
-- 'c:/Program Files/Adobe/Acrobat 6.0/Resource/Font', #Win32, Acrobat 6
-- 'c:/Program Files/Adobe/Acrobat 5.0/Resource/Font', #Win32, Acrobat 5
-- 'c:/Program Files/Adobe/Acrobat 4.0/Resource/Font', #Win32, Acrobat 4
-- '%(disk)s/Applications/Python %(sys_version)s/reportlab/fonts', #Mac?
-- '/usr/lib/Acrobat5/Resource/Font', #Linux, Acrobat 5?
-- '/usr/lib/Acrobat4/Resource/Font', #Linux, Acrobat 4
-- '/usr/local/Acrobat6/Resource/Font', #Linux, Acrobat 5?
-- '/usr/local/Acrobat5/Resource/Font', #Linux, Acrobat 5?
-- '/usr/local/Acrobat4/Resource/Font', #Linux, Acrobat 4
-+ '/usr/local/Acrobat6/Resource/Font',
-+ '/usr/local/Acrobat5/Resource/Font',
-+ '/usr/local/Acrobat4/Resource/Font',
- '%(REPORTLAB_DIR)s/fonts', #special
- '%(REPORTLAB_DIR)s/../fonts', #special
- '%(REPORTLAB_DIR)s/../../fonts', #special
-@@ -40,9 +34,7 @@ T1SearchPath = (
-
- # places to look for TT Font information
- TTFSearchPath = (
-- 'c:/winnt/fonts',
-- 'c:/windows/fonts',
-- '/usr/lib/X11/fonts/TrueType/',
-+ '/usr/X11R6/lib/X11/fonts/TrueType/',
- '%(REPORTLAB_DIR)s/fonts', #special
- '%(REPORTLAB_DIR)s/../fonts', #special
- '%(REPORTLAB_DIR)s/../../fonts',#special
-@@ -50,20 +42,14 @@ TTFSearchPath = (
- )
-
- # places to look for CMap files - should ideally merge with above
--CMapSearchPath = ('/usr/lib/Acrobat6/Resource/CMap',
-- '/usr/lib/Acrobat5/Resource/CMap',
-- '/usr/lib/Acrobat4/Resource/CMap',
-- '/usr/local/Acrobat6/Resource/CMap',
-+CMapSearchPath = ('/usr/local/Acrobat6/Resource/CMap',
- '/usr/local/Acrobat5/Resource/CMap',
- '/usr/local/Acrobat4/Resource/CMap',
-- 'C:\\Program Files\\Adobe\\Acrobat\\Resource\\CMap',
-- 'C:\\Program Files\\Adobe\\Acrobat 6.0\\Resource\\CMap',
-- 'C:\\Program Files\\Adobe\\Acrobat 5.0\\Resource\\CMap',
-- 'C:\\Program Files\\Adobe\\Acrobat 4.0\\Resource\\CMap'
- '%(REPORTLAB_DIR)s/fonts/CMap', #special
- '%(REPORTLAB_DIR)s/../fonts/CMap', #special
- '%(REPORTLAB_DIR)s/../../fonts/CMap', #special
- '%(HOME)s/fonts/CMap', #special
-+ '/usr/local/share/ghostscript/Resource/CMap',
- )
-
- #### Normally don't need to edit below here ####
diff --git a/print/py-reportlab1/files/patch-setup.py b/print/py-reportlab1/files/patch-setup.py
index 6dc19915e244..e69de29bb2d1 100644
--- a/print/py-reportlab1/files/patch-setup.py
+++ b/print/py-reportlab1/files/patch-setup.py
@@ -1,11 +0,0 @@
---- setup.py.orig 2007-07-20 10:36:08 UTC
-+++ setup.py
-@@ -19,7 +19,7 @@ abspath = os.path.abspath
- isfile = os.path.isfile
- isdir = os.path.isfile
- dirname = os.path.dirname
--package_path = pjoin(package_home(distutils.__dict__), 'site-packages', 'reportlab')
-+package_path = os.environ['PACKAGE_PATH']
-
- def get_version():
- #determine Version
diff --git a/print/py-reportlab1/pkg-descr b/print/py-reportlab1/pkg-descr
index d17a3fbd2b71..e69de29bb2d1 100644
--- a/print/py-reportlab1/pkg-descr
+++ b/print/py-reportlab1/pkg-descr
@@ -1,22 +0,0 @@
-ReportLab is a software library that lets you directly create
-documents in Adobe's Portabe Document Format (PDF) using the Python
-programming language.
-
-The ReportLab library directly creates PDF based on your graphics
-commands. There are no intervening steps. Your applications can
-generate reports extremely fast - sometimes orders of magnitude
-faster than traditional report-writing tools.
-
-The ReportLab library is expected to be useful in at least the
-following contexts:
-
-- Dynamic PDF generation on the web
-- High-volume corporate reporting and database publishing
-- An embeddable print engine for other applications, including
- a 'report language' so that users can customize their own reports.
-- A 'build system' for complex documents with charts, tables
- and text such as management accounts, statistical reports and
- scientific papers
-- Going from XML to PDF in one step!
-
-WWW: http://www.reportlab.org/rl_toolkit.html
diff --git a/print/py-reportlab1/pkg-message b/print/py-reportlab1/pkg-message
index bfe4eb36d62f..e69de29bb2d1 100644
--- a/print/py-reportlab1/pkg-message
+++ b/print/py-reportlab1/pkg-message
@@ -1,4 +0,0 @@
-=======================================================
- You may need to install print/adobe-cmaps port to use
- East Asian languages.
-=======================================================