summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2014-10-19 07:38:11 +0000
committerMarcus von Appen <mva@FreeBSD.org>2014-10-19 07:38:11 +0000
commit57f1865da832cd9d777a31b47df5288436112d6a (patch)
treed6e27a0d57616c7eccb2246962b90d385173b08f
parent- Convert ports from audio/ to new USES=python (diff)
- Convert ports from benchmarks/ and biology/ to new USES=python
Approved by: portmgr (implicit)
Notes
Notes: svn path=/head/; revision=371171
-rw-r--r--benchmarks/pybench/Makefile3
-rw-r--r--benchmarks/tsung/Makefile3
-rw-r--r--biology/py-biopython/Makefile5
-rw-r--r--biology/pycogent/Makefile6
-rw-r--r--biology/pyfasta/Makefile5
-rw-r--r--biology/python-nexus/Makefile5
-rw-r--r--biology/seqan/Makefile3
-rw-r--r--biology/velvet/Makefile2
8 files changed, 12 insertions, 20 deletions
diff --git a/benchmarks/pybench/Makefile b/benchmarks/pybench/Makefile
index 5bdd126b489d..37b52dbb59f4 100644
--- a/benchmarks/pybench/Makefile
+++ b/benchmarks/pybench/Makefile
@@ -11,8 +11,7 @@ COMMENT= Extensible benchmark suite for Python
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= zip
-USE_PYTHON= yes
+USES= python zip
PORTDOCS= README
diff --git a/benchmarks/tsung/Makefile b/benchmarks/tsung/Makefile
index dd19f0eaa4ac..c40a0a65df0f 100644
--- a/benchmarks/tsung/Makefile
+++ b/benchmarks/tsung/Makefile
@@ -15,10 +15,9 @@ BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
USE_PERL5= run
-USE_PYTHON_RUN= yes
GNU_CONFIGURE= yes
-USES= gmake perl5 shebangfix
+USES= gmake perl5 python:run shebangfix
SHEBANG_FILES= src/*.pl.in src/tsung-plotter/tsung/tsung.py
PLIST_SUB= PORTVERSION=${PORTVERSION}
diff --git a/biology/py-biopython/Makefile b/biology/py-biopython/Makefile
index 6e4595f8ea01..8ee594faff6c 100644
--- a/biology/py-biopython/Makefile
+++ b/biology/py-biopython/Makefile
@@ -14,9 +14,8 @@ COMMENT= Collection of Python modules for bioinformatics
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY}
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python:2
+USE_PYTHON= distutils autoplist
.if !defined(WITHOUT_REPORTLAB)
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}reportlab1>0:${PORTSDIR}/print/py-reportlab1
diff --git a/biology/pycogent/Makefile b/biology/pycogent/Makefile
index 576a2a4da6d6..4d4b6e57f877 100644
--- a/biology/pycogent/Makefile
+++ b/biology/pycogent/Makefile
@@ -20,9 +20,7 @@ BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}sqlalchemy06>=0.5:${PORTSDIR}/databases/py-sqlalchemy06
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_PKGNAME= cogent
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/biology/pyfasta/Makefile b/biology/pyfasta/Makefile
index 3ba4851e29fc..2c7d49cd2532 100644
--- a/biology/pyfasta/Makefile
+++ b/biology/pyfasta/Makefile
@@ -15,8 +15,7 @@ LICENSE= MIT
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/biology/python-nexus/Makefile b/biology/python-nexus/Makefile
index 3cf32922ea01..d17e8211d2e4 100644
--- a/biology/python-nexus/Makefile
+++ b/biology/python-nexus/Makefile
@@ -10,8 +10,7 @@ MASTER_SITES= CHEESESHOP
MAINTAINER= wen@FreeBSD.org
COMMENT= Generic nexus file format reader for python
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/biology/seqan/Makefile b/biology/seqan/Makefile
index 2c56f9c1b52a..a2094f638a0b 100644
--- a/biology/seqan/Makefile
+++ b/biology/seqan/Makefile
@@ -16,9 +16,8 @@ LICENSE_COMB= multi
LICENSE_FILE_BSD=${WRKSRC}/seqan/LICENSE
LICENSE_FILE_GPLv3=${WRKSRC}/apps/LICENSE
-USES= cmake:outsource zip
+USES= cmake:outsource python:build zip
CMAKE_SOURCE_PATH=${WRKSRC}/cmake
-USE_PYTHON_BUILD=yes
MAKE_JOB_SAFE= yes
SUB_FILES= pkg-message
diff --git a/biology/velvet/Makefile b/biology/velvet/Makefile
index 1b25da738a44..200cf9f0a3cc 100644
--- a/biology/velvet/Makefile
+++ b/biology/velvet/Makefile
@@ -43,7 +43,7 @@ PERLMOD_FILES= contrib/VelvetOptimiser-2.2.4/VelvetOpt/Assembly.pm \
contrib/VelvetOptimiser-2.2.4/VelvetOpt/hwrap.pm
.if !defined(WITHOUT_PYTHON)
-USE_PYTHON= yes
+USES+= python
SHEBANG_FILES+= contrib/AssemblyAssembler1.3/AssemblyAssembler1.3.py
.endif