diff options
author | mva <mva@FreeBSD.org> | 2014-10-21 16:54:54 +0000 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2014-10-21 16:54:54 +0000 |
commit | b6827dcf26ed23173747cec0ea959becd8d8fa8c (patch) | |
tree | b6e8a2e2e173200c3e989ccba48ea51ad0a5a047 | |
parent | 2bec37a737da3e1a962affdba65963280dd79a66 (diff) | |
download | FreeBSD-ports-b6827dcf26ed23173747cec0ea959becd8d8fa8c.zip FreeBSD-ports-b6827dcf26ed23173747cec0ea959becd8d8fa8c.tar.gz |
- Convert ports of math/ to new USES=python
Approved by: portmgr (implicit)
50 files changed, 96 insertions, 142 deletions
diff --git a/math/aspcud/Makefile b/math/aspcud/Makefile index 96ad302..2bea62d 100644 --- a/math/aspcud/Makefile +++ b/math/aspcud/Makefile @@ -19,8 +19,7 @@ RUN_DEPENDS= gringo:${PORTSDIR}/math/gringo \ clasp:${PORTSDIR}/math/clasp \ bash:${PORTSDIR}/shells/bash -USE_PYTHON_RUN= yes -USES= compiler:c++11-lang cmake:outsource +USES= compiler:c++11-lang cmake:outsource python:run CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man diff --git a/math/biggles/Makefile b/math/biggles/Makefile index c8b84c9..517de04 100644 --- a/math/biggles/Makefile +++ b/math/biggles/Makefile @@ -16,8 +16,7 @@ LICENSE= GPLv2 BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libplot.so:${PORTSDIR}/graphics/plotutils -USES= gmake -USE_PYTHON= 2 +USES= gmake python:2 MAKE_ARGS= CC="${CC}" \ CFLAGS="${CFLAGS} -fPIC" \ LIBPLOT_CPPFLAGS="-I${LOCALBASE}/include" \ diff --git a/math/clarence/Makefile b/math/clarence/Makefile index b7ce17d..d2ed6f1 100644 --- a/math/clarence/Makefile +++ b/math/clarence/Makefile @@ -11,9 +11,8 @@ MASTER_SITES= http://www.sourcefiles.org/Productivity_Tools/Calculators/ \ MAINTAINER= psh@iki.fi COMMENT= Programmer's calculator -USES= shebangfix +USES= python shebangfix USE_GNOME= pygtk2 -USE_PYTHON= yes NO_BUILD= yes PLIST_FILES= bin/clarence man/man1/clarence.1.gz diff --git a/math/freemat/Makefile b/math/freemat/Makefile index ae270fc..c0ce7a0 100644 --- a/math/freemat/Makefile +++ b/math/freemat/Makefile @@ -26,9 +26,8 @@ LIB_DEPENDS= libarpack.so:${PORTSDIR}/math/arpack \ libportaudio.so:${PORTSDIR}/audio/portaudio \ libumfpack.so:${PORTSDIR}/math/suitesparse -USES= cmake:outsource dos2unix fortran pkgconfig +USES= cmake:outsource dos2unix fortran pkgconfig python:build USE_GL= yes -USE_PYTHON_BUILD= yes USE_QT4= gui network opengl svg webkit xml \ moc_build qmake_build rcc_build uic_build CMAKE_ARGS= -DCMAKE_LIBRARY_PATH:STRING="${LOCALBASE}/llvm33/lib" \ diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile index 5930ea0..1e9c7ff 100644 --- a/math/gnumeric/Makefile +++ b/math/gnumeric/Makefile @@ -21,9 +21,8 @@ LIB_DEPENDS= libgoffice-0.10.so:${PORTSDIR}/devel/goffice010 \ RUN_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \ - shebangfix tar:xz + python:2 shebangfix tar:xz USE_GNOME= gnomehier gnomeprefix intlhack libgsf pygobject3 -USE_PYTHON= 2 INSTALLS_OMF= yes USE_LDCONFIG= yes INSTALLS_ICONS= yes diff --git a/math/hfst/Makefile b/math/hfst/Makefile index 302c79f..f36703a 100644 --- a/math/hfst/Makefile +++ b/math/hfst/Makefile @@ -11,10 +11,9 @@ MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME} MAINTAINER= demon@FreeBSD.org COMMENT= A toolkit for for processing natural language morphologies -USES= pkgconfig shebangfix libtool +USES= pkgconfig shebangfix libtool python:2 USE_GNOME= glib20 libxml2 USE_GCC= yes -USE_PYTHON= 2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-readline --with-unicode-handler=glib --enable-proc --enable-tagger --enable-xfst --enable-shuffle --enable-traverse SHEBANG_FILES= tools/src/hfst-tagger/src/hfst_tagger_compute_data_statistics.py diff --git a/math/lapack/Makefile b/math/lapack/Makefile index 608626e..a7b2748 100644 --- a/math/lapack/Makefile +++ b/math/lapack/Makefile @@ -52,7 +52,7 @@ SVERSION= 4 TEST_TARGET= lapack_testing .if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING) S= ${PYTHON_CMD} -USE_PYTHON_BUILD= yes +USES+= python:build .else S= \# .endif diff --git a/math/lybniz/Makefile b/math/lybniz/Makefile index 845df3f..4315705 100644 --- a/math/lybniz/Makefile +++ b/math/lybniz/Makefile @@ -12,9 +12,9 @@ COMMENT= Mathematical function graph plotter LICENSE= BSD3CLAUSE -USE_PYTHON= yes +USES= python +USE_PYTHON= distutils USE_GNOME= pygtk2 gnomehier -USE_PYDISTUTILS= yes post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g'\ diff --git a/math/maxima/Makefile b/math/maxima/Makefile index 535d679..ab9348a 100644 --- a/math/maxima/Makefile +++ b/math/maxima/Makefile @@ -18,9 +18,8 @@ RUN_DEPENDS= ${LOCALBASE}/bin/${LISPPORT} \ ${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot \ ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash -USES= gmake makeinfo perl5 tk:84+ +USES= gmake makeinfo perl5 python:build tk:84+ USE_PERL5= build -USE_PYTHON_BUILD= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --prefix=${PREFIX} \ --with-posix-shell=${LOCALBASE}/bin/bash \ diff --git a/math/plplot/Makefile b/math/plplot/Makefile index 58e7fcd..f19b525 100644 --- a/math/plplot/Makefile +++ b/math/plplot/Makefile @@ -72,7 +72,7 @@ PLIST_SUB+= LUA="@comment " BUILD_DEPENDS+= swig:${PORTSDIR}/devel/swig13 \ ${PYNUMPY} RUN_DEPENDS+= ${PYNUMPY} -USE_PYTHON= yes +USES+= python PLIST_SUB+= PYTHON="" CONFIGURE_ENV+= PYTHON_VERSION="${PYTHON_VERSION}" .else diff --git a/math/py-apgl/Makefile b/math/py-apgl/Makefile index b59becf..4a15644 100644 --- a/math/py-apgl/Makefile +++ b/math/py-apgl/Makefile @@ -17,8 +17,7 @@ BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0.7.0:${PORTSDIR}/science/py-scipy 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/math/py-basemap-data/Makefile b/math/py-basemap-data/Makefile index 745b2c7..b4f4602 100644 --- a/math/py-basemap-data/Makefile +++ b/math/py-basemap-data/Makefile @@ -11,9 +11,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= mainland@apeiron.net COMMENT= Map data for py-basemap -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist DATADIR= ${PREFIX}/share/py-${PORTNAME} MAKE_ENV= BASEMAP_DATA_PATH=${DATADIR} diff --git a/math/py-basemap/Makefile b/math/py-basemap/Makefile index db5e679..22e0f36 100644 --- a/math/py-basemap/Makefile +++ b/math/py-basemap/Makefile @@ -13,9 +13,8 @@ COMMENT= Plots data on map projections with continental and political boundaries RUN_DEPENDS= ${PYTHON_SITELIBDIR}/matplotlib/:${PORTSDIR}/math/py-matplotlib -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist DATADIR= ${PREFIX}/share/py-${PORTNAME}-data EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} diff --git a/math/py-bitvector/Makefile b/math/py-bitvector/Makefile index 82be671..edded3b 100644 --- a/math/py-bitvector/Makefile +++ b/math/py-bitvector/Makefile @@ -14,8 +14,8 @@ COMMENT= Pure-Python memory-efficient packed representation for bit arrays LICENSE= PSFL -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USES= python +USE_PYTHON= distutils PYDISTUTILS_PKGNAME= BitVector PORTDOCS= README BitVector-${PORTVERSION}.html diff --git a/math/py-bottleneck/Makefile b/math/py-bottleneck/Makefile index b8a6c29..48f281f 100644 --- a/math/py-bottleneck/Makefile +++ b/math/py-bottleneck/Makefile @@ -19,9 +19,8 @@ BUILD_DEPENDS= ${PYNUMPY} \ RUN_DEPENDS= ${PYNUMPY} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist OPTIONS_DEFINE= DOCS DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} diff --git a/math/py-fastcluster/Makefile b/math/py-fastcluster/Makefile index ab62de0..fba9898 100644 --- a/math/py-fastcluster/Makefile +++ b/math/py-fastcluster/Makefile @@ -22,9 +22,8 @@ PORTDOCS= CITATION.txt \ NEWS.txt \ README.txt -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/math/py-ffc/Makefile b/math/py-ffc/Makefile index 3bfe8db..728f8d1 100644 --- a/math/py-ffc/Makefile +++ b/math/py-ffc/Makefile @@ -12,8 +12,8 @@ COMMENT= C++ code generator for multilinear forms LICENSE= LGPL3 -USE_PYTHON= 2 -USE_PYDISTUTILS= yes +USES= python:2 +USE_PYTHON= distutils PYDISTUTILS_PKGNAME= FFC MMVERSION= 1.2 diff --git a/math/py-fiat/Makefile b/math/py-fiat/Makefile index 7948eda..faaec41 100644 --- a/math/py-fiat/Makefile +++ b/math/py-fiat/Makefile @@ -17,9 +17,8 @@ LICENSE= LGPL3 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scientific>=0:${PORTSDIR}/math/py-scientific RUN_DEPENDS:= ${BUILD_DEPENDS} -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist MMVERSION= 1.1 diff --git a/math/py-fpconst/Makefile b/math/py-fpconst/Makefile index 9a97393..208e69f 100644 --- a/math/py-fpconst/Makefile +++ b/math/py-fpconst/Makefile @@ -1,17 +1,16 @@ # Created by: Rui Lopes <rui@ruilopes.com> # $FreeBSD$ -PORTNAME= fpconst -PORTVERSION= 0.7.2 -CATEGORIES= math python -MASTER_SITES= CHEESESHOP -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PORTNAME= fpconst +PORTVERSION= 0.7.2 +CATEGORIES= math python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org -COMMENT= Utilities for handling IEEE 754 floating point special values +MAINTAINER= ports@FreeBSD.org +COMMENT= Utilities for handling IEEE 754 floating point special values -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/math/py-gato/Makefile b/math/py-gato/Makefile index b93620c..426ec74 100644 --- a/math/py-gato/Makefile +++ b/math/py-gato/Makefile @@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinte WRKSRC= ${WRKDIR}/Gato -USE_PYTHON= yes +USES= python EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} diff --git a/math/py-gmpy/Makefile b/math/py-gmpy/Makefile index 7b88e93..cf00f16 100644 --- a/math/py-gmpy/Makefile +++ b/math/py-gmpy/Makefile @@ -13,10 +13,8 @@ COMMENT= Python Extension that Wraps the GMP Library LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp -USES= zip -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python zip +USE_PYTHON= distutils autoplist post-extract: ${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \ diff --git a/math/py-gnuplot/Makefile b/math/py-gnuplot/Makefile index fdbc503..ad8e973 100644 --- a/math/py-gnuplot/Makefile +++ b/math/py-gnuplot/Makefile @@ -16,9 +16,8 @@ BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \ ${PYNUMPY} -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist PORTDOCS= * diff --git a/math/py-graphillion/Makefile b/math/py-graphillion/Makefile index bd0a2fe..1072eef 100644 --- a/math/py-graphillion/Makefile +++ b/math/py-graphillion/Makefile @@ -12,11 +12,9 @@ COMMENT= Fast, lightweight graphset operation library in Python LICENSE= MIT -USE_GITHUB= yes -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes - +USES= python +USE_PYTHON= distutils autoplist +USE_GITHUB= yes GH_ACCOUNT= takemaru GH_TAGNAME= v${PORTVERSION} GH_COMMIT= 2c77c8d diff --git a/math/py-gsl/Makefile b/math/py-gsl/Makefile index 06240c5..f49ae56 100644 --- a/math/py-gsl/Makefile +++ b/math/py-gsl/Makefile @@ -17,8 +17,7 @@ BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy/core/include/numpy/arrayobject.h:${POR RUN_DEPENDS= ${PYTHON_SITELIBDIR}/numpy/__init__.py:${PORTSDIR}/math/py-numpy LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/math/py-igraph/Makefile b/math/py-igraph/Makefile index e538846..7cab9b0 100644 --- a/math/py-igraph/Makefile +++ b/math/py-igraph/Makefile @@ -14,9 +14,8 @@ COMMENT= High performance graph data structures and algorithms BUILD_DEPENDS= ${LOCALBASE}/lib/libigraph.so:${PORTSDIR}/math/igraph -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist USE_GNOME= libxml2 .include <bsd.port.mk> diff --git a/math/py-mathdom/Makefile b/math/py-mathdom/Makefile index cb0ae40..0e7ad64 100644 --- a/math/py-mathdom/Makefile +++ b/math/py-mathdom/Makefile @@ -13,8 +13,7 @@ COMMENT= Content MathML in Python RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/math/py-mpmath/Makefile b/math/py-mpmath/Makefile index 468e737..da7753a 100644 --- a/math/py-mpmath/Makefile +++ b/math/py-mpmath/Makefile @@ -14,8 +14,7 @@ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gmpy.so:${PORTSDIR}/math/py-gmpy -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/math/py-munkres/Makefile b/math/py-munkres/Makefile index d5f3197..7e0ec7c 100644 --- a/math/py-munkres/Makefile +++ b/math/py-munkres/Makefile @@ -14,8 +14,8 @@ COMMENT= Python implementation of the munkres algorithm LICENSE= BSD LICENSE_FILE= ${WRKSRC}/LICENSE -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USES= python +USE_PYTHON= distutils PLIST_FILES= %%PYTHON_SITELIBDIR%%/munkres.py \ %%PYTHON_SITELIBDIR%%/munkres.pyc \ diff --git a/math/py-networkx/Makefile b/math/py-networkx/Makefile index 590836f..916aeb3 100644 --- a/math/py-networkx/Makefile +++ b/math/py-networkx/Makefile @@ -13,9 +13,8 @@ COMMENT= Tools for complex networks LICENSE= BSD3CLAUSE -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python shebangfix +USE_PYTHON= distutils autoplist PLIST_SUB+= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER} @@ -23,8 +22,6 @@ OPTIONS_DEFINE= EXAMPLES EXAMPLESDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} PORTEXAMPLES= * -USES= shebangfix - .include <bsd.port.options.mk> post-install: diff --git a/math/py-numarray/Makefile b/math/py-numarray/Makefile index bb69939..63b506e 100644 --- a/math/py-numarray/Makefile +++ b/math/py-numarray/Makefile @@ -10,9 +10,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Numeric array manipulation extension module for Python -USE_PYTHON= yes -USE_PYDISTUTILS=yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist PORTDOCS= * PORTEXAMPLES= * diff --git a/math/py-numeric/Makefile b/math/py-numeric/Makefile index 3551d2e..acb8537 100644 --- a/math/py-numeric/Makefile +++ b/math/py-numeric/Makefile @@ -15,9 +15,8 @@ EXTRACT_ONLY= Numeric-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= The Numeric Extension to Python -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist WRKSRC= ${WRKDIR}/Numeric-${PORTVERSION} diff --git a/math/py-nzmath/Makefile b/math/py-nzmath/Makefile index 83eacb8..59e319e 100644 --- a/math/py-nzmath/Makefile +++ b/math/py-nzmath/Makefile @@ -11,8 +11,8 @@ DISTNAME= NZMATH-${PORTVERSION} MAINTAINER= wen@FreeBSD.org COMMENT= Number theory oriented calculation system -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USES= python +USE_PYTHON= distutils PYDISTUTILS_PKGNAME= NZMATH OPTIONS_DEFINE= DOCS diff --git a/math/py-patsy/Makefile b/math/py-patsy/Makefile index 2546e57..870c6bd 100644 --- a/math/py-patsy/Makefile +++ b/math/py-patsy/Makefile @@ -16,9 +16,8 @@ LICENSE= BSD BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist PORTDOCS= API-reference.rst \ R-comparison.rst \ diff --git a/math/py-plastex/Makefile b/math/py-plastex/Makefile index b663220..0342bfd 100644 --- a/math/py-plastex/Makefile +++ b/math/py-plastex/Makefile @@ -12,8 +12,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= LaTeX Document Processing Framework WRKSRC= ${WRKDIR}/${PORTNAME} -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/math/py-probstat/Makefile b/math/py-probstat/Makefile index ee2a2b6..35bca49 100644 --- a/math/py-probstat/Makefile +++ b/math/py-probstat/Makefile @@ -12,8 +12,7 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Probability And Statistics Utils for Python -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/math/py-pybloom/Makefile b/math/py-pybloom/Makefile index 8b2c92d..10254ae 100644 --- a/math/py-pybloom/Makefile +++ b/math/py-pybloom/Makefile @@ -13,8 +13,7 @@ COMMENT= Probabilistic data structure RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bitarray>0:${PORTSDIR}/devel/py-bitarray -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/math/py-roman/Makefile b/math/py-roman/Makefile index 7d08876..b06f9ad 100644 --- a/math/py-roman/Makefile +++ b/math/py-roman/Makefile @@ -11,8 +11,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Integer to Roman numerals converter -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/math/py-scientific/Makefile b/math/py-scientific/Makefile index 610a73b..1d7aeeb 100644 --- a/math/py-scientific/Makefile +++ b/math/py-scientific/Makefile @@ -16,9 +16,8 @@ BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libnetcdf.so:${PORTSDIR}/science/netcdf RUN_DEPENDS= ${PYNUMPY} -USE_PYTHON= yes -USE_PYDISTUTILS=yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} diff --git a/math/py-statsmodels/Makefile b/math/py-statsmodels/Makefile index e3d304b..6b4a77c 100644 --- a/math/py-statsmodels/Makefile +++ b/math/py-statsmodels/Makefile @@ -28,11 +28,9 @@ OPTIONS_DEFINE= DOCS EXAMPLES DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/doc/py-${PORTNAME} -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USES= python +USE_PYTHON= distutils py3kplist noegginfo PLIST_SUB= PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO} -PYTHON_P3K_PLIST_HACK= yes -PYDISTUTILS_NOEGGINFO= yes PORTDOCS= * .buildinfo PORTEXAMPLES= * diff --git a/math/py-svgmath/Makefile b/math/py-svgmath/Makefile index fcf0578..fd62d99 100644 --- a/math/py-svgmath/Makefile +++ b/math/py-svgmath/Makefile @@ -11,9 +11,7 @@ DISTNAME= SVGMath-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= MathML to SVG Converter in Python -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_PKGNAME= SVGMath -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/math/py-symeig/Makefile b/math/py-symeig/Makefile index 7dbe81d..256031c 100644 --- a/math/py-symeig/Makefile +++ b/math/py-symeig/Makefile @@ -19,10 +19,8 @@ RUN_DEPENDS+= ${PYNUMPY} LATEST_LINK= py-${PORTNAME} OPTIONSFILE= ${PORT_DBDIR}/py-numpy/options -USES= fortran -USE_PYTHON= 2 -USE_PYDISTUTILS=yes -PYDISTUTILS_AUTOPLIST= yes +USES= fortran python:2 +USE_PYTHON= distutils autoplist LDFLAGS+= -shared diff --git a/math/py-sympy/Makefile b/math/py-sympy/Makefile index 102a17e..5ce11ab 100644 --- a/math/py-sympy/Makefile +++ b/math/py-sympy/Makefile @@ -13,9 +13,8 @@ COMMENT= Python Library For Symbolic Mathematics LICENSE= BSD -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist OPTIONS_DEFINE= PYGLET PYGLET_DESC= Enable plotting support diff --git a/math/py-ufl/Makefile b/math/py-ufl/Makefile index b84edd4..959831f 100644 --- a/math/py-ufl/Makefile +++ b/math/py-ufl/Makefile @@ -13,9 +13,8 @@ COMMENT= Unified Form Language for finite element discretizations LICENSE= LGPL3 -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist MMVERSION= 1.2 diff --git a/math/py-viper/Makefile b/math/py-viper/Makefile index 1438b06..7cebb29 100644 --- a/math/py-viper/Makefile +++ b/math/py-viper/Makefile @@ -12,9 +12,8 @@ COMMENT= Minimalistic scientific plotter and visualization module LICENSE= LGPL3 -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist post-patch: @${REINPLACE_CMD} -e 's|data_files=\[(join("share", "man", "man1"),|data_files=\[(join("man", "man1"),|' \ diff --git a/math/qtiplot/Makefile b/math/qtiplot/Makefile index c0ff554..b7d393b 100644 --- a/math/qtiplot/Makefile +++ b/math/qtiplot/Makefile @@ -39,7 +39,7 @@ STRIP_FILES= bin/qtiplot share/qtiplot/fitPlugins/*.so.1.0.0 .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MPYTHON} -USE_PYTHON= yes +USES+= python BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui PLIST_SUB+= PYTHON="" diff --git a/math/rpy/Makefile b/math/rpy/Makefile index 46c2665..d8e44fd 100644 --- a/math/rpy/Makefile +++ b/math/rpy/Makefile @@ -18,9 +18,8 @@ BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \ R:${PORTSDIR}/math/R -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist LDFLAGS+= -L${LOCALBASE}/lib/R/modules -L${LOCALBASE}/lib/R/lib post-patch: diff --git a/math/rpy2/Makefile b/math/rpy2/Makefile index 5e67d06..e6100215 100644 --- a/math/rpy2/Makefile +++ b/math/rpy2/Makefile @@ -17,10 +17,8 @@ BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \ R:${PORTSDIR}/math/R -USES= readline -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python readline +USE_PYTHON= distutils autoplist post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py diff --git a/math/saga/Makefile b/math/saga/Makefile index 0c59ab6..a9c5314 100644 --- a/math/saga/Makefile +++ b/math/saga/Makefile @@ -32,10 +32,9 @@ CFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib -lopencv_contrib # Python no option any more, because it can't be turned off completely -USE_PYTHON= 2 USE_LDCONFIG= yes USE_WX= 3.0+ -USES= compiler:gcc-c++11-lib iconv:wchar_t dos2unix libtool +USES= compiler:gcc-c++11-lib iconv:wchar_t dos2unix libtool python:2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} WX_UNICODE= yes diff --git a/math/ufc/Makefile b/math/ufc/Makefile index 5afd59d..38bf945 100644 --- a/math/ufc/Makefile +++ b/math/ufc/Makefile @@ -15,8 +15,8 @@ LIB_DEPENDS= libboost_math_c99.so:${PORTSDIR}/devel/boost-libs # LICENSE= public domain -USES= cmake -USE_PYTHON= 2 +USES= cmake python:2 +USE_PYTHON= distutils PYDISTUTILS_PKGNAME= ufc CMAKE_ARGS+= -DUFC_PKGCONFIG_DIR=${PREFIX}/libdata/pkgconfig diff --git a/math/vtk5/Makefile b/math/vtk5/Makefile index 0041802..db091df 100644 --- a/math/vtk5/Makefile +++ b/math/vtk5/Makefile @@ -144,7 +144,8 @@ IGNORE= python wrapping does not stage properly IGNORE= python wrapping requires shared libraries.\ Run make config again and enable the SHARED option .endif -USE_PYTHON= yes +USES+= python +USE_PYTHON= distutils PYDISTUTILS_PKGNAME= VTK # INSTALLS_EGGINFO support has been removed # INSTALLS_EGGINFO= yes |