commit:     aabcb73fb37d1a9adea76de1a90842406ec75dba
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 15 21:09:26 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Oct 15 21:16:07 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aabcb73f

sci-libs/lemon: Drop 1.3-r2

Closes: https://bugs.gentoo.org/600750
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sci-libs/lemon/Manifest                       |  1 -
 sci-libs/lemon/files/lemon-1.3-multilib.patch | 18 ------
 sci-libs/lemon/lemon-1.3-r2.ebuild            | 87 ---------------------------
 sci-libs/lemon/metadata.xml                   |  1 -
 4 files changed, 107 deletions(-)

diff --git a/sci-libs/lemon/Manifest b/sci-libs/lemon/Manifest
index e9ae37c003d..613b6a848c3 100644
--- a/sci-libs/lemon/Manifest
+++ b/sci-libs/lemon/Manifest
@@ -1,2 +1 @@
 DIST lemon-1.3.1.tar.gz 5142826 BLAKE2B 
23d3b637b4dd32d73bb053b4f5d032e16be787ba162eed6df793f65b81efef6d7ca66d6e5a483b75ac7b1ddb7c8a2698b3b13eb16fcd44e0b726052290082bee
 SHA512 
715eb45e790c908e41de4c13e68b7880e1d86c54eca53f896c95b6bc411ded504f3f768bed9d63562ed4adad53167fb3a7828c67456fdea645a5d0a94ae2e038
-DIST lemon-1.3.tar.gz 5454290 BLAKE2B 
f204b84d6ce82d1e942597e40c3b35e0a218d110017bc74d8982d09270e2d94e260e2a62e818e88d69a56a75886a60343b787e2cf05d581b5e520faaf2c73b02
 SHA512 
f48c14e42e0a463a3d203a05a012fdf635cf09503a5d18e14e64722e9f7f68d7fc223059e0a6a5d118491a473a25196d531e0a6302552f9fb8c121a4ed70af45

diff --git a/sci-libs/lemon/files/lemon-1.3-multilib.patch 
b/sci-libs/lemon/files/lemon-1.3-multilib.patch
deleted file mode 100644
index ee578d4a0f6..00000000000
--- a/sci-libs/lemon/files/lemon-1.3-multilib.patch
+++ /dev/null
@@ -1,18 +0,0 @@
- lemon/CMakeLists.txt | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/lemon/CMakeLists.txt b/lemon/CMakeLists.txt
-index 8011833..0209acf 100644
---- a/lemon/CMakeLists.txt
-+++ b/lemon/CMakeLists.txt
-@@ -61,8 +61,8 @@ ENDIF()
- 
- INSTALL(
-   TARGETS lemon
--  ARCHIVE DESTINATION lib
--  LIBRARY DESTINATION lib
-+  ARCHIVE DESTINATION lib${LIB_SUFFIX}
-+  LIBRARY DESTINATION lib${LIB_SUFFIX}
-   COMPONENT library
- )
- 

diff --git a/sci-libs/lemon/lemon-1.3-r2.ebuild 
b/sci-libs/lemon/lemon-1.3-r2.ebuild
deleted file mode 100644
index d105113c379..00000000000
--- a/sci-libs/lemon/lemon-1.3-r2.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils
-
-DESCRIPTION="C++ template static library of common data structures and 
algorithms"
-HOMEPAGE="https://lemon.cs.elte.hu/trac/lemon/";
-SRC_URI="https://lemon.cs.elte.hu/pub/sources/${P}.tar.gz";
-
-LICENSE="Boost-1.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+coin doc glpk static-libs test tools"
-
-RDEPEND="
-       coin? (
-               sci-libs/coinor-cbc:=
-               sci-libs/coinor-clp:=
-       )
-       glpk? ( sci-mathematics/glpk:= )
-"
-DEPEND="${RDEPEND}
-       doc? (
-               app-doc/doxygen
-               app-text/ghostscript-gpl
-               dev-libs/mathjax
-       )
-"
-
-REQUIRED_USE="|| ( coin glpk )"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-multilib.patch
-       "${FILESDIR}"/${P}-as-needed.patch
-)
-
-src_prepare() {
-       sed -i \
-               -e '/ADD_SUBDIRECTORY(demo)/d' \
-               CMakeLists.txt || die
-
-       use doc || sed -i \
-               -e '/ADD_SUBDIRECTORY(doc)/d' \
-               CMakeLists.txt || die
-
-       use tools || sed -i \
-               -e '/ADD_SUBDIRECTORY(tools)/d' \
-               CMakeLists.txt || die
-
-       use test || sed -i \
-               -e '/ADD_SUBDIRECTORY(test)/d' \
-               CMakeLists.txt || die
-
-       for t in \
-               max_clique \
-               max_flow \
-               graph_utils \
-               random \
-               time_measure \
-               tsp; do
-               sed -i -e "/${t}_test/d" test/CMakeLists.txt || die
-       done
-       sed -i \
-               -e '/ADD_TEST(lp_test lp_test)/d' \
-               -e '/ADD_DEPENDENCIES(check lp_test)/d' \
-               test/CMakeLists.txt || die
-       cmake-utils_src_prepare
-}
-
-src_configure() {
-       local mycmakeargs=(
-               -DBUILD_SHARED_LIBS=TRUE
-               -DCOIN_ROOT_DIR="${EPREFIX}/usr"
-               -DLEMON_DOC_MATHJAX_RELPATH="${EPREFIX}/usr/share/mathjax"
-               $(cmake-utils_use doc LEMON_DOC_SOURCE_BROWSER)
-               $(cmake-utils_use doc LEMON_DOC_USE_MATHJAX)
-               $(cmake-utils_use coin LEMON_ENABLE_COIN)
-               $(cmake-utils_use glpk LEMON_ENABLE_GLPK)
-       )
-       cmake-utils_src_configure
-}
-
-src_test() {
-       emake -C "${BUILD_DIR}" check
-}

diff --git a/sci-libs/lemon/metadata.xml b/sci-libs/lemon/metadata.xml
index e362f3ccd40..92e66a920f0 100644
--- a/sci-libs/lemon/metadata.xml
+++ b/sci-libs/lemon/metadata.xml
@@ -15,6 +15,5 @@
        <use>
                <flag name="coin">Enable the <pkg>sci-libs/coinor-clp</pkg> and 
<pkg>sci-libs/coinor-cbc</pkg> graph algorithms</flag>
                <flag name="glpk">Enable GNU Linear Programming Kit 
<pkg>sci-mathematics/glpk</pkg> support</flag>
-               <flag name="tools">Build additional tools</flag>
        </use>
 </pkgmetadata>

Reply via email to