Commit ef3c2f92 authored by mat's avatar mat
Browse files

devel/boost-python-libs got forgotten in the python flavorization, fix

this oversight.

Reviewed by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14368
parent 644aeb58
......@@ -9964,3 +9964,4 @@ games/lolcat|games/rubygem-lolcat|2018-02-13|Rename to match our rubygems naming
net-mgmt/prometheus|net-mgmt/prometheus1|2018-02-14|Rename to include major version number in the portname
textproc/rubygem-tidy||2018-02-14|Has expired: No longer needed and not maintained
www/rubygem-scrapi||2018-02-14|Has expired: No longer maintained upstream
devel/boost-python3-libs|devel/boost-python-libs@py36|2018-02-15|Flavorize
......@@ -671,6 +671,13 @@ PY_FUTURES= ${PYTHON_PKGNAMEPREFIX}futures>0:devel/py-futures@${PY_FLAVOR}
PY_FUTURES=
.endif
.if ${PYTHON_REL} < 3000
PY_BOOST_LIB= boost_python
.else
PY_BOOST_LIB= boost_python3
.endif
PY_BOOST= lib${PY_BOOST_LIB}.so:devel/boost-python-libs@${PY_FLAVOR}
# dependencies
.for _stage in PATCH BUILD RUN TEST
. if defined(_PYTHON_${_stage}_DEP)
......
......@@ -13,7 +13,7 @@ COMMENT= Python bindings for Scott Wheeler's TagLib
LICENSE= MIT
LIB_DEPENDS= libboost_python.so:devel/boost-python-libs \
LIB_DEPENDS= ${PY_BOOST} \
libtag.so:audio/taglib
USES= compiler:c++11-lang python shebangfix
......@@ -23,7 +23,7 @@ CONFIGURE_ARGS= --taglib-inc-dir="${LOCALBASE}/include/taglib" \
--taglib-lib-dir="${LOCALBASE}/lib" \
--boost-inc-dir="${PYTHON_INCLUDEDIR},${LOCALBASE}/include" \
--boost-lib-dir="${PYTHON_LIBDIR},${LOCALBASE}/lib" \
--boost-python-libname="boost_python"
--boost-python-libname="${PY_BOOST_LIB}"
SHEBANG_FILES= configure.py
USE_PYTHON= distutils autoplist
......
......@@ -15,7 +15,7 @@ BUILD_DEPENDS= pyside-rcc:devel/pyside-tools \
swig3.0:devel/swig30
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libfreetype.so:print/freetype2 \
libboost_python.so:devel/boost-python-libs \
${PY_BOOST} \
libpyside-python2.7.so:devel/pyside@${PY_FLAVOR} \
libCoin.so:graphics/Coin \
libpng.so:graphics/png \
......
......@@ -15,7 +15,7 @@ LICENSE= GPLv2
BROKEN= wrong DEPENDS
LIB_DEPENDS= libBLT25.so:x11-toolkits/blt \
libboost_python.so:devel/boost-python-libs \
${PY_BOOST} \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libmodbus.so:comms/libmodbus \
......
......@@ -27,7 +27,7 @@ LIB_DEPENDS= libcppunit.so:devel/cppunit \
libfftw3.so:math/fftw3 \
libfftw3f.so:math/fftw3-float \
libqwt.so:x11-toolkits/qwt5 \
libboost_python.so:devel/boost-python-libs \
${PY_BOOST} \
libportaudio.so:audio/portaudio \
libjack.so:audio/jack \
libasound.so:audio/alsa-lib \
......
......@@ -11,7 +11,7 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= mr@FreeBSD.org
COMMENT= Ettus Research UHD driver framework
LIB_DEPENDS= libboost_python.so:devel/boost-python-libs
LIB_DEPENDS= ${PY_BOOST}
BUILD_DEPENDS= ${LOCALBASE}/include/boost/tuple/tuple.hpp:devel/boost-libs \
cheetah-analyze:devel/py-cheetah@${PY_FLAVOR} \
rst2html:textproc/py-docutils \
......
......@@ -12,7 +12,7 @@ COMMENT= Ettus Research USRP driver framework
BROKEN= fails to build with boost 1.66, see bug 224088
LIB_DEPENDS= libboost_python.so:devel/boost-python-libs
LIB_DEPENDS= ${PY_BOOST}
BUILD_DEPENDS= ${LOCALBASE}/include/boost/tuple/tuple.hpp:devel/boost-libs \
cheetah-analyze:devel/py-cheetah \
rst2html:textproc/py-docutils \
......
......@@ -216,7 +216,6 @@
SUBDIR += boost-jam
SUBDIR += boost-libs
SUBDIR += boost-python-libs
SUBDIR += boost-python3-libs
SUBDIR += boost_build
SUBDIR += bossa
SUBDIR += bouml-doc
......
......@@ -17,7 +17,7 @@ PYTHON_DESC= Boost.Python - interfacing Python and C++
LIBRARIES_RUN_DEPENDS= ${LOCALBASE}/lib/libboost_thread.so:devel/boost-libs
JAM_RUN_DEPENDS= ${LOCALBASE}/bin/bjam:devel/boost-jam
PYTHON_RUN_DEPENDS= ${LOCALBASE}/lib/libboost_python.so:devel/boost-python-libs
PYTHON_RUN_DEPENDS= ${LOCALBASE}/lib/${PY_BOOST}
DOCS_RUN_DEPENDS= ${LOCALBASE}/share/doc/boost/doc/html/index.html:devel/boost-docs
.include <bsd.port.mk>
......@@ -14,6 +14,6 @@ several more Boost libraries in addition to those from TR1. More Boost
libraries are proposed for TR2.
NOTE: This package does not contain Boost.Python, it's in
devel/boost-python-libs (python 2) and devel/boost-python3-libs (python 3).
devel/boost-python-libs.
WWW: http://www.boost.org/
# Created by: Alexander Churanov <churanov.port.maintainer@gmail.com>
# $FreeBSD$
PORTNAME?= boost-python-libs
COMMENT?= Framework for interfacing Python 2 and C++
PORTNAME= boost-libs
COMMENT= Framework for interfacing Python 2 and C++
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
USES?= python:2.7
USES= python
USE_PYTHON= flavors
OPTIONS_DEFINE= DEBUG OPTIMIZED_CFLAGS
......
......@@ -3,7 +3,4 @@ C++. It allows you to quickly and seamlessly expose C++ classes
functions and objects to Python, and vice-versa, using no special
tools -- just your C++ compiler.
The python 2 port is called boost-python-libs
The python 3 port is called boost-python3-libs
WWW: http://www.boost.org/
# $FreeBSD$
PORTNAME= boost-python3-libs
COMMENT= Framework for interfacing Python 3 and C++
USES= python:3.3+
MASTERDIR= ${.CURDIR}/../../devel/boost-python-libs
.include "${MASTERDIR}/Makefile"
......@@ -33,7 +33,7 @@ CMAKE_ARGS+= -DWITH_ASSERTS=OFF
.endif
.if ${PORT_OPTIONS:MPYTHON}
LIB_DEPENDS+= libboost_python.so:devel/boost-python-libs
LIB_DEPENDS+= ${PY_BOOST}
USES+= python:2.7
CMAKE_ARGS+= -DWITH_PYTHON=ON
PLIST_SUB+= PYTHON="" PYTHON_VER=${PYTHON_VER}
......
......@@ -11,7 +11,7 @@ COMMENT= CAM-related software for profile and pocketing operations
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libboost_python.so:devel/boost-python-libs
LIB_DEPENDS= ${PY_BOOST}
USE_GITHUB= yes
GH_ACCOUNT= Heeks
......
......@@ -13,9 +13,9 @@ COMMENT= Library that helps you create bindings between C++ and Lua
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libboost_python.so:devel/boost-python-libs
LIB_DEPENDS= ${PY_BOOST}
USES= lua:51
USES= lua:51 python:env
USE_LDCONFIG= yes
CPPFLAGS+= -I.. -I${LUA_INCDIR} -I${LOCALBASE}/include
......
......@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/include/CL/cl.h:devel/opencl \
${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=0:math/py-numpy@${FLAVOR}
LIB_DEPENDS= libboost_python.so:devel/boost-python-libs \
LIB_DEPENDS= ${PY_BOOST} \
libOpenCL.so:devel/ocl-icd
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.0:devel/py-appdirs@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi@${FLAVOR} \
......@@ -28,7 +28,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.0:devel/py-appdirs@${FLAVOR} \
CONFIGURE_ARGS= BOOST_INC_DIR="${LOCALBASE}/include" \
BOOST_LIB_DIR="${LOCALBASE}/lib" \
BOOST_PYTHON_LIBNAME=boost_python \
BOOST_PYTHON_LIBNAME=${PY_BOOST_LIB} \
CL_INC_DIR="${LOCALBASE}/include" \
CL_LIB_DIR="${LOCALBASE}/lib" \
USE_SHIPPED_BOOST=False
......
......@@ -10,7 +10,7 @@ MASTER_SITES= http://people.freebsd.org/~demon/
MAINTAINER= demon@FreeBSD.org
COMMENT= User-Agent detection library
LIB_DEPENDS= libboost_python.so:devel/boost-python-libs \
LIB_DEPENDS= ${PY_BOOST} \
libpcre.so:devel/pcre \
libxml2.so:textproc/libxml2
......
......@@ -34,7 +34,7 @@ OPTIONS_DEFAULT= LUA PYTHON
PYTHON_CMAKE_OFF= -DVERA_PYTHON:BOOL=OFF
PYTHON_CMAKE_ON= -DVERA_PYTHON:BOOL=ON
PYTHON_LIB_DEPENDS= libboost_python.so:devel/boost-python-libs
PYTHON_LIB_DEPENDS= ${PY_BOOST}
LUA_CMAKE_OFF= -DVERA_LUA:BOOL=OFF
LUA_CMAKE_ON= -DVERA_LUA:BOOL=ON
LUA_LIB_DEPENDS= libluabind.so:devel/luabind
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment