Date: Wed, 10 Jun 2015 14:04:07 +0000 (UTC) From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r389034 - in head/print/py-reportlab: . files Message-ID: <201506101404.t5AE47O5035469@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bofh Date: Wed Jun 10 14:04:06 2015 New Revision: 389034 URL: https://svnweb.freebsd.org/changeset/ports/389034 Log: print/py-reportlab: Fix PORTDOCS - Strip Libraries - Fix patch files to reflect 'make makepatch' PR: 200602 Submitted by: amdmi3@FreeBSD.org Modified: head/print/py-reportlab/Makefile head/print/py-reportlab/files/patch-docs-genAll.py head/print/py-reportlab/files/patch-docs-userguide-genuserguide.py head/print/py-reportlab/files/patch-setup.py Modified: head/print/py-reportlab/Makefile ============================================================================== --- head/print/py-reportlab/Makefile Wed Jun 10 13:41:05 2015 (r389033) +++ head/print/py-reportlab/Makefile Wed Jun 10 14:04:06 2015 (r389034) @@ -3,7 +3,7 @@ PORTNAME= reportlab PORTVERSION= 3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print python MASTER_SITES= CHEESESHOP \ http://www.reportlab.com/ftp/ @@ -34,7 +34,7 @@ MAKE_ENV= PACKAGE_PATH="${REPORTLABDIR}" REPORTLABDIR= ${PYTHONPREFIX_SITELIBDIR}/reportlab DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} -DOCS= reportlab-userguide.pdf +PORTDOCS= reportlab-userguide.pdf OPTIONS_DEFINE= CJK FREETYPE DOCS OPTIONS_DEFAULT= CJK FREETYPE @@ -65,10 +65,11 @@ post-patch: .endif post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/reportlab/*/*.so .if ${PORT_OPTIONS:MDOCS} @cd ${WRKSRC}/docs && ${PYTHON_CMD} genAll.py @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for i in ${DOCS} +.for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/docs/${i} ${STAGEDIR}${DOCSDIR} .endfor .endif Modified: head/print/py-reportlab/files/patch-docs-genAll.py ============================================================================== --- head/print/py-reportlab/files/patch-docs-genAll.py Wed Jun 10 13:41:05 2015 (r389033) +++ head/print/py-reportlab/files/patch-docs-genAll.py Wed Jun 10 14:04:06 2015 (r389034) @@ -1,5 +1,5 @@ ---- docs/genAll.py.orig 2014-02-14 23:22:37.000000000 +0900 -+++ docs/genAll.py 2014-02-16 16:20:21.000000000 +0900 +--- docs/genAll.py.orig 2014-02-14 14:22:37 UTC ++++ docs/genAll.py @@ -1,6 +1,7 @@ #!/bin/env python -import os, sys, traceback Modified: head/print/py-reportlab/files/patch-docs-userguide-genuserguide.py ============================================================================== --- head/print/py-reportlab/files/patch-docs-userguide-genuserguide.py Wed Jun 10 13:41:05 2015 (r389033) +++ head/print/py-reportlab/files/patch-docs-userguide-genuserguide.py Wed Jun 10 14:04:06 2015 (r389034) @@ -1,6 +1,6 @@ ---- docs/userguide/genuserguide.py.orig 2014-02-14 23:22:37.000000000 +0900 -+++ docs/userguide/genuserguide.py 2014-02-16 16:15:05.000000000 +0900 -@@ -8,7 +8,8 @@ +--- docs/userguide/genuserguide.py.orig 2014-02-14 14:22:37 UTC ++++ docs/userguide/genuserguide.py +@@ -8,7 +8,8 @@ This module contains the script for buil """ def run(pagesize=None, verbose=0, outDir=None): Modified: head/print/py-reportlab/files/patch-setup.py ============================================================================== --- head/print/py-reportlab/files/patch-setup.py Wed Jun 10 13:41:05 2015 (r389033) +++ head/print/py-reportlab/files/patch-setup.py Wed Jun 10 14:04:06 2015 (r389034) @@ -1,6 +1,6 @@ ---- setup.py.orig 2014-02-14 23:22:37.000000000 +0900 -+++ setup.py 2014-02-16 00:48:02.000000000 +0900 -@@ -241,11 +241,7 @@ +--- setup.py.orig 2014-02-14 14:22:37 UTC ++++ setup.py +@@ -241,11 +241,7 @@ reportlab_files= [ ] def get_fonts(PACKAGE_DIR, reportlab_files): @@ -13,7 +13,7 @@ rl_dir = PACKAGE_DIR['reportlab'] if not [x for x in reportlab_files if not os.path.isfile(pjoin(rl_dir,x))]: infoline("Standard T1 font curves already downloaded") -@@ -254,12 +250,7 @@ +@@ -254,12 +250,7 @@ def get_fonts(PACKAGE_DIR, reportlab_fil infoline('not downloading T1 font curve files') return try:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506101404.t5AE47O5035469>