ports/155184: [Patch]textproc/py-xlwt: fix build with Python-2.7

Wen Heping wen at FreeBSD.org
Wed Mar 2 10:20:09 UTC 2011


>Number:         155184
>Category:       ports
>Synopsis:       [Patch]textproc/py-xlwt: fix build with Python-2.7
>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:   Wed Mar 02 10:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        
>Organization:
FreeBSD
>Environment:
>Description:
fix build with python-2.7
>How-To-Repeat:

>Fix:
--- Makefile.orig       2011-03-02 09:59:51.000000000 +0000
+++ Makefile    2011-03-02 10:01:13.000000000 +0000
@@ -13,7 +13,9 @@
 MAINTAINER=    dikshie at sfc.wide.ad.jp
 COMMENT=       Writing data and formatting information from Excel files

-USE_PYTHON=    2.5-2.6
+PLIST_SUB=             PYTHON_VER=${PYTHON_VER}
+
+USE_PYTHON=            yes
 USE_PYDISTUTILS=       yes

 .include <bsd.port.mk>
--- distinfo.orig       2011-03-02 10:15:22.000000000 +0000
+++ distinfo    2011-03-02 10:15:29.000000000 +0000
@@ -1,3 +1,2 @@
-MD5 (xlwt-0.7.2.tar.gz) = ed4b529b883a60b1b887fa30f31823f3
 SHA256 (xlwt-0.7.2.tar.gz) = 4dfbacf77e1b9e760621a8d63cd1e799fb046087a9f2a81b40d300c425e0a056
 SIZE (xlwt-0.7.2.tar.gz) = 114736
--- pkg-plist.orig      2011-03-02 10:00:00.000000000 +0000
+++ pkg-plist   2011-03-02 10:00:40.000000000 +0000
@@ -1,4 +1,4 @@
-lib/%%PYTHON_VERSION%%/site-packages/xlwt-0.7.2-py2.6.egg-info
+lib/%%PYTHON_VERSION%%/site-packages/xlwt-0.7.2-py%%PYTHON_VER%%.egg-info
 lib/%%PYTHON_VERSION%%/site-packages/xlwt/BIFFRecords.py
 lib/%%PYTHON_VERSION%%/site-packages/xlwt/BIFFRecords.pyc
 lib/%%PYTHON_VERSION%%/site-packages/xlwt/BIFFRecords.pyo

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list