pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-boost py-boost: revert previous



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a2e35d28b30
branches:  trunk
changeset: 771737:1a2e35d28b30
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Dec 24 22:28:28 2021 +0000

description:
py-boost: revert previous

Re-enable py-numpy dependency, since it's used when it's installed.

However py-numpy for python 2.x seems broken and the numpy extension
is not built for that version, so mark the extension as "for python 3.x"
in the PLIST.

Tested with python27 and python39.

Bump PKGREVISION.

diffstat:

 devel/py-boost/Makefile |  6 +++---
 devel/py-boost/PLIST    |  5 ++++-
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 1aaa28c3c085 -r 1a2e35d28b30 devel/py-boost/Makefile
--- a/devel/py-boost/Makefile   Fri Dec 24 16:12:34 2021 +0000
+++ b/devel/py-boost/Makefile   Fri Dec 24 22:28:28 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2021/12/16 13:17:37 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2021/12/24 22:28:28 wiz Exp $
 
 BOOST_PACKAGE=         python
 BOOST_COMMENT=         (Boost.Python binary library)
@@ -9,7 +9,7 @@
 .include "../../meta-pkgs/boost/Makefile.common"
 
 PKGNAME=               ${PYPKGPREFIX}-boost-${BOOST_VERSION}
-PKGREVISION=           1
+PKGREVISION=           2
 
 BJAM_ARGS+=            --user-config=${WRKSRC}/user-config.jam
 BJAM_ARGS+=            --with-python
@@ -33,5 +33,5 @@
 
 BUILDLINK_TRANSFORM.SunOS+=    rm:-lutil
 
-#.include "../../math/py-numpy/buildlink3.mk"
+.include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 1aaa28c3c085 -r 1a2e35d28b30 devel/py-boost/PLIST
--- a/devel/py-boost/PLIST      Fri Dec 24 16:12:34 2021 +0000
+++ b/devel/py-boost/PLIST      Fri Dec 24 22:28:28 2021 +0000
@@ -1,4 +1,7 @@
-@comment $NetBSD: PLIST,v 1.11 2021/12/16 13:17:37 wiz Exp $
+@comment $NetBSD: PLIST,v 1.12 2021/12/24 22:28:28 wiz Exp $
+${PLIST.py3x}lib/libboost_numpy${PYVER}.a
+${PLIST.py3x}lib/libboost_numpy${PYVER}.so
+${PLIST.py3x}lib/libboost_numpy${PYVER}.so.${PKGVERSION}
 lib/libboost_python${PYVER}.a
 lib/libboost_python${PYVER}.so
 lib/libboost_python${PYVER}.so.${PKGVERSION}



Home | Main Index | Thread Index | Old Index