Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: sci-mathematics/abc/
Date: Thu, 16 Mar 2023 08:42:01
Message-Id: 1678955227.9eeffe8cc09aa10d52a1682d68e39856a4b59ae3.flow@gentoo
1 commit: 9eeffe8cc09aa10d52a1682d68e39856a4b59ae3
2 Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 16 08:27:00 2023 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 16 08:27:07 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9eeffe8c
7
8 sci-mathematics/abc: treeclean, in ::gentoo
9
10 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
11
12 sci-mathematics/abc/abc-9999.ebuild | 57 -------------------------------------
13 sci-mathematics/abc/metadata.xml | 12 --------
14 2 files changed, 69 deletions(-)
15
16 diff --git a/sci-mathematics/abc/abc-9999.ebuild b/sci-mathematics/abc/abc-9999.ebuild
17 deleted file mode 100644
18 index 5f80d0d55..000000000
19 --- a/sci-mathematics/abc/abc-9999.ebuild
20 +++ /dev/null
21 @@ -1,57 +0,0 @@
22 -EAPI=7
23 -
24 -inherit git-r3 toolchain-funcs
25 -
26 -DESCRIPTION="System for sequential logic synthesis and formal verification"
27 -HOMEPAGE="https://people.eecs.berkeley.edu/~alanmi/abc/"
28 -SRC_URI=""
29 -EGIT_REPO_URI="https://github.com/berkeley-abc/abc.git"
30 -EGIT_BRANCH="master"
31 -
32 -
33 -LICENSE="Berkeley-ABC"
34 -SLOT="0"
35 -KEYWORDS=""
36 -PROPERTIES="live"
37 -IUSE="+static-libs +readline +pthread"
38 -REQUIRED_USE=""
39 -
40 -
41 -BDEPEND="
42 - sys-devel/gcc[cxx]
43 -"
44 -
45 -RDEPEND="
46 - readline? ( sys-libs/readline:= )
47 -"
48 -
49 -DEPEND="
50 - ${RDEPEND}
51 -"
52 -
53 -
54 -src_compile() {
55 - local MAKE_ARGS=(
56 - CC=$(tc-getCC)
57 - CXX=$(tc-getCXX)
58 - AR=$(tc-getAR)
59 - LD=$(tc-getCXX)
60 - ABC_USE_PIC=1
61 - $(usex readline "" "ABC_USE_NO_READLINE=1")
62 - $(usex pthread "" "ABC_USE_NO_PTHREADS=1")
63 - )
64 -
65 - # We're explicitly building these targets sequentially,
66 - # because if the abc executable and libabc.a are linked in parallel,
67 - # we risk exhausting memory.
68 - emake "${MAKE_ARGS[@]}" abc
69 - emake "${MAKE_ARGS[@]}" libabc.so
70 - use static-libs && emake "${MAKE_ARGS[@]}" libabc.a
71 -}
72 -
73 -
74 -src_install() {
75 - dobin abc
76 - dolib.so libabc.so
77 - use static-libs && dolib.a libabc.a
78 -}
79
80 diff --git a/sci-mathematics/abc/metadata.xml b/sci-mathematics/abc/metadata.xml
81 deleted file mode 100644
82 index b63afe043..000000000
83 --- a/sci-mathematics/abc/metadata.xml
84 +++ /dev/null
85 @@ -1,12 +0,0 @@
86 -<?xml version="1.0" encoding="UTF-8"?>
87 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
88 -<pkgmetadata>
89 -<upstream>
90 - <remote-id type="github">berkeley-abc/abc</remote-id>
91 -</upstream>
92 -<use>
93 - <flag name="static-libs">Builds libabc.a</flag>
94 - <flag name="readline">Enables readline support</flag>
95 - <flag name="pthread">Builds with pthreads</flag>
96 -</use>
97 -</pkgmetadata>