Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jan 2012 11:05:19 GMT
From:      wen <wen@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163884: [Patch]databases/py-sqlalchemy:strict depend on py-MySQLdb
Message-ID:  <201201071105.q07B5Jhc066467@red.freebsd.org>
Resent-Message-ID: <201201071110.q07BA7g5013135@freefall.freebsd.org>

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

>Number:         163884
>Category:       ports
>Synopsis:       [Patch]databases/py-sqlalchemy:strict depend on py-MySQLdb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 07 11:10:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     wen
>Release:        FreeBSD-10.0
>Organization:
FreeBSD
>Environment:
>Description:
currently, py-MySQLdb could not build with python3,
so strict depend on it here
>How-To-Repeat:

>Fix:
--- Makefile.orig       2012-01-06 10:41:35.000000000 +0800
+++ Makefile    2012-01-06 14:09:43.000000000 +0800
@@ -52,8 +52,10 @@
 .endif

 .if !defined(WITHOUT_MYSQL)
+.if ${PYTHON_VER} < 3.0
 RUN_DEPENDS+=  ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb
 .endif
+.endif

 .if defined(WITH_NOSE)
 RUN_DEPENDS+=  ${PYTHON_PKGNAMEPREFIX}nose-1.0.0:${PORTSDIR}/devel/py-nose

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



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