ports/163884: [Patch]databases/py-sqlalchemy:strict depend on py-MySQLdb

wen wen at FreeBSD.org
Sat Jan 7 11:10:07 UTC 2012


>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:



More information about the freebsd-ports-bugs mailing list