Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2011 02:24:54 GMT
From:      Wen Heping <wen@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/155077: [Patch]databases/mydbf2mysql: fix build with python-2.7
Message-ID:  <201102270224.p1R2OsM8001375@red.freebsd.org>
Resent-Message-ID: <201102270230.p1R2UDrT095440@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         155077
>Category:       ports
>Synopsis:       [Patch]databases/mydbf2mysql: 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:   Sun Feb 27 02:30:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        FreeBSD 9.0
>Organization:
FreeBSD
>Environment:
>Description:
fix build with python-2.7 which will be default soon
>How-To-Repeat:

>Fix:
--- Makefile.orig       2011-02-27 01:38:16.000000000 +0000
+++ Makefile    2011-02-27 01:29:41.000000000 +0000
@@ -17,6 +17,8 @@
 RUN_DEPENDS+=  ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb
 RUN_DEPENDS+=  ydbf=0.0.1:${PORTSDIR}/devel/py-ydbf

+PLIST_SUB+=    PYTHON_VER=${PYTHON_VER}
+
 USE_PYTHON=    2.6+
 USE_PYDISTUTILS=yes
 USE_BZIP2=     yes
--- distinfo.orig       2011-02-27 01:37:09.000000000 +0000
+++ distinfo    2011-02-27 01:38:25.000000000 +0000
@@ -1,3 +1,2 @@
-MD5 (MyDBF2MySQL-0.8.4.5.tar.bz2) = 1ba9d8e35b7a86a6a9f2bb4abf93cc9c
 SHA256 (MyDBF2MySQL-0.8.4.5.tar.bz2) = 5656a1b2f9bb73aba48266261f7f8d1c8e5d2c61cabcf47ebf470ad1b147bd60
 SIZE (MyDBF2MySQL-0.8.4.5.tar.bz2) = 20031
--- pkg-plist.orig      2011-02-27 01:06:18.000000000 +0000
+++ pkg-plist   2011-02-27 01:14:03.000000000 +0000
@@ -1,5 +1,5 @@
 bin/mydbf2mysql
-%%PYTHON_SITELIBDIR%%/MyDBF2MySQL-0.8.4.5-py2.6.egg-info
+%%PYTHON_SITELIBDIR%%/MyDBF2MySQL-0.8.4.5-py%%PYTHON_VER%%.egg-info
 %%PYTHON_SITELIBDIR%%/MyDBF2MySQL/__init__.py
 %%PYTHON_SITELIBDIR%%/MyDBF2MySQL/__init__.pyc
 %%PYTHON_SITELIBDIR%%/MyDBF2MySQL/__init__.pyo

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102270224.p1R2OsM8001375>