aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2011-03-19 21:39:57 +0800
committernivit <nivit@FreeBSD.org>2011-03-19 21:39:57 +0800
commit33f014fd398d2addaaeb19d7535e603ebaff4550 (patch)
treea7802c53f624974440d41fd25ddaa5cbb07621ac /databases
parent056be463304d28e78c9e4bc4cec48069162eba85 (diff)
downloadfreebsd-ports-gnome-33f014fd398d2addaaeb19d7535e603ebaff4550.tar.gz
freebsd-ports-gnome-33f014fd398d2addaaeb19d7535e603ebaff4550.tar.zst
freebsd-ports-gnome-33f014fd398d2addaaeb19d7535e603ebaff4550.zip
- Add option WITH_NOSE (default off) for unit tests
- Fix a typo PR: ports/154891 Submitted by: Olivier Duchateau <duchateau.olivier at gmail.com>
Diffstat (limited to 'databases')
-rw-r--r--databases/py-sqlalchemy/Makefile7
-rw-r--r--databases/py-sqlalchemy06/Makefile7
2 files changed, 12 insertions, 2 deletions
diff --git a/databases/py-sqlalchemy/Makefile b/databases/py-sqlalchemy/Makefile
index e23deca40ead..815bad32864d 100644
--- a/databases/py-sqlalchemy/Makefile
+++ b/databases/py-sqlalchemy/Makefile
@@ -1,5 +1,5 @@
# Ports collection makefile for: py-sqlalchemy
-# Date created: 12 Auguest 2004
+# Date created: 12 August 2004
# Whom: Dryice Dong Liu <dryice@dryice.name>
#
# $FreeBSD$
@@ -27,6 +27,7 @@ OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
OPTIONS= FIREBIRD "support FireBird" off
OPTIONS+= MSSQL "support MS SQL Server" off
OPTIONS+= MYSQL "support MySql" on
+OPTIONS+= NOSE "install Nose for unit tests" off
OPTIONS+= POSTGRE "support PostGreSQL" on
OPTIONS+= SQLITE "support Sqlite" on
OPTIONS+= SYBASE "support Sybase" off
@@ -53,6 +54,10 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pymssql.py:${PORTSDIR}/databases/py-mssql
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb
.endif
+.if defined(WITH_NOSE)
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}nose-1.0.0:${PORTSDIR}/devel/py-nose
+.endif
+
.if !defined(WITHOUT_POSTGRE)
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.0.8:${PORTSDIR}/databases/py-psycopg2
.endif
diff --git a/databases/py-sqlalchemy06/Makefile b/databases/py-sqlalchemy06/Makefile
index e23deca40ead..815bad32864d 100644
--- a/databases/py-sqlalchemy06/Makefile
+++ b/databases/py-sqlalchemy06/Makefile
@@ -1,5 +1,5 @@
# Ports collection makefile for: py-sqlalchemy
-# Date created: 12 Auguest 2004
+# Date created: 12 August 2004
# Whom: Dryice Dong Liu <dryice@dryice.name>
#
# $FreeBSD$
@@ -27,6 +27,7 @@ OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
OPTIONS= FIREBIRD "support FireBird" off
OPTIONS+= MSSQL "support MS SQL Server" off
OPTIONS+= MYSQL "support MySql" on
+OPTIONS+= NOSE "install Nose for unit tests" off
OPTIONS+= POSTGRE "support PostGreSQL" on
OPTIONS+= SQLITE "support Sqlite" on
OPTIONS+= SYBASE "support Sybase" off
@@ -53,6 +54,10 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pymssql.py:${PORTSDIR}/databases/py-mssql
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb
.endif
+.if defined(WITH_NOSE)
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}nose-1.0.0:${PORTSDIR}/devel/py-nose
+.endif
+
.if !defined(WITHOUT_POSTGRE)
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.0.8:${PORTSDIR}/databases/py-psycopg2
.endif