summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-05-22 13:15:13 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-05-22 13:15:13 +0000
commit8dcaabcd6e5bd17c58c938ffb4b9f2fd7847f70f (patch)
treec832b87b776a5db072088687b910601d961726da /databases
parentAdd Python flavors. (diff)
Add PY_FLAVOR to Python module dependencies.
Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=470610
Diffstat (limited to 'databases')
-rw-r--r--databases/mongodb/Makefile2
-rw-r--r--databases/mongodb32/Makefile4
-rw-r--r--databases/mongodb34-rocks/Makefile4
-rw-r--r--databases/mongodb34/Makefile4
-rw-r--r--databases/nagios-check_mongodb/Makefile2
-rw-r--r--databases/nagios-check_postgres_replication/Makefile4
-rw-r--r--databases/py-pyPgSQL/Makefile2
-rw-r--r--databases/xapian-bindings/Makefile2
8 files changed, 12 insertions, 12 deletions
diff --git a/databases/mongodb/Makefile b/databases/mongodb/Makefile
index 3d962effd44d..f7ed95de9634 100644
--- a/databases/mongodb/Makefile
+++ b/databases/mongodb/Makefile
@@ -63,7 +63,7 @@ LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2
.if ${PORT_OPTIONS:MTEST}
USES+= python:build
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymongo>=2.5:databases/pymongo
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymongo>=2.5:databases/pymongo@${PY_FLAVOR}
TEST_TARGET= smokeAll smokeCppUnittests
. if ${PORT_OPTIONS:MSSL}
TEST_TARGET+= smokeSsl
diff --git a/databases/mongodb32/Makefile b/databases/mongodb32/Makefile
index f31d54af40eb..eb7d8d2a29d6 100644
--- a/databases/mongodb32/Makefile
+++ b/databases/mongodb32/Makefile
@@ -22,8 +22,8 @@ BROKEN_SSL= openssl-devel
BROKEN_SSL_REASON_openssl-devel= variable has incomplete type 'EVP_MD_CTX' (aka 'evp_md_ctx_st')
LIB_DEPENDS= libpcre.so:devel/pcre \
libsnappy.so:archivers/snappy
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml \
- ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:databases/pymongo
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:databases/pymongo@${PY_FLAVOR}
CHOSEN_COMPILER_TYPE= clang
diff --git a/databases/mongodb34-rocks/Makefile b/databases/mongodb34-rocks/Makefile
index 3ae250fb028d..d6517b86edb0 100644
--- a/databases/mongodb34-rocks/Makefile
+++ b/databases/mongodb34-rocks/Makefile
@@ -33,8 +33,8 @@ LIB_DEPENDS= libpcre.so:devel/pcre \
libboost_system.so:devel/boost-libs \
librocksdb.so:databases/rocksdb \
liblz4.so:archivers/liblz4
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml \
- ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:databases/pymongo
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:databases/pymongo@${PY_FLAVOR}
USES= compiler:c++14-lang cpe python:build scons
USE_RC_SUBR= mongod \
diff --git a/databases/mongodb34/Makefile b/databases/mongodb34/Makefile
index cd2d7f4d0446..0850f1f43e0d 100644
--- a/databases/mongodb34/Makefile
+++ b/databases/mongodb34/Makefile
@@ -26,8 +26,8 @@ ONLY_FOR_ARCHS_REASON= "Only supported on amd64 (i386 deprecated in v3)"
LIB_DEPENDS= libpcre.so:devel/pcre \
libsnappy.so:archivers/snappy \
libboost_system.so:devel/boost-libs
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml \
- ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:databases/pymongo
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:databases/pymongo@${PY_FLAVOR}
CONFLICTS_BUILD= mongo-cxx-driver
diff --git a/databases/nagios-check_mongodb/Makefile b/databases/nagios-check_mongodb/Makefile
index 178fa5d0ac61..3387df373ca4 100644
--- a/databases/nagios-check_mongodb/Makefile
+++ b/databases/nagios-check_mongodb/Makefile
@@ -9,7 +9,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}nagios-
MAINTAINER= demon@FreeBSD.org
COMMENT= Nagios plugin to check mongodb server
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymongo>=0:databases/pymongo
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymongo>=0:databases/pymongo@${PY_FLAVOR}
USE_GITHUB= yes
GH_ACCOUNT= mzupan
diff --git a/databases/nagios-check_postgres_replication/Makefile b/databases/nagios-check_postgres_replication/Makefile
index a39bc5fd9d98..0a2caa2cb160 100644
--- a/databases/nagios-check_postgres_replication/Makefile
+++ b/databases/nagios-check_postgres_replication/Makefile
@@ -15,8 +15,8 @@ COMMENT= Nagios plugin to check the lag between a postgresql replica and master
LICENSE= MIT
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nagiosplugin>=0:sysutils/py-nagiosplugin \
- ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nagiosplugin>=0:sysutils/py-nagiosplugin@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR}
USES= python shebangfix
SHEBANG_FILES= check_postgres_replication.py
diff --git a/databases/py-pyPgSQL/Makefile b/databases/py-pyPgSQL/Makefile
index 10680ea58713..65d024a683c8 100644
--- a/databases/py-pyPgSQL/Makefile
+++ b/databases/py-pyPgSQL/Makefile
@@ -13,7 +13,7 @@ COMMENT= Python DB-API 2.0 compliant interface to PostgreSQL
LICENSE= BSD2CLAUSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mx-base>0:lang/py-mx-base
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mx-base>0:lang/py-mx-base@${PY_FLAVOR}
USES= pgsql python:2.7
USE_PYTHON= distutils autoplist
diff --git a/databases/xapian-bindings/Makefile b/databases/xapian-bindings/Makefile
index 461b9e4069c9..a3a0fce5b604 100644
--- a/databases/xapian-bindings/Makefile
+++ b/databases/xapian-bindings/Makefile
@@ -21,7 +21,7 @@ LUA_RUN_DEPENDS= ${LUA_PKGNAMEPREFIX}xapian>=${PORTVERSION}:databases/lua-xapian
LUA_USES= lua:run
PERL_RUN_DEPENDS= p5-Xapian>=${PORTVERSION}:databases/p5-Xapian
PHP_RUN_DEPENDS= php-xapian>=${PORTVERSION}:databases/php-xapian
-PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xapian>=${PORTVERSION}:databases/py-xapian
+PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xapian>=${PORTVERSION}:databases/py-xapian@${PY_FLAVOR}
PYTHON_USES= python:run
RUBY_RUN_DEPENDS= ${RUBY_PKGNAMEPREFIX}xapian>=${PORTVERSION}:databases/ruby-xapian
RUBY_USE= RUBY=yes