1 |
commit: 0cf96625aabd37d4e3f151a99aecee3135b0f627 |
2 |
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 |
AuthorDate: Sun Aug 22 19:37:22 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 22 19:37:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cf96625 |
7 |
|
8 |
sci-electronics/petrify: Port to EAPI 8 |
9 |
|
10 |
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
sci-electronics/petrify/petrify-4.2-r1.ebuild | 17 ++++++++--------- |
14 |
1 file changed, 8 insertions(+), 9 deletions(-) |
15 |
|
16 |
diff --git a/sci-electronics/petrify/petrify-4.2-r1.ebuild b/sci-electronics/petrify/petrify-4.2-r1.ebuild |
17 |
index 2782e4be840..4620813921e 100644 |
18 |
--- a/sci-electronics/petrify/petrify-4.2-r1.ebuild |
19 |
+++ b/sci-electronics/petrify/petrify-4.2-r1.ebuild |
20 |
@@ -1,25 +1,22 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=5 |
26 |
+EAPI=8 |
27 |
|
28 |
DESCRIPTION="Synthesize Petri nets into asynchronous circuits" |
29 |
HOMEPAGE="http://www.lsi.upc.edu/~jordicf/petrify/" |
30 |
SRC_URI="http://www.lsi.upc.edu/~jordicf/petrify/distrib/petrify-4.2-linux.tgz" |
31 |
+S="${WORKDIR}"/${PN} |
32 |
|
33 |
LICENSE="Old-MIT" |
34 |
SLOT="0" |
35 |
KEYWORDS="~amd64 ~x86" |
36 |
-IUSE="" |
37 |
|
38 |
RDEPEND="media-gfx/graphviz" |
39 |
-DEPEND="" |
40 |
|
41 |
RESTRICT="strip" |
42 |
|
43 |
-QA_PREBUILT="/opt/petrify/petrify" |
44 |
- |
45 |
-S="${WORKDIR}"/${PN} |
46 |
+QA_PREBUILT="opt/petrify/petrify" |
47 |
|
48 |
src_install() { |
49 |
exeinto /opt/petrify |
50 |
@@ -27,9 +24,11 @@ src_install() { |
51 |
dosym petrify /opt/petrify/draw_astg |
52 |
dosym petrify /opt/petrify/write_sg |
53 |
|
54 |
- dodoc doc/* |
55 |
+ dodoc -r doc/. |
56 |
doman man/man1/* |
57 |
|
58 |
dodir /etc/env.d |
59 |
- echo "PATH=${EPREFIX}/opt/petrify" > "${ED}"/etc/env.d/00petrify |
60 |
+ newenvd - 00petrify <<- _EOF_ |
61 |
+ PATH="${EPREFIX}/opt/petrify" |
62 |
+ _EOF_ |
63 |
} |