diff options
Diffstat (limited to 'science')
30 files changed, 89 insertions, 90 deletions
diff --git a/science/avogadro/Makefile b/science/avogadro/Makefile index b50c786f73c0..9cbc8598882d 100644 --- a/science/avogadro/Makefile +++ b/science/avogadro/Makefile @@ -35,10 +35,10 @@ OPTIONS_SUB= yes PYTHON_USES= python:2 PYTHON_BUILD_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}sip>0:devel/py-sip + ${PYTHON_PKGNAMEPREFIX}sip>0:devel/py-sip@${PY_FLAVOR} PYTHON_LIB_DEPENDS= libboost_python.so:devel/boost-python-libs PYTHON_RUN_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}sip>0:devel/py-sip + ${PYTHON_PKGNAMEPREFIX}sip>0:devel/py-sip@${PY_FLAVOR} PYTHON_CMAKE_ON= -DENABLE_PYTHON=ON \ -DPYTHON_INCLUDE_DIR:PATH=${WRKDIR}/include/${PYTHON_VERSION} PYTHON_CMAKE_OFF= -DENABLE_PYTHON=OFF diff --git a/science/brian/Makefile b/science/brian/Makefile index 4edc38975fa0..c9e85805a40f 100644 --- a/science/brian/Makefile +++ b/science/brian/Makefile @@ -9,12 +9,12 @@ MASTER_SITES= CHEESESHOP MAINTAINER= wen@FreeBSD.org COMMENT= Clock-driven simulator for spiking neural networks -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.1.0,1:math/py-numpy \ - ${PYTHON_PKGNAMEPREFIX}scipy>=0.6.0:science/py-scipy \ - ${PYTHON_PKGNAMEPREFIX}matplotlib>=0.90.1:math/py-matplotlib +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.1.0,1:math/py-numpy@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=0.6.0:science/py-scipy@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>=0.90.1:math/py-matplotlib@${FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= python zip +USES= python:2.7 zip USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/science/gnudatalanguage/Makefile b/science/gnudatalanguage/Makefile index 82f0d7dfb745..cd5d21b80ca1 100644 --- a/science/gnudatalanguage/Makefile +++ b/science/gnudatalanguage/Makefile @@ -90,7 +90,7 @@ NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf NETCDF_CMAKE_ON= -DNETCDF:BOOL=YES -DHDF:BOOL=NO NETCDF_CMAKE_OFF= -DNETCDF:BOOL=NO -PYTHON_USES= python +PYTHON_USES= python:2.7 PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib diff --git a/science/gramps/Makefile b/science/gramps/Makefile index eb3b098c4f41..77ea9d7ff708 100644 --- a/science/gramps/Makefile +++ b/science/gramps/Makefile @@ -13,9 +13,9 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb3>0:databases/py3-bsddb3 \ - ${PYTHON_PKGNAMEPREFIX}pyicu>=1.8:devel/py3-pyicu \ - ${PYTHON_PKGNAMEPREFIX}pygraphviz>=0:graphics/py3-pygraphviz \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb3>0:databases/py-bsddb3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyicu>=1.8:devel/py-pyicu@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pygraphviz>=0:graphics/py-pygraphviz@${PY_FLAVOR} \ xdg-open:devel/xdg-utils USE_GITHUB= yes @@ -24,7 +24,7 @@ GH_ACCOUNT= gramps-project NO_ARCH= yes USES= desktop-file-utils gettext shared-mime-info python:3.2+ USE_GNOME= cairo gtk30 intltool librsvg2 pango py3gobject3 -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist distutils optsuffix CONFIGURE_ARGS= --disable-mime-install INSTALLS_OMF= yes INSTALLS_ICONS= yes @@ -39,7 +39,7 @@ TTFFREEFONT_DESC= More font support in reports GEXIV_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 GTKSPELL_LIB_DEPENDS= libgtkspell3-3.so:textproc/gtkspell3 -PIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py3-pillow +PIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} RCS_RUN_DEPENDS= rcsdiff:devel/rcs TTFFREEFONT_RUN_DEPENDS=${LOCALBASE}/share/fonts/freefont-ttf/FreeMono.ttf:x11-fonts/freefont-ttf diff --git a/science/gwyddion/Makefile b/science/gwyddion/Makefile index c707924f7f3b..9200c45cc9b1 100644 --- a/science/gwyddion/Makefile +++ b/science/gwyddion/Makefile @@ -40,7 +40,7 @@ OPTIONS_SUB= yes PERL_USES= perl5 PERL_CONFIGURE_WITH= perl -PYTHON_USES= python +PYTHON_USES= python:2.7 PYTHON_USE= gnome=pygtksourceview PYTHON_CONFIGURE_ENABLE= pygwy PYTHON_CONFIGURE_WITH= gtksourceview python diff --git a/science/paraview/Makefile b/science/paraview/Makefile index 19b58006e6a5..b08794248b46 100644 --- a/science/paraview/Makefile +++ b/science/paraview/Makefile @@ -42,7 +42,7 @@ USE_GL= gl USE_XORG= x11 xt xext ice xdmcp xau xcb xfixes xdamage xxf86vm xrender sm USE_LDCONFIG= yes USE_GSTREAMER= yes -USES= alias desktop-file-utils cmake:outsource jpeg python shebangfix +USES= alias desktop-file-utils cmake:outsource jpeg python:2.7 shebangfix INSTALLS_ICONS= yes CMAKE_ARGS+= -DBUILD_SHARED_LIBS="ON" \ diff --git a/science/psychopy/Makefile b/science/psychopy/Makefile index 61cfe3f21eae..2d2c2f48db6c 100644 --- a/science/psychopy/Makefile +++ b/science/psychopy/Makefile @@ -11,14 +11,14 @@ COMMENT= Psychophysics toolkit for Python LICENSE= GPLv3+ -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>=0:devel/py-configobj -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyglet>=0:graphics/py-pyglet \ - ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml \ - ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow \ - ${PYTHON_PKGNAMEPREFIX}matplotlib>=0.90.1:math/py-matplotlib \ - ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas \ - ${PYTHON_PKGNAMEPREFIX}scipy>=0.6.0:science/py-scipy \ - ${PYTHON_PKGNAMEPREFIX}openpyxl>0:textproc/py-openpyxl \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>=0:devel/py-configobj@${FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyglet>=0:graphics/py-pyglet@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>=0.90.1:math/py-matplotlib@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=0.6.0:science/py-scipy@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openpyxl>0:textproc/py-openpyxl@${FLAVOR} \ dejavu>0:x11-fonts/dejavu \ ${PYGAME} \ ${PYNUMPY} @@ -27,7 +27,7 @@ NO_ARCH= yes USE_GITHUB= yes -USES= fortran python +USES= fortran python:2.7 USE_PYTHON= autoplist distutils USE_WX= 2.8 WX_COMPS= python @@ -45,7 +45,7 @@ OPTIONS_DEFINE_i386= PYGLET OPTIONS_DEFAULT_i386= PYGLET PYGLET_DESC= Drawing support via Pyglet -PYGLET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyglet>=1.1.2:graphics/py-pyglet +PYGLET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyglet>=1.1.2:graphics/py-pyglet@${FLAVOR} .include <bsd.port.options.mk> diff --git a/science/py-DendroPy/Makefile b/science/py-DendroPy/Makefile index 6f0995c6a479..54fc6f3aab7c 100644 --- a/science/py-DendroPy/Makefile +++ b/science/py-DendroPy/Makefile @@ -12,6 +12,10 @@ COMMENT= Phylogenetic computing library LICENSE= BSD3CLAUSE +py34_BROKEN= does not package +py35_BROKEN= does not package +py36_BROKEN= does not package + USES= python USE_PYTHON= distutils diff --git a/science/py-cdo/Makefile b/science/py-cdo/Makefile index 0434b8626520..6b3554eab634 100644 --- a/science/py-cdo/Makefile +++ b/science/py-cdo/Makefile @@ -13,7 +13,7 @@ COMMENT= Python binding to CDO (Climate Data Operators) LICENSE= GPLv2 RUN_DEPENDS= cdo:science/cdo \ - ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${FLAVOR} NO_ARCH= yes USE_PYTHON= autoplist concurrent distutils diff --git a/science/py-h5py/Makefile b/science/py-h5py/Makefile index 6e0e4ae7ed4c..5670f0092d62 100644 --- a/science/py-h5py/Makefile +++ b/science/py-h5py/Makefile @@ -13,17 +13,16 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/licenses/license.txt BUILD_DEPENDS= ${PYNUMPY} \ - cython:lang/cython \ - ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six \ - ${PYTHON_PKGNAMEPREFIX}pkgconfig>0:devel/py-pkgconfig + ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pkgconfig>0:devel/py-pkgconfig@${FLAVOR} LIB_DEPENDS= libhdf5.so:science/hdf5 RUN_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six + ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR} USE_GITHUB= yes USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist distutils cython PORTDOCS= * PORTEXAMPLES= multiprocessing_example.py swmr_multiprocess.py \ diff --git a/science/py-hcluster/Makefile b/science/py-hcluster/Makefile index 0a0021bf11d9..bbbaeffacca9 100644 --- a/science/py-hcluster/Makefile +++ b/science/py-hcluster/Makefile @@ -15,10 +15,10 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib + ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= python +USES= python:2.7 USE_PYTHON= autoplist distutils post-install: diff --git a/science/py-mdp/Makefile b/science/py-mdp/Makefile index f0be28f32e80..7ec041c363db 100644 --- a/science/py-mdp/Makefile +++ b/science/py-mdp/Makefile @@ -26,7 +26,7 @@ SCIPY_DESC= Instal SciPy versions of eigensolver, FFT and convolution LIBSVM_RUN_DEPENDS= libsvm>2.91:science/libsvm \ libsvm-python>2.91:science/libsvm-python -PP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pp>0:devel/py-pp -SCIPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0.5.2:science/py-scipy +PP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pp>0:devel/py-pp@${FLAVOR} +SCIPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0.5.2:science/py-scipy@${FLAVOR} .include <bsd.port.mk> diff --git a/science/py-mlpy/Makefile b/science/py-mlpy/Makefile index 0af7310c0d47..7203cdf74cac 100644 --- a/science/py-mlpy/Makefile +++ b/science/py-mlpy/Makefile @@ -13,8 +13,7 @@ COMMENT= High performance Python package for predictive modeling LICENSE= GPLv3 -BUILD_DEPENDS= ${PYNUMPY} \ - cython>0:lang/cython +BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS:= ${BUILD_DEPENDS} LIB_DEPENDS= libgsl.so:math/gsl @@ -22,6 +21,6 @@ USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include -I${PYTHON_SITELIBDIR}/numpy/core LDFLAGS+= -L${LOCALBASE}/lib USES= python -USE_PYTHON= distutils autoplist +USE_PYTHON= distutils autoplist cython .include <bsd.port.mk> diff --git a/science/py-netCDF4/Makefile b/science/py-netCDF4/Makefile index 025e0c4723a9..65d2ac91acb7 100644 --- a/science/py-netCDF4/Makefile +++ b/science/py-netCDF4/Makefile @@ -14,8 +14,7 @@ COMMENT= Python Interface to the NetCDF Library (versions 3 and 4) LICENSE= MIT -BUILD_DEPENDS= ${PYNUMPY} \ - ${LOCALBASE}/bin/cython:lang/cython +BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libhdf5.so:science/hdf5 \ libnetcdf.so:science/netcdf RUN_DEPENDS:= ${BUILD_DEPENDS} @@ -23,7 +22,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} OPTIONS_DEFINE= DOCS EXAMPLES USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist distutils cython DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} diff --git a/science/py-obspy/Makefile b/science/py-obspy/Makefile index e8d13f2be6b6..1ee2a8345062 100644 --- a/science/py-obspy/Makefile +++ b/science/py-obspy/Makefile @@ -14,17 +14,17 @@ COMMENT= Python framework for seismological observatories LICENSE= LGPL3 BUILD_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}scipy>=0.9.0:science/py-scipy \ - ${PYTHON_PKGNAMEPREFIX}future>=0.12.4:devel/py-future \ - ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.1.0:math/py-matplotlib \ - ${PYTHON_PKGNAMEPREFIX}lxml>=2.2:devel/py-lxml \ - ${PYTHON_PKGNAMEPREFIX}suds>=0.4.0:net/py-suds \ - ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests \ - ${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator \ - ${PYTHON_PKGNAMEPREFIX}sqlalchemy10>=0:databases/py-sqlalchemy10 + ${PYTHON_PKGNAMEPREFIX}scipy>=0.9.0:science/py-scipy@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}future>=0.12.4:devel/py-future@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.1.0:math/py-matplotlib@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lxml>=2.2:devel/py-lxml@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}suds>=0.4.0:net/py-suds@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sqlalchemy10>=0:databases/py-sqlalchemy10@${FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= fortran python shebangfix zip +USES= fortran python:2.7 shebangfix zip SHEBANG_FILES= obspy/taup/tests/data/TauP_test_data/gendata.sh USE_LDCONFIG= yes LDFLAGS+= -shared diff --git a/science/py-paida/Makefile b/science/py-paida/Makefile index e2e081b0452e..fe44d778faf5 100644 --- a/science/py-paida/Makefile +++ b/science/py-paida/Makefile @@ -9,7 +9,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-3.2.1_2.10.1 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME}-3.2.1_2.10.1 -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${FLAVOR} MAINTAINER= ports@FreeBSD.org COMMENT= Pure Python scientific analysis package diff --git a/science/py-pysal/Makefile b/science/py-pysal/Makefile index 83edf134417a..05e2649d9067 100644 --- a/science/py-pysal/Makefile +++ b/science/py-pysal/Makefile @@ -14,10 +14,10 @@ COMMENT= Cross-platform library of spatial analysis functions LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.3,1:math/py-numpy \ - ${PYTHON_PKGNAMEPREFIX}scipy>=0.11:science/py-scipy +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.3,1:math/py-numpy@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=0.11:science/py-scipy@${FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${FLAVOR} NO_ARCH= yes USE_PYTHON= autoplist concurrent distutils diff --git a/science/py-pyteomics.biolccc/Makefile b/science/py-pyteomics.biolccc/Makefile index d3ea547106ba..2c567cdf3933 100644 --- a/science/py-pyteomics.biolccc/Makefile +++ b/science/py-pyteomics.biolccc/Makefile @@ -9,7 +9,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Python bindings for BioLCCC -USES= python +USES= python:2.7 USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/science/py-pyteomics/Makefile b/science/py-pyteomics/Makefile index b1df14781462..25666c544c9c 100644 --- a/science/py-pyteomics/Makefile +++ b/science/py-pyteomics/Makefile @@ -12,11 +12,11 @@ COMMENT= Python modules for proteomics data analysis LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml \ - ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${FLAVOR} \ ${PYNUMPY} -USES= python +USES= python:2.7 USE_PYTHON= autoplist distutils NO_ARCH= yes diff --git a/science/py-scikit-fuzzy/Makefile b/science/py-scikit-fuzzy/Makefile index bd80e9c81ee5..6a2c2a309094 100644 --- a/science/py-scikit-fuzzy/Makefile +++ b/science/py-scikit-fuzzy/Makefile @@ -14,11 +14,11 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}networkx>=1.9.0:math/py-networkx \ - ${PYTHON_PKGNAMEPREFIX}scipy>=0.9.0:science/py-scipy + ${PYTHON_PKGNAMEPREFIX}networkx>=1.9.0:math/py-networkx@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=0.9.0:science/py-scipy@${FLAVOR} BUILD_DEPENDS= ${RUN_DEPENDS} -USES= python +USES= python:2.7 USE_PYTHON= autoplist distutils NO_ARCH= yes diff --git a/science/py-scikit-learn/Makefile b/science/py-scikit-learn/Makefile index e70b4428af35..75633d6dd056 100644 --- a/science/py-scikit-learn/Makefile +++ b/science/py-scikit-learn/Makefile @@ -12,7 +12,7 @@ MAINTAINER= demon@FreeBSD.org COMMENT= Machine learning algorithms for python BUILD_DEPENDS= ${PYNUMPY} \ - ${PYTHON_SITELIBDIR}/scipy/version.py:science/py-scipy + ${PYTHON_SITELIBDIR}/scipy/version.py:science/py-scipy@${FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} USES= fortran python diff --git a/science/py-scikit-sparse/Makefile b/science/py-scikit-sparse/Makefile index 19fee0e164f8..3f62950686ee 100644 --- a/science/py-scikit-sparse/Makefile +++ b/science/py-scikit-sparse/Makefile @@ -15,13 +15,12 @@ COMMENT= Sparse matrix package LICENSE= BSD2CLAUSE RUN_DEPENDS= ${PYNUMPY} \ - ${PYTHON_SITELIBDIR}/scipy/version.py:science/py-scipy -BUILD_DEPENDS= ${RUN_DEPENDS} \ - cython>0:lang/cython + ${PYTHON_SITELIBDIR}/scipy/version.py:science/py-scipy@${FLAVOR} +BUILD_DEPENDS= ${RUN_DEPENDS} LIB_DEPENDS= libumfpack.so:math/suitesparse USES= fortran python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist distutils cython CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -shared diff --git a/science/py-scimath/Makefile b/science/py-scimath/Makefile index 41b84e61ff4f..8043a7b4d7ac 100644 --- a/science/py-scimath/Makefile +++ b/science/py-scimath/Makefile @@ -14,11 +14,11 @@ COMMENT= Scientific and Mathematical calculations LICENSE= BSD3CLAUSE LGPL3 LICENSE_COMB= dual -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traits>=3.6.0:devel/py-traits \ - ${PYTHON_PKGNAMEPREFIX}numpy>=0:math/py-numpy +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traits>=3.6.0:devel/py-traits@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=0:math/py-numpy@${FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= python +USES= python:2.7 USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/science/py-scoria/Makefile b/science/py-scoria/Makefile index e1cb4de53f73..8e83967dc5bf 100644 --- a/science/py-scoria/Makefile +++ b/science/py-scoria/Makefile @@ -12,7 +12,7 @@ COMMENT= Lightweight molecule manipulation codebase LICENSE= APACHE20 RUN_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${FLAVOR} USES= python USE_PYTHON= autoplist distutils diff --git a/science/py-tensorflow/Makefile b/science/py-tensorflow/Makefile index d350a019802c..ec015d60f2f1 100644 --- a/science/py-tensorflow/Makefile +++ b/science/py-tensorflow/Makefile @@ -14,21 +14,21 @@ LICENSE= APACHE20 BROKEN= fails to build -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>=0.29.0:devel/py-wheel \ - ${PYTHON_PKGNAMEPREFIX}numpy>=1.11.2:math/py-numpy \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>=0.29.0:devel/py-wheel@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=1.11.2:math/py-numpy@${FLAVOR} \ bash:shells/bash -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.11.2:math/py-numpy \ - ${PYTHON_PKGNAMEPREFIX}markdown>=2.6.8:textproc/py-markdown \ - ${PYTHON_PKGNAMEPREFIX}bleach>=1.4.2:www/py-bleach \ - ${PYTHON_PKGNAMEPREFIX}html5lib>=0.9999999:www/py-html5lib \ - ${PYTHON_PKGNAMEPREFIX}protobuf>=3.2.0:devel/py-protobuf \ - ${PYTHON_PKGNAMEPREFIX}wheel>=0.29.0:devel/py-wheel \ - ${PYTHON_PKGNAMEPREFIX}mock>=1.3.0:devel/py-mock \ - ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six \ - ${PYTHON_PKGNAMEPREFIX}backports.weakref>=0:devel/py-backports.weakref \ - ${PYTHON_PKGNAMEPREFIX}werkzeug>=0.11.10:www/py-werkzeug - -USES= python shebangfix +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.11.2:math/py-numpy@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}markdown>=2.6.8:textproc/py-markdown@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}bleach>=1.4.2:www/py-bleach@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}html5lib>=0.9999999:www/py-html5lib@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}protobuf>=3.2.0:devel/py-protobuf@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.29.0:devel/py-wheel@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>=1.3.0:devel/py-mock@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}backports.weakref>=0:devel/py-backports.weakref@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}werkzeug>=0.11.10:www/py-werkzeug@${FLAVOR} + +USES= python:2.7 shebangfix USE_GITHUB= yes GH_TUPLE= amutu:tensorflow_third_party:v${PORTVERSION}:tf/tensorflow_third_party diff --git a/science/pybrain/Makefile b/science/pybrain/Makefile index db29fb0c58df..8de02fba8bb9 100644 --- a/science/pybrain/Makefile +++ b/science/pybrain/Makefile @@ -10,11 +10,11 @@ COMMENT= PyBrain is the swiss army knife for neural networking LICENSE= BSD3CLAUSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0.7.1:science/py-scipy +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0.7.1:science/py-scipy@${FLAVOR} USE_GITHUB= yes USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist distutils concurrent optsuffix .include <bsd.port.mk> diff --git a/science/pycdf/Makefile b/science/pycdf/Makefile index 92d9ffe5007c..04d5be53b4f6 100644 --- a/science/pycdf/Makefile +++ b/science/pycdf/Makefile @@ -17,7 +17,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} LDFLAGS+= "-L${LOCALBASE}/lib" -USES= python +USES= python:2.7 USE_PYTHON= distutils autoplist post-install: diff --git a/science/sigrok-firmware-utils/Makefile b/science/sigrok-firmware-utils/Makefile index d7a16709c020..0124e2caa1f9 100644 --- a/science/sigrok-firmware-utils/Makefile +++ b/science/sigrok-firmware-utils/Makefile @@ -15,7 +15,7 @@ COMMENT= Sigrok firmware extraction utils LICENSE= GPLv2 -USES= python:3 +USES= python:3.4+ NO_BUILD= yes PORTDOCS= README.parsepe diff --git a/science/tfel/Makefile b/science/tfel/Makefile index 2ac37e823fd7..ff18f4d06630 100644 --- a/science/tfel/Makefile +++ b/science/tfel/Makefile @@ -22,10 +22,9 @@ GNUPLOT_BUILD_DEPENDS= gnuplot:math/gnuplot GNUPLOT_RUN_DEPENDS= gnuplot:math/gnuplot PYTHON_LIB_DEPENDS= libboost_python.so:devel/boost-python-libs -PYTHON_USES= localbase python +PYTHON_USES= localbase python:2.7 PYTHON_CONFIGURE_ARGS= --enable-python-bindings PYTHON_CONFIGURE_WITH= boost=${LOCALBASE} -PYTHON_USES= localbase python USES= libtool tar:bzip2 GNU_CONFIGURE= yes diff --git a/science/veusz/Makefile b/science/veusz/Makefile index ddc7a200ce2f..d150d1984c1d 100644 --- a/science/veusz/Makefile +++ b/science/veusz/Makefile @@ -15,7 +15,7 @@ LICENSE= GPLv2 RUN_DEPENDS= ${PYNUMPY} BUILD_DEPENDS:= ${RUN_DEPENDS} -USES= pyqt:4 python +USES= pyqt:4 python:2.7 USE_PYQT= gui svg USE_PYTHON= distutils autoplist |