From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 18 23:00:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9DDC3ABC for ; Sun, 18 May 2014 23:00:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E4BA240A for ; Sun, 18 May 2014 23:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4IN00YE048198 for ; Sun, 18 May 2014 23:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4IN0061048197; Sun, 18 May 2014 23:00:00 GMT (envelope-from gnats) Resent-Date: Sun, 18 May 2014 23:00:00 GMT Resent-Message-Id: <201405182300.s4IN0061048197@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "John W. O'Brien" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 868B28B8 for ; Sun, 18 May 2014 22:50:36 +0000 (UTC) Received: from drivel.saltant.net (drivel.saltant.net [IPv6:2001:470:8d6f::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3A86A23BD for ; Sun, 18 May 2014 22:50:36 +0000 (UTC) Received: by drivel.saltant.net (Postfix, from userid 1001) id 5624AB05D6; Sun, 18 May 2014 18:50:29 -0400 (EDT) Message-Id: <20140518225029.5624AB05D6@drivel.saltant.net> Date: Sun, 18 May 2014 18:50:29 -0400 (EDT) From: "John W. O'Brien" Reply-To: "John W. O'Brien" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/189930: Copy textproc/py-openpyxl from r353473 for backwards compatibility X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2014 23:00:00 -0000 >Number: 189930 >Category: ports >Synopsis: Copy textproc/py-openpyxl from r353473 for backwards compatibility >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 18 23:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: John W. O'Brien >Release: FreeBSD 9.2-STABLE amd64 >Organization: Saltant Solutions >Environment: System: FreeBSD XXXX.saltant.net 9.2-STABLE FreeBSD 9.2-STABLE #1 r260112: Mon Dec 30 18:26:07 EST 2013 root@XXXX.saltant.net:/usr/obj/usr/src/sys/NARB amd64 >Description: OpenPyXL 2.0.0 introduces backwards incompatible changes to its API. For example, the mutable `openpyxl.style.Style` class has been replaced with `openpyxl.styles.Style`, which is immutable among other changes to its attributes. This change request is to copy, and continue to maintain as an independent port, the latest v1.y.z version, so that consumers may depend explicitly on the major version with which they are API-compatible. My case in point is the imminent release of math/py-pandas (0.14.0). >How-To-Repeat: Run any library or application code that imports openpyxl and was developed against a version earlier than 2.0.0. >Fix: Apply the attached patch. Ports desiring the old API should, for example: RUN_DEPEND= ${PYTHON_PKGNAMEPREFIX}openpyxl<2.0.0:${PORTSDIR}/textproc/py-openpyxl1 While any port that desires the most recent version may: RUN_DEPEND= ${PYTHON_PKGNAMEPREFIX}openpyxl>0:${PORTSDIR}/textproc/py-openpyxl --- patch-textproc_py-openpyxl1.txt begins here --- Index: textproc/Makefile =================================================================== --- textproc/Makefile (revision 354408) +++ textproc/Makefile (working copy) @@ -1159,6 +1159,7 @@ SUBDIR += py-markdown SUBDIR += py-markdown2 SUBDIR += py-openpyxl + SUBDIR += py-openpyxl1 SUBDIR += py-paragrep SUBDIR += py-pdfminer SUBDIR += py-pss Index: textproc/py-openpyxl/Makefile =================================================================== --- textproc/py-openpyxl/Makefile (revision 354408) +++ textproc/py-openpyxl/Makefile (working copy) @@ -7,6 +7,8 @@ MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +CONFLICTS= py*-openpyxl-1.* + MAINTAINER= antoine@FreeBSD.org COMMENT= Python library to read/write Excel 2007 xlsx/xlsm files Index: textproc/py-openpyxl1/Makefile =================================================================== --- textproc/py-openpyxl1/Makefile (revision 0) +++ textproc/py-openpyxl1/Makefile (working copy) @@ -0,0 +1,29 @@ +# Created by: Antoine Brodin +# $FreeBSD$ + +PORTNAME= openpyxl +PORTVERSION= 1.8.6 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +CONFLICTS= py*-openpyxl-2.* + +MAINTAINER= antoine@FreeBSD.org +COMMENT= Python library to read/write Excel 2007 xlsx/xlsm files + +LICENSE= MIT + +USE_PYTHON= yes +USE_PYDISTUTILS=yes +PYDISTUTILS_AUTOPLIST=yes + +PORTDOCS= README.rst + +OPTIONS_DEFINE= DOCS + +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + +.include Property changes on: textproc/py-openpyxl1/Makefile ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: textproc/py-openpyxl1/distinfo =================================================================== --- textproc/py-openpyxl1/distinfo (revision 0) +++ textproc/py-openpyxl1/distinfo (working copy) @@ -0,0 +1,2 @@ +SHA256 (openpyxl-1.8.6.tar.gz) = aa11a4acd2765392808bca2041f6f9ba17565c72dccc3f5d876bf78effa06126 +SIZE (openpyxl-1.8.6.tar.gz) = 76555 Property changes on: textproc/py-openpyxl1/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: textproc/py-openpyxl1/pkg-descr =================================================================== --- textproc/py-openpyxl1/pkg-descr (revision 0) +++ textproc/py-openpyxl1/pkg-descr (working copy) @@ -0,0 +1,3 @@ +OpenPyxl is a Python library to read/write Excel 2007 xlsx/xlsm files. + +WWW: http://openpyxl.readthedocs.org/ Property changes on: textproc/py-openpyxl1/pkg-descr ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property --- patch-textproc_py-openpyxl1.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted: