FreeBSD Bugzilla – Attachment 192770 Details for
Bug 225589
devel/boost-python-libs: libboost_numpy* is missing from pkg-plist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[[patch] address numpy dependency with explicit option [v3]
pr-boost-python-libs-numpy-fix.v3.diff (text/plain), 2.84 KB, created by
John Hein
on 2018-04-24 03:42:35 UTC
(
hide
)
Description:
[[patch] address numpy dependency with explicit option [v3]
Filename:
MIME Type:
Creator:
John Hein
Created:
2018-04-24 03:42:35 UTC
Size:
2.84 KB
patch
obsolete
>- fix plist for devel/boost-python{,3}-libs if math/py-numpy is installed > by added NUMPY option. If off, disable building libboost_numpy [1]. > If on, depend on the numpy port [2]. > >- minor portlint appeasement > >bug 225589 > >[1] There is probably a better way to force disabling the numpy >build (arg to bjam?) > >[2] Not sure if this should also be a runtime dependency, but ldd does >not indicate a dependency. > >Index: Makefile >=================================================================== >--- Makefile (revision 468090) >+++ Makefile (working copy) >@@ -2,13 +2,15 @@ > # $FreeBSD$ > > PORTNAME= boost-libs >-COMMENT= Framework for interfacing Python and C++ > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > >+COMMENT= Framework for interfacing Python 2 and C++ >+ > USES= python > USE_PYTHON= flavors > >-OPTIONS_DEFINE= DEBUG OPTIMIZED_CFLAGS >+OPTIONS_DEFINE= DEBUG NUMPY OPTIMIZED_CFLAGS >+OPTIONS_SUB= yes > > .include "${.CURDIR}/../boost-all/common.mk" > >@@ -25,6 +27,9 @@ > > BUILD_DEPENDS+= bjam:devel/boost-jam > >+NUMPY_EXTRA_PATCHES_OFF=${PATCHDIR}/extra-patch-no-numpy >+NUMPY_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0:math/py-numpy@${FLAVOR} >+ > pre-build: > @${ECHO_CMD} "using python : " ${PYTHON_VER} " : " ${PYTHON_CMD} " : " ${PYTHON_INCLUDEDIR} ";" >> ${WRKSRC}/tools/build/src/site-config.jam > >Index: files/extra-patch-no-numpy >=================================================================== >--- files/extra-patch-no-numpy (nonexistent) >+++ files/extra-patch-no-numpy (working copy) >@@ -0,0 +1,13 @@ >+--- tools/build/src/tools/python.jam.orig 2017-12-13 23:56:50 UTC >++++ tools/build/src/tools/python.jam >+@@ -834,7 +834,9 @@ local rule configure ( version ? : cmd-o >+ local full-cmd = $(interpreter-cmd)" -c \"$(full-cmd)\"" ; >+ debug-message "running command '$(full-cmd)'" ; >+ local result = [ SHELL $(full-cmd) : strip-eol : exit-status ] ; >+- if $(result[2]) = 0 >++ #if $(result[2]) = 0 >++ # skip if NUMPY option is off >++ if 0 = 1 >+ { >+ .numpy = true ; >+ .numpy-include = $(result[1]) ; > >Property changes on: files/extra-patch-no-numpy >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 468090) >+++ pkg-plist (working copy) >@@ -1,3 +1,6 @@ >+%%NUMPY%%%%PYTHON3%%lib/libboost_numpy%%PYTHON_SUFFIX%%.a >+%%NUMPY%%%%PYTHON3%%lib/libboost_numpy%%PYTHON_SUFFIX%%.so >+%%NUMPY%%%%PYTHON3%%lib/libboost_numpy%%PYTHON_SUFFIX%%.so.%%BOOST_SHARED_LIB_VER%% > lib/libboost_python%%PYTHON_SUFFIX%%.a > lib/libboost_python%%PYTHON_SUFFIX%%.so > lib/libboost_python%%PYTHON_SUFFIX%%.so.%%BOOST_SHARED_LIB_VER%%
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
jcfyecrayz
:
maintainer-approval?
(
office
)
Actions:
View
|
Diff
Attachments on
bug 225589
:
190286
|
190695
| 192770