pkgsrc-Users archive

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

[PATCH] fixup for py-boost (numpy dep for both python2 and python3)


here is an excerpt of my local hacks to get a tree of software
installed from pkgsrc-2017Q1. The reproducability and versioning of the
tree is important to me, so please excuse me for not working directly
off CVS trunk, instead patching up the stable releases … anyhow: There
is a partial fix for devel/py-boost in trunk thanks for nbjoerg, but it
is missing bits to make it work both with python2 and python3. Attached
is my full patch on top of 2017Q1.

The rationale is that py-boost depends on py-numpy (if it is installed
…) and the build is broken unless we deal with that in pkgsrc.

I have further patches in the pipeline, namely putting more openblas
into packages (R, numpy) and of course the local changes that you might
not want (for hacking my external toolchain and MPI lib reliably into
pkgsrc). I will post more patches once I got my installation done.
Currently I am hoping that octave works out at all (lots of deps) and
then will see to make it use openblas, too. Maybe openblas itself might
be moved into main pkgsrc, once it is used by several other packages. A
7-fold performance boost on matrix stuff in R is welcome, at least
around here;-)

Alrighty then,


Dr. Thomas Orgis
Universität Hamburg
RRZ / Basis-Infrastruktur / HPC
Schlüterstr. 70
20146 Hamburg
Tel.: 040/42838 8826
Fax: 040/428 38 6270
diff -x CVS -ruN pkgsrc-2017Q1/devel/py-boost/Makefile pkgsrc/devel/py-boost/Makefile
--- pkgsrc-2017Q1/devel/py-boost/Makefile	2017-01-03 14:23:01.000000000 +0100
+++ pkgsrc/devel/py-boost/Makefile	2017-04-13 15:19:02.693838593 +0200
@@ -33,4 +33,5 @@
 	${RM} -f ${DESTDIR}${PREFIX}/lib/libboost_python.*
+.include "../../math/py-numpy/"
 .include "../../mk/"
diff -x CVS -ruN pkgsrc-2017Q1/devel/py-boost/PLIST pkgsrc/devel/py-boost/PLIST
--- pkgsrc-2017Q1/devel/py-boost/PLIST	2016-02-27 21:55:05.000000000 +0100
+++ pkgsrc/devel/py-boost/PLIST	2017-04-13 15:42:52.585819577 +0200
@@ -1,4 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2016/02/27 20:55:05 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/04/10 11:35:40 joerg Exp $

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Home | Main Index | Thread Index | Old Index