FreeBSD Bugzilla – Attachment 140329 Details for
Bug 186866
[patch] print/py-reportlab2 Update from 2.5 to 2.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.52 KB, created by
Serhii (Sergey) Kozlov
on 2014-02-18 14:00:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Serhii (Sergey) Kozlov
Created:
2014-02-18 14:00:00 UTC
Size:
3.52 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 344318) >+++ Makefile (working copy) >@@ -1,68 +1,57 @@ > # Created by: Li-Wen Hsu <lwhsu@lwhsu.org> > # $FreeBSD$ > >-PORTNAME= reportlab2 >-PORTVERSION= 2.5 >+PORTNAME= reportlab >+PORTVERSION= 2.7 > CATEGORIES= print python > MASTER_SITES= http://www.reportlab.com/ftp/ > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >-DISTFILES= reportlab-${PORTVERSION}${EXTRACT_SUFX} pfbfer-${PFBFER_VERSION}.zip >-EXTRACT_ONLY= reportlab-${PORTVERSION}${EXTRACT_SUFX} >+PKGNAMESUFFIX= 2 >+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ >+ pfbfer-${PFBFER_VERSION}.zip >+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} > > MAINTAINER= buganini@gmail.com > COMMENT= Library to create PDF documents using the Python language > >-LICENSE= BSD >+LICENSE= BSD3CLAUSE > > RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging > >-OPTIONS_DEFINE= CJK FREETYPE DOCS >-OPTIONS_DEFAULT= CJK FREETYPE >-CJK_DESC= Adobe CMaps >+OPTIONS_DEFINE= DOCS > >-WRKSRC= ${WRKDIR}/reportlab-${PORTVERSION} >- > CONFLICTS= py2[0-9]-reportlab-[0-9]* > > PFBFER_VERSION= 20070710 > >-USE_PYTHON= yes >+USE_PYTHON= 2.5-2.7 > USE_PYDISTUTILS= yes >-PYDISTUTILS_PKGNAME= reportlab >+PYDISTUTILS_AUTOPLIST= yes > >-MAKE_ENV= PACKAGE_PATH="${REPORTLABDIR}" >- >-REPORTLABDIR= ${PYTHONPREFIX_SITELIBDIR}/reportlab >-DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} > DOCS= reportlab-graphics-reference.pdf \ > reportlab-reference.pdf \ > reportlab-userguide.pdf > >-NO_STAGE= yes >+DOCS_PLIST_FILES= ${DOCSDIR}/reportlab-graphics-reference.pdf \ >+ ${DOCSDIR}/reportlab-reference.pdf \ >+ ${DOCSDIR}/reportlab-userguide.pdf >+DOCS_PLIST_DIRS= ${DOCSDIR} >+ > post-patch: >- @${REINPLACE_CMD} -e 's|/usr/ports/distfiles|${DISTDIR}|g' ${WRKSRC}/setup.py >- @${REINPLACE_CMD} -e 's|pfbfer.zip|pfbfer-${PFBFER_VERSION}.zip|g' ${WRKSRC}/setup.py >+ @${REINPLACE_CMD} -e 's|http://www.reportlab.com/ftp|file://${DISTDIR}|g' ${WRKSRC}/setup.py > > .include <bsd.port.options.mk> > .if ${ARCH} == "sparc64" >-BROKEN= Does not install on sparc64 >- >+BROKEN= Does not install on sparc64 > .endif > >-.if ${PORT_OPTIONS:MCJK} >-RUN_DEPENDS+= ${LOCALBASE}/share/fonts/adobe-cmaps/ac15/cid2code.txt:${PORTSDIR}/print/adobe-cmaps >-.endif >- >-.if ${PORT_OPTIONS:MFREETYPE} >-LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 >-.endif >- > post-install: > .if ${PORT_OPTIONS:MDOCS} >- @cd ${WRKSRC}/docs && ${PYTHON_CMD} genAll.py >- ${MKDIR} ${DOCSDIR} >+ @cd ${WRKSRC}/docs && \ >+ PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} genAll.py >+ ${MKDIR} ${STAGEDIR}${DOCSDIR} > .for i in ${DOCS} >- ${CP} ${WRKSRC}/docs/${i} ${DOCSDIR} >+ ${CP} ${WRKSRC}/docs/${i} ${STAGEDIR}${DOCSDIR} > .endfor > .endif > >Index: distinfo >=================================================================== >--- distinfo (revision 344318) >+++ distinfo (working copy) >@@ -1,4 +1,4 @@ >-SHA256 (reportlab-2.5.tar.gz) = 805152084cc8421104a5e1e705482a1034598ecb4c266670dfba31996de6ff69 >-SIZE (reportlab-2.5.tar.gz) = 1917306 >+SHA256 (reportlab-2.7.tar.gz) = 82b56935e4a75641b40eb22050f0b6e46a0f0a9ebfacdf3b24a1e9c0eef2af6d >+SIZE (reportlab-2.7.tar.gz) = 1951460 > SHA256 (pfbfer-20070710.zip) = fb1462ff6ce8efae58a0c496f0537c5ac16d4895c68f1640c2973db574ddb376 > SIZE (pfbfer-20070710.zip) = 677333 >Index: pkg-descr >=================================================================== >--- pkg-descr (revision 344318) >+++ pkg-descr (working copy) >@@ -19,4 +19,4 @@ > scientific papers > - Going from XML to PDF in one step! > >-WWW: http://www.reportlab.org/rl_toolkit.html >+WWW: http://www.reportlab.org/rl_toolkit.html
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 186866
: 140329