Date: Sun, 11 Dec 2016 12:15:17 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428346 - in head/security/py-rekall-core: . files Message-ID: <201612111215.uBBCFHBv019043@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sun Dec 11 12:15:16 2016 New Revision: 428346 URL: https://svnweb.freebsd.org/changeset/ports/428346 Log: Allow running when openpyxl 2.4 is installed Added: head/security/py-rekall-core/files/patch-rekall_plugins_renderers_xls.py (contents, props changed) Modified: head/security/py-rekall-core/Makefile Modified: head/security/py-rekall-core/Makefile ============================================================================== --- head/security/py-rekall-core/Makefile Sun Dec 11 12:12:16 2016 (r428345) +++ head/security/py-rekall-core/Makefile Sun Dec 11 12:15:16 2016 (r428346) @@ -3,6 +3,7 @@ PORTNAME= rekall-core DISTVERSION= 1.5.2.post1 +PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Added: head/security/py-rekall-core/files/patch-rekall_plugins_renderers_xls.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/py-rekall-core/files/patch-rekall_plugins_renderers_xls.py Sun Dec 11 12:15:16 2016 (r428346) @@ -0,0 +1,26 @@ +--- rekall/plugins/renderers/xls.py.orig 2015-10-23 12:57:00 UTC ++++ rekall/plugins/renderers/xls.py +@@ -37,11 +37,11 @@ from rekall.ui import text + # pylint: disable=unexpected-keyword-arg,no-value-for-parameter + # pylint: disable=redefined-outer-name + +-HEADER_STYLE = styles.Style(font=styles.Font(bold=True)) +-SECTION_STYLE = styles.Style( ++HEADER_STYLE = styles.NamedStyle(name='header', font=styles.Font(bold=True)) ++SECTION_STYLE = styles.NamedStyle(name='section', + fill=styles.PatternFill( + fill_type=fills.FILL_SOLID, start_color=styles.Color(colors.RED))) +-FORMAT_STYLE = styles.Style( ++FORMAT_STYLE = styles.NamedStyle(name='format', + alignment=styles.Alignment(vertical="top", wrap_text=False)) + + +@@ -291,7 +291,7 @@ class XLSNoneObjectRenderer(XLSObjectRen + class XLSDateTimeRenderer(XLSObjectRenderer): + """Renders timestamps as python datetime objects.""" + renders_type = "UnixTimeStamp" +- STYLE = styles.Style(number_format='MM/DD/YYYY HH:MM:SS') ++ STYLE = styles.NamedStyle(name='style', number_format='MM/DD/YYYY HH:MM:SS') + + def GetData(self, item, **options): + if item.v() == 0:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612111215.uBBCFHBv019043>