Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/
Date: Thu, 24 Sep 2020 19:53:43
Message-Id: 1600977201.06787dbec06146cac745be92526bf244932a3c60.bman@gentoo
1 commit: 06787dbec06146cac745be92526bf244932a3c60
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 24 19:04:10 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 24 19:53:21 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06787dbe
7
8 sci-electronics/magic: drop old EAPI=5
9
10 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
11
12 sci-electronics/magic/Manifest | 2 -
13 sci-electronics/magic/magic-7.5.231.ebuild | 73 ----------------------------
14 sci-electronics/magic/magic-8.0.138.ebuild | 76 ------------------------------
15 3 files changed, 151 deletions(-)
16
17 diff --git a/sci-electronics/magic/Manifest b/sci-electronics/magic/Manifest
18 index aaa86e03d40..bd1baafd599 100644
19 --- a/sci-electronics/magic/Manifest
20 +++ b/sci-electronics/magic/Manifest
21 @@ -1,5 +1,3 @@
22 DIST 2002a.tar.gz 6601961 BLAKE2B e34bc281b3f1bc032ba14954b781c8b0055bb9125c57944a5b5f595f8b22feb455c60f3230cf04f06bc41aa807e909d900e3d3ab746076e2c99dcbbdf51a71df SHA512 cb8e30df77e58eb37f7ada775db8a8411612897b1cdbcb59b0c4bd814fa73c6cb10a5461e27e9eecb0fe452e194ee95fbb02b568b86848e501b9c37cc24de39e
23 DIST magic-7.5.202.tgz 3692294 BLAKE2B 8c484e7771b388df8a5e9df574a522f81b5ae34bfaa0db28f444f31a0f5737094d73d2f5467796df74f9230fe684e9c96b08b11812b5627ee5a1bcc74893a021 SHA512 62be6e781ab51a4129a520b91a35ff5c280e7e9cb825e5d71e4012205dd0b777ca8c2355fb071d7d716977d477bddd44e45ca2810d3f97bb63dfe46c5ad1ba80
24 -DIST magic-7.5.231.tgz 3751133 BLAKE2B ffe7b19cfadd84ab91d668f7f317fc53dcec4292348324a9cd6326370a6b8446db537667103169313b72ad5e5e78458e346e802744ab2856eae40d773d65f80e SHA512 ff1aa170c0fdbeb78aca7328370f40fde1a7276dd77e1b4d4d53f121b38ffecdc8b0d860dc92c1dfeccd1dd7685ee6079aa19984757025fc743ae1a88ed0aace
25 -DIST magic-8.0.138.tgz 3880247 BLAKE2B be6e11f55452c990ae443639ba6852d683323159104ef3626e96e5ddc275a420f0f8debfcb517a7ac38ecd04aa01dfc935e81634c740f1761a1bd3a6adb35c69 SHA512 934fb0afef7fd7aca1307a1e9c86d23531d4188d1bd03bbfbb3609cabec115f5ce66ef02b75f5a0aedbace0b1f68260585b279a6d7bc45f58a4e0ac09cd99d36
26 DIST magic-8.0.207.tgz 3893605 BLAKE2B 39309def79e03fd6b116482eec2f200cb2b0d2042add2e2a70b0805bc0bc75654de6a92150167ab755b21c333be917c5fac53a30e9f5ee7915fd662179ce391c SHA512 034387d774f653d6de419d597564e96242b87bf3c478045e5a649f490fe4e5431c983f6667b5900ec9ae283af2775404dfbdcbaf18419f85d7242d492360d32b
27
28 diff --git a/sci-electronics/magic/magic-7.5.231.ebuild b/sci-electronics/magic/magic-7.5.231.ebuild
29 deleted file mode 100644
30 index b85ff98fcbd..00000000000
31 --- a/sci-electronics/magic/magic-7.5.231.ebuild
32 +++ /dev/null
33 @@ -1,73 +0,0 @@
34 -# Copyright 1999-2016 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -
39 -inherit multilib eutils autotools
40 -
41 -DESCRIPTION="The VLSI design CAD tool"
42 -HOMEPAGE="http://www.opencircuitdesign.com/magic/index.html"
43 -SRC_URI="http://www.opencircuitdesign.com/magic/archive/${P}.tgz \
44 - ftp://ftp.mosis.edu/pub/sondeen/magic/new/beta/2002a.tar.gz"
45 -
46 -LICENSE="HPND GPL-2+"
47 -SLOT="0"
48 -KEYWORDS="~amd64 ~ppc ~x86"
49 -IUSE="debug opengl"
50 -
51 -RDEPEND="sys-libs/ncurses:0=
52 - sys-libs/readline:0=
53 - dev-lang/tcl:0=
54 - dev-lang/tk:0=
55 - dev-tcltk/blt
56 - opengl? ( virtual/opengl )"
57 -DEPEND="${RDEPEND}
58 - app-shells/tcsh"
59 -
60 -src_prepare() {
61 - einfo remove bundled readline-4.3
62 - rm -r readline || die
63 -
64 - epatch \
65 - "${FILESDIR}"/${PN}-7.5.231-blt-test.patch \
66 - "${FILESDIR}"/${PN}-7.5.231-ldflags.patch \
67 - "${FILESDIR}"/${PN}-7.5.231-verbose-build.patch
68 -
69 - cd scripts || die
70 - eautoreconf
71 - cd .. || die
72 -
73 - sed -i -e "s: -pg : :" tcltk/Makefile || die
74 -}
75 -
76 -src_configure() {
77 - # Short-circuit top-level configure script to retain CFLAGS
78 - # fix tcl/tk detection #447868
79 - cd scripts
80 - CPP="cpp" econf \
81 - --with-tcl=yes \
82 - --with-tcllibs="/usr/$(get_libdir)" \
83 - --with-tklibs="/usr/$(get_libdir)" \
84 - --enable-modular \
85 - $(use_enable debug memdebug) \
86 - $(use_with opengl)
87 -}
88 -
89 -src_install() {
90 - emake -j1 DESTDIR="${D}" install
91 -
92 - dodoc README README.Tcl TODO
93 -
94 - # Move docs from libdir to docdir and add symlink.
95 - mv "${D}/usr/$(get_libdir)/magic/doc"/* "${D}/usr/share/doc/${PF}/" || die
96 - rmdir "${D}/usr/$(get_libdir)/magic/doc" || die
97 - dosym "/usr/share/doc/${PF}" "/usr/$(get_libdir)/magic/doc"
98 -
99 - # Move tutorial from libdir to datadir and add symlink.
100 - dodir /usr/share/${PN}
101 - mv "${D}/usr/$(get_libdir)/magic/tutorial" "${D}/usr/share/${PN}/" || die
102 - dosym "/usr/share/${PN}/tutorial" "/usr/$(get_libdir)/magic/tutorial"
103 -
104 - # Install latest MOSIS tech files
105 - cp -pPR "${WORKDIR}"/2002a "${D}"/usr/$(get_libdir)/magic/sys/current || die
106 -}
107
108 diff --git a/sci-electronics/magic/magic-8.0.138.ebuild b/sci-electronics/magic/magic-8.0.138.ebuild
109 deleted file mode 100644
110 index c437a36c055..00000000000
111 --- a/sci-electronics/magic/magic-8.0.138.ebuild
112 +++ /dev/null
113 @@ -1,76 +0,0 @@
114 -# Copyright 1999-2016 Gentoo Foundation
115 -# Distributed under the terms of the GNU General Public License v2
116 -
117 -EAPI=5
118 -
119 -inherit multilib eutils autotools
120 -
121 -DESCRIPTION="The VLSI design CAD tool"
122 -HOMEPAGE="http://www.opencircuitdesign.com/magic/index.html"
123 -SRC_URI="http://www.opencircuitdesign.com/magic/archive/${P}.tgz \
124 - ftp://ftp.mosis.edu/pub/sondeen/magic/new/beta/2002a.tar.gz"
125 -
126 -LICENSE="HPND GPL-2+"
127 -SLOT="0"
128 -KEYWORDS="~amd64 ~ppc ~x86"
129 -IUSE="debug opengl"
130 -
131 -RDEPEND="sys-libs/ncurses:0=
132 - sys-libs/readline:0=
133 - dev-lang/tcl:0=
134 - dev-lang/tk:0=
135 - dev-tcltk/blt
136 - opengl? ( virtual/glu
137 - virtual/opengl )"
138 -DEPEND="${RDEPEND}
139 - app-shells/tcsh"
140 -
141 -src_prepare() {
142 - einfo remove bundled readline-4.3
143 - rm -r readline || die
144 -
145 - epatch \
146 - "${FILESDIR}/${PN}-7.5.231-verbose-build.patch"
147 -
148 - cd scripts || die
149 - eautoreconf
150 - cd .. || die
151 -
152 - sed -i -e "s: -pg : :" tcltk/Makefile || die
153 -}
154 -
155 -src_configure() {
156 - # Short-circuit top-level configure script to retain CFLAGS
157 - # fix tcl/tk detection #447868
158 - cd scripts
159 - CPP="cpp" econf \
160 - --with-tcl=yes \
161 - --with-tcllibs="/usr/$(get_libdir)" \
162 - --with-tklibs="/usr/$(get_libdir)" \
163 - --enable-modular \
164 - $(use_enable debug memdebug) \
165 - $(use_with opengl)
166 -}
167 -
168 -src_compile() {
169 - emake -j1
170 -}
171 -
172 -src_install() {
173 - emake -j1 DESTDIR="${D}" install
174 -
175 - dodoc README README.Tcl TODO
176 -
177 - # Move docs from libdir to docdir and add symlink.
178 - mv "${D}/usr/$(get_libdir)/magic/doc"/* "${D}/usr/share/doc/${PF}/" || die
179 - rmdir "${D}/usr/$(get_libdir)/magic/doc" || die
180 - dosym "/usr/share/doc/${PF}" "/usr/$(get_libdir)/magic/doc"
181 -
182 - # Move tutorial from libdir to datadir and add symlink.
183 - dodir /usr/share/${PN}
184 - mv "${D}/usr/$(get_libdir)/magic/tutorial" "${D}/usr/share/${PN}/" || die
185 - dosym "/usr/share/${PN}/tutorial" "/usr/$(get_libdir)/magic/tutorial"
186 -
187 - # Install latest MOSIS tech files
188 - cp -pPR "${WORKDIR}"/2002a "${D}"/usr/$(get_libdir)/magic/sys/current || die
189 -}