An ebuild for cvxopt which provides: "A Python Package for Convex Optimization" This is a sage dependency. I may have to provide an older version in the future as sage is stuck v-0.9.5 for licensing reasons (GPL2 vs GPL3) for now. But I hope the API is compatible. Reproducible: Always
Created attachment 159229 [details] ebuild for cvxopt
Created attachment 200867 [details] ebuild for cvxopt-1.1.1
New ebuild for version 1.1.1. Started from the already attached cvxopt-1.0.ebuild, changed the name, the download url and a typo for sys-libs/gsl dependency.
This ebuild is now in the sunrise overlay. You can find it at: http://overlays.gentoo.org/proj/sunrise/browser/sunrise/dev-python/cvxopt/ The following fields should be changed by bug reporter or wrangler: Status Whiteboard: sunrise-overlay Keywords: EBUILD, InOverlay
Hi! I just heard of the proxy-maintainer title from http://hwoarang.silverarrow.org/?p=555 I am interested to become the proxy-maintainer of this package. Please let me know if this is possible, and how to proceed. :-) This message has also been posted on bug 289363
Created attachment 244319 [details] Ebuild for CVXOPT-1.1.2-r1
(In reply to comment #6) > Created an attachment (id=244319) [details] > Ebuild for CVXOPT-1.1.2-r1 > I Jean-Francis, how come I don't appear to be cc on my own bugs? Anyway we have something slightly better in the sage-on-gentoo overlay (available from layman). You are welcome to get it and become a proxy maintainer for it as far as we are concerned. We would like very much it going into the main tree.
Better is relative. stuff from both should be merged actually.
That's strange that you're not CC'd on your own bug :-). By "better", do you mean that you use Sage (already heard of it, didn't read about it yet) instead of CVXOPT for convex optimization? I'll take a look at it for sure, thanks for the info!
(In reply to comment #9) > That's strange that you're not CC'd on your own bug :-). > > By "better", do you mean that you use Sage (already heard of it, didn't read > about it yet) instead of CVXOPT for convex optimization? > > I'll take a look at it for sure, thanks for the info! > No we use cvxopt as a sage dependency so we have an ebuild. In some ways ours is "simpler", but yours use more stuff from distutils eclass so potentially has a better future, although I'll have closer look as some stuff seems redundant. The sticky point is we have a patch for an issue that has been fixed upstream but not released yet. see: http://trac.sagemath.org/sage_trac/ticket/6456#comment:82
Well, the ebuild you see for cvxopt-1.1.1 was mine (I took yours and modified it with the comments I received in the Sunrise overlay IRC channel), but the ebuild for cvxopt-1.1.2-r1 was modified by another guys from the Sunrise overlay. They have a reviewing process by Gentoo developpers so the ebuilds accepted in Sunrise are kind of "clean". You may want to get your ebuild approved by Sunrise guys (at least the patch) so we could use an unified ebuild. :-)
(In reply to comment #11) > Well, the ebuild you see for cvxopt-1.1.1 was mine (I took yours and modified > it with the comments I received in the Sunrise overlay IRC channel), but the > ebuild for cvxopt-1.1.2-r1 was modified by another guys from the Sunrise > overlay. They have a reviewing process by Gentoo developpers so the ebuilds > accepted in Sunrise are kind of "clean". > > You may want to get your ebuild approved by Sunrise guys (at least the patch) > so we could use an unified ebuild. :-) > Sorry to have been silent so long. I will definitely adopt your ebuild in our overlay. cvxopt-1.1.3 is out and we'll probably need it in short order.
No problem :-). Good luck with the Sage overlay, seems to be a lot of work to maintain!
The current ebuild (both overlays) doesn't use pkg-config to set blas and lapack which causes problems when using bicatali's overlay. * Building of dev-python/cvxopt-1.1.3 with CPython 2.7... python2.7 setup.py build -b build running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/cvxopt copying python/modeling.py -> build/lib.linux-x86_64-2.7/cvxopt copying python/misc.py -> build/lib.linux-x86_64-2.7/cvxopt copying python/info.py -> build/lib.linux-x86_64-2.7/cvxopt copying python/solvers.py -> build/lib.linux-x86_64-2.7/cvxopt copying python/printing.py -> build/lib.linux-x86_64-2.7/cvxopt copying python/msk.py -> build/lib.linux-x86_64-2.7/cvxopt copying python/coneprog.py -> build/lib.linux-x86_64-2.7/cvxopt copying python/__init__.py -> build/lib.linux-x86_64-2.7/cvxopt copying python/cvxprog.py -> build/lib.linux-x86_64-2.7/cvxopt warning: build_py: byte-compiling is disabled, skipping. running build_ext building 'gsl' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/C x86_64-pc-linux-gnu-gcc -pthread -O2 -march=native -fomit-frame-pointer -pipe -fno-strict-aliasing -floop-interchange -floop-strip-mine -floop-block -fPIC -I/usr/include/gsl -I/usr/include/python2.7 -c C/gsl.c -o build/temp.linux-x86_64-2.7/C/gsl.o x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -O2 -march=native -fomit-frame-pointer -pipe -fno-strict-aliasing -floop-interchange -floop-strip-mine -floop-block build/temp.linux-x86_64-2.7/C/gsl.o -L/usr/lib -L/usr/lib64 -lm -lgsl -lblas -lpython2.7 -o build/lib.linux-x86_64-2.7/cvxopt/gsl.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lblas collect2: ld returned 1 exit status error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 * ERROR: dev-python/cvxopt-1.1.3 failed (compile phase):
I have got a solution in the sage-on-gentoo overlay. I will probably push it to the science overlay tomorrow if nothing pops up and wreck it.
Thanks for letting me know that, I will check your ebuild in the sage-on-gentoo overlay. I didn't bump anything in Sunrise for a while, I don't even remember the procedure :-P. I maintain my own overlay for the stuff I use... Maybe I should give a try to the science overlay.
Pushed to the science overlay. Has been tested with a few configurations in sage-on-gentoo both with tree and bicatali's overlay. No issues.
François, The cvxopt ebuild from sci overlay fails on one of my machines. The problem is the sed command in the ebuild, it leaves a trailing ' at the end when -lpthread is the last in the pkgconfig list. Removing -lpthread first resolves the issue : -e 's/-lpthread//g' \ -e 's/^-l//' \ -e "s/ -l/\',\'/g" \ -e "s: ::")\
now in cvs. thanks!