Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2017 17:11:30 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442853 - in head/devel: . boost-python-libs boost-python3-libs
Message-ID:  <201706071711.v57HBUGu095122@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Wed Jun  7 17:11:30 2017
New Revision: 442853
URL: https://svnweb.freebsd.org/changeset/ports/442853

Log:
  Add boost-python3-libs, python3 bindings with boost.
  
  Reviewed by:	sunpoet@
  Approved by:	office@ (sunpoet@)
  Differential Revision:	https://reviews.freebsd.org/D11021

Added:
  head/devel/boost-python3-libs/
  head/devel/boost-python3-libs/Makefile   (contents, props changed)
Modified:
  head/devel/Makefile
  head/devel/boost-python-libs/Makefile
  head/devel/boost-python-libs/pkg-descr
  head/devel/boost-python-libs/pkg-plist

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Jun  7 16:34:44 2017	(r442852)
+++ head/devel/Makefile	Wed Jun  7 17:11:30 2017	(r442853)
@@ -196,6 +196,7 @@
     SUBDIR += boost-jam
     SUBDIR += boost-libs
     SUBDIR += boost-python-libs
+    SUBDIR += boost-python3-libs
     SUBDIR += boost_build
     SUBDIR += bossa
     SUBDIR += bouml-doc

Modified: head/devel/boost-python-libs/Makefile
==============================================================================
--- head/devel/boost-python-libs/Makefile	Wed Jun  7 16:34:44 2017	(r442852)
+++ head/devel/boost-python-libs/Makefile	Wed Jun  7 17:11:30 2017	(r442853)
@@ -1,10 +1,10 @@
 # Created by: Alexander Churanov <churanov.port.maintainer@gmail.com>
 # $FreeBSD$
 
-PORTNAME=	boost-python-libs
-COMMENT=	Framework for interfacing Python and C++
+PORTNAME?=	boost-python-libs
+COMMENT?=	Framework for interfacing Python 2 and C++
 
-USES+=		python
+USES?=		python:2.7
 
 OPTIONS_DEFINE=	DEBUG OPTIMIZED_CFLAGS
 
@@ -43,6 +43,6 @@ post-install:
 		-e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" \
 		-e "s|%%PYTHON_LIBDIR%%|${PYTHON_LIBDIR}|g" \
 		-e "s|%%PYTHON_VERSION%%|${PYTHON_VERSION}|g" ${PKGMESSAGE}
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libboost_python.so.${PORTVERSION}
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libboost_python*.so.${PORTVERSION}
 
 .include <bsd.port.mk>

Modified: head/devel/boost-python-libs/pkg-descr
==============================================================================
--- head/devel/boost-python-libs/pkg-descr	Wed Jun  7 16:34:44 2017	(r442852)
+++ head/devel/boost-python-libs/pkg-descr	Wed Jun  7 17:11:30 2017	(r442853)
@@ -3,6 +3,7 @@ C++. It allows you to quickly and seamlessly expose C+
 functions and objects to Python, and vice-versa, using no special
 tools -- just your C++ compiler.
 
-The Boost.Pyste code generator resides in a separate port: devel/boost-pyste
+The python 2 port is called boost-python-libs
+The python 3 port is called boost-python3-libs
 
 WWW: http://www.boost.org/

Modified: head/devel/boost-python-libs/pkg-plist
==============================================================================
--- head/devel/boost-python-libs/pkg-plist	Wed Jun  7 16:34:44 2017	(r442852)
+++ head/devel/boost-python-libs/pkg-plist	Wed Jun  7 17:11:30 2017	(r442853)
@@ -1,3 +1,6 @@
-lib/libboost_python.a
-lib/libboost_python.so
-lib/libboost_python.so.%%BOOST_SHARED_LIB_VER%%
+%%PYTHON2%%lib/libboost_python.a
+%%PYTHON2%%lib/libboost_python.so
+%%PYTHON2%%lib/libboost_python.so.%%BOOST_SHARED_LIB_VER%%
+%%PYTHON3%%lib/libboost_python3.a
+%%PYTHON3%%lib/libboost_python3.so
+%%PYTHON3%%lib/libboost_python3.so.%%BOOST_SHARED_LIB_VER%%

Added: head/devel/boost-python3-libs/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/boost-python3-libs/Makefile	Wed Jun  7 17:11:30 2017	(r442853)
@@ -0,0 +1,10 @@
+# $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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706071711.v57HBUGu095122>