diff options
author | 2015-06-28 12:04:10 +0000 | |
---|---|---|
committer | 2015-06-28 12:04:10 +0000 | |
commit | f4ae9e7e8d3c34ac9c380ec392041245b49ce8cd (patch) | |
tree | 73414a1d2d97e3daf512ba21d0b46701b0bdfef4 /dev-python/cvxopt | |
parent | Remove old. (diff) | |
download | gentoo-2-f4ae9e7e8d3c34ac9c380ec392041245b49ce8cd.tar.gz gentoo-2-f4ae9e7e8d3c34ac9c380ec392041245b49ce8cd.tar.bz2 gentoo-2-f4ae9e7e8d3c34ac9c380ec392041245b49ce8cd.zip |
Remove old.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-python/cvxopt')
-rw-r--r-- | dev-python/cvxopt/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/cvxopt/cvxopt-1.1.6-r1.ebuild | 91 |
2 files changed, 4 insertions, 92 deletions
diff --git a/dev-python/cvxopt/ChangeLog b/dev-python/cvxopt/ChangeLog index 22a087433a2b..d890924a7fc3 100644 --- a/dev-python/cvxopt/ChangeLog +++ b/dev-python/cvxopt/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/cvxopt # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cvxopt/ChangeLog,v 1.21 2015/06/07 12:41:07 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/cvxopt/ChangeLog,v 1.22 2015/06/28 12:04:10 mrueg Exp $ + + 28 Jun 2015; Manuel Rüger <mrueg@gentoo.org> -cvxopt-1.1.6-r1.ebuild: + Remove old. 07 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml: Add github to remote-id in metadata.xml diff --git a/dev-python/cvxopt/cvxopt-1.1.6-r1.ebuild b/dev-python/cvxopt/cvxopt-1.1.6-r1.ebuild deleted file mode 100644 index d013d007fd94..000000000000 --- a/dev-python/cvxopt/cvxopt-1.1.6-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cvxopt/cvxopt-1.1.6-r1.ebuild,v 1.2 2015/04/08 08:04:53 mgorny Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit distutils-r1 toolchain-funcs eutils - -DESCRIPTION="Python package for convex optimization" -HOMEPAGE="http://cvxopt.org/" -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc +dsdp examples fftw +glpk gsl" - -RDEPEND=" - virtual/blas - virtual/cblas - virtual/lapack - sci-libs/cholmod:0= - sci-libs/umfpack:0= - dsdp? ( sci-libs/dsdp:0= ) - fftw? ( sci-libs/fftw:3.0= ) - glpk? ( sci-mathematics/glpk:0= ) - gsl? ( sci-libs/gsl:0= )" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( dev-python/sphinx )" - -python_prepare_all(){ - local PATCHES=( "${FILESDIR}"/${PN}-1.1.6-setup.patch ) - - has_version ">=sci-mathematics/glpk-4.49" && \ - epatch "${FILESDIR}"/${PN}-1.1.6-glpk449.patch - - rm -r src/C/SuiteSparse*/ || die - - distutils-r1_python_prepare_all - - pkg_lib() { - local libs=$($(tc-getPKG_CONFIG) --libs-only-l $1 | \ - sed -e 's:[ ]-l*\(pthread\|m\)\([ ]\|$\)::g' -e 's:[ ]*$::' | \ - tr ' ' '\n' | sort -u | \ - sed -e "s:^-l\(.*\):'\1':g" | \ - tr '\n' ',' | sed -e 's:,$::') - sed -i -e "/_LIB[ ]*=/s:\(.*[ ]*=[ ]*\[\).*${1}.*:\1${libs}\]:" setup.py || die - } - - use_cvx() { - if use $1 ; then - sed -i \ - -e "s/\(BUILD_${1^^} =\) 0/\1 1/" \ - setup.py || die - fi - } - - pkg_lib blas - pkg_lib lapack - - # Deal with blas/lapck libraries that are not in /usr/lib{64} - local lapackdir=\'$($(tc-getPKG_CONFIG) --libs-only-L lapack | sed \ - -e 's:^-L::' \ - -e "s:[ ]*-L:\',\':g" \ - -e 's:[ ]*$::g')\' - sed -i -e "s:BLAS_LIB_DIR = '':BLAS_LIB_DIR = ${lapackdir}:" setup.py || die - - use_cvx gsl - use_cvx fftw - use_cvx glpk - use_cvx dsdp -} - -python_compile_all() { - use doc && export VARTEXFONTS="${T}/fonts" && emake -C doc -B html -} - -python_test() { - cd examples/doc/chap8 - "${EPYTHON}" lp.py || die -} - -python_install_all() { - use doc && HTML_DOCS=( doc/build/html/. ) - insinto /usr/share/doc/${PF} - use examples && doins -r examples - distutils-r1_python_install_all -} |