diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2015-08-03 23:12:03 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2015-08-03 23:12:03 +0000 |
commit | dd404e6e0abfd042bdb715008434f6fed92836a9 (patch) | |
tree | a9f04fa58c38f0926ed93bb2d6473fd6ee76f78b /sci-libs | |
parent | Remove old. (diff) | |
download | gentoo-2-dd404e6e0abfd042bdb715008434f6fed92836a9.tar.gz gentoo-2-dd404e6e0abfd042bdb715008434f6fed92836a9.tar.bz2 gentoo-2-dd404e6e0abfd042bdb715008434f6fed92836a9.zip |
Remove old.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/nlopt/ChangeLog | 6 | ||||
-rw-r--r-- | sci-libs/nlopt/nlopt-2.3-r1.ebuild | 113 | ||||
-rw-r--r-- | sci-libs/nlopt/nlopt-2.3-r2.ebuild | 129 |
3 files changed, 5 insertions, 243 deletions
diff --git a/sci-libs/nlopt/ChangeLog b/sci-libs/nlopt/ChangeLog index 324ffa35c7e4..83c8450aa3c1 100644 --- a/sci-libs/nlopt/ChangeLog +++ b/sci-libs/nlopt/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/nlopt # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/nlopt/ChangeLog,v 1.24 2015/04/08 18:49:15 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/nlopt/ChangeLog,v 1.25 2015/08/03 23:12:03 mrueg Exp $ + + 03 Aug 2015; Manuel Rüger <mrueg@gentoo.org> -nlopt-2.3-r1.ebuild, + -nlopt-2.3-r2.ebuild: + Remove old. 08 Apr 2015; Michał Górny <mgorny@gentoo.org> nlopt-2.4.2.ebuild: Drop old Python implementations diff --git a/sci-libs/nlopt/nlopt-2.3-r1.ebuild b/sci-libs/nlopt/nlopt-2.3-r1.ebuild deleted file mode 100644 index ce82d7573474..000000000000 --- a/sci-libs/nlopt/nlopt-2.3-r1.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/nlopt/nlopt-2.3-r1.ebuild,v 1.2 2013/04/24 12:20:01 jlec Exp $ - -EAPI=4 - -SUPPORT_PYTHON_ABIS="1" -PYTHON_DEPEND="python? *" -RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython" -AUTOTOOLS_AUTORECONF=1 - -inherit autotools-utils python - -DESCRIPTION="Non-linear optimization library" -HOMEPAGE="http://ab-initio.mit.edu/nlopt/" -SRC_URI="${HOMEPAGE}/${P}.tar.gz" - -LICENSE="LGPL-2.1 MIT" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -SLOT="0" -IUSE="cxx guile octave python static-libs" - -DEPEND=" - guile? ( dev-scheme/guile ) - octave? ( sci-mathematics/octave ) - python? ( dev-python/numpy )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-2.2.4-fix-nlopt_hpp-location.patch - "${FILESDIR}"/${PN}-2.3-pkgconfig.patch - "${FILESDIR}"/${PN}-2.3-as-needed.patch -) - -src_prepare() { - autotools-utils_src_prepare - if use python; then - sed -i \ - -e '/^LTLIBRARIES/s:$(pyexec_LTLIBRARIES)::g' \ - swig/Makefile.in || die - echo '#!/bin/sh' > py-compile - fi - use python && python_src_prepare -} - -src_configure() { - if use octave; then - export OCT_INSTALL_DIR="${EPREFIX}"/usr/libexec/octave/site/oct/${CHOST} - export M_INSTALL_DIR="${EPREFIX}"/usr/share/octave/site/m - else - export MKOCTFILE=None - fi - local myeconfargs=( - $(use_with cxx) - $(use_with guile) - $(use_with octave) - $(use_with python) - ) - autotools-utils_src_configure -} - -src_compile() { - autotools-utils_src_compile - if use python; then - python_copy_sources swig - compilation() { - autotools-utils_src_compile \ - PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \ - PYTHON_LDFLAGS="${EPREFIX}$(python_get_library -l)" \ - PYTHON_SITE_PKG="${EPREFIX}$(python_get_sitedir)" \ - PYTHON_VERSION="${EPREFIX}$(python_get_version)" \ - PYTHON_INCLUDES="${EPREFIX}$(python_get_includedir)" \ - pythondir="${EPREFIX}$(python_get_sitedir)" \ - pyexecdir="${EPREFIX}$(python_get_sitedir)" - } - python_execute_function -s --source-dir swig compilation - fi -} - -src_test() { - cd "${AUTOTOOLS_BUILD_DIR}"/test - local a f - for a in {1..9}; do - for f in {5..9}; do - ./testopt -a $a -o $f || die "algorithm $a function $f failed" - done - done -} - -src_install() { - autotools-utils_src_install - if use python; then - installation() { - cd "${AUTOTOOLS_BUILD_DIR}" - rm *.la - emake DESTDIR="${D}" install \ - pyexecdir="${EPREFIX}$(python_get_sitedir)" \ - pythondir="${EPREFIX}$(python_get_sitedir)" - } - python_execute_function -s --source-dir swig installation - python_clean_installation_image - fi - local r - for r in */README; do newdoc ${r} README.$(dirname ${r}); done -} - -pkg_postinst() { - use python && python_mod_optimize ${PN}.py -} - -pkg_postrm() { - use python && python_mod_cleanup ${PN}.py -} diff --git a/sci-libs/nlopt/nlopt-2.3-r2.ebuild b/sci-libs/nlopt/nlopt-2.3-r2.ebuild deleted file mode 100644 index 97e787eb298c..000000000000 --- a/sci-libs/nlopt/nlopt-2.3-r2.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/nlopt/nlopt-2.3-r2.ebuild,v 1.3 2013/04/24 12:20:01 jlec Exp $ - -EAPI=5 - -SUPPORT_PYTHON_ABIS="1" -PYTHON_DEPEND="python? *" -RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython" -AUTOTOOLS_AUTORECONF=1 - -inherit autotools-utils python - -DESCRIPTION="Non-linear optimization library" -HOMEPAGE="http://ab-initio.mit.edu/nlopt/" -SRC_URI="${HOMEPAGE}/${P}.tar.gz" - -LICENSE="LGPL-2.1 MIT" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -SLOT="0" -IUSE="cxx guile octave python static-libs" - -DEPEND=" - guile? ( dev-scheme/guile ) - octave? ( sci-mathematics/octave ) - python? ( dev-python/numpy )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-2.2.4-fix-nlopt_hpp-location.patch - "${FILESDIR}"/${PN}-2.3-pkgconfig.patch - "${FILESDIR}"/${PN}-2.3-as-needed.patch -) - -src_prepare() { - sed \ - -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' \ - -i configure.ac || die - autotools-utils_src_prepare - if use python; then - sed -i \ - -e '/^LTLIBRARIES/s:$(pyexec_LTLIBRARIES)::g' \ - swig/Makefile.in || die - echo '#!/bin/sh' > py-compile - fi - use python && python_src_prepare -} - -src_configure() { - if use octave; then - export OCT_INSTALL_DIR="$(octave-config -p LOCALOCTFILEDIR)" - export M_INSTALL_DIR="$(octave-config -p LOCALFCNFILEDIR)" - - else - export MKOCTFILE=None - fi - local myeconfargs=( - $(use_with guile) - $(use_with octave) - $(use_with python) - ) - autotools-utils_src_configure - if use cxx; then - myeconfargs+=( --with-cxx ) - BUILD_DIR="${BUILD_DIR}_cxx" autotools-utils_src_configure - fi -} - -src_compile() { - autotools-utils_src_compile - if use python; then - python_copy_sources swig - compilation() { - autotools-utils_src_compile \ - PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \ - PYTHON_LDFLAGS="${EPREFIX}$(python_get_library -l)" \ - PYTHON_SITE_PKG="${EPREFIX}$(python_get_sitedir)" \ - PYTHON_VERSION="${EPREFIX}$(python_get_version)" \ - PYTHON_INCLUDES="${EPREFIX}$(python_get_includedir)" \ - pythondir="${EPREFIX}$(python_get_sitedir)" \ - pyexecdir="${EPREFIX}$(python_get_sitedir)" - } - python_execute_function -s --source-dir swig compilation - fi - use cxx && autotools-utils_src_compile -C "${BUILD_DIR}_cxx" -} - -src_test() { - local a f - cd "${BUILD_DIR}"/test - for a in {1..7}; do - for f in {5..9}; do - ./testopt -a $a -o $f || die "algorithm $a function $f failed" - done - done - cd "${BUILD_DIR}_cxx"/test - for a in {1..9}; do - for f in {5..9}; do - ./testopt -a $a -o $f || die "algorithm $a function $f failed" - done - done -} - -src_install() { - # build cxx first so the c lib overwrites the pc file - use cxx && autotools-utils_src_install -C "${BUILD_DIR}_cxx" - autotools-utils_src_install - if use python; then - installation() { - cd "${AUTOTOOLS_BUILD_DIR}" - rm *.la - emake DESTDIR="${D}" install \ - pyexecdir="${EPREFIX}$(python_get_sitedir)" \ - pythondir="${EPREFIX}$(python_get_sitedir)" - } - python_execute_function -s --source-dir swig installation - python_clean_installation_image - fi - local r - for r in */README; do newdoc ${r} README.$(dirname ${r}); done -} - -pkg_postinst() { - use python && python_mod_optimize ${PN}.py -} - -pkg_postrm() { - use python && python_mod_cleanup ${PN}.py -} |