[gentoo-commits] repo/gentoo:master commit in: sci-electronics/petrify/

2022-09-21 Thread Sam James
commit: afee7580b2145934c2aeb6753f52b0e53696f55f
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 22 03:42:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 22 04:05:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afee7580

sci-electronics/petrify: use PV in SRC_URI

Avoids mistakes on bumping and why not?

Signed-off-by: Sam James  gentoo.org>

 sci-electronics/petrify/petrify-4.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-electronics/petrify/petrify-4.2-r1.ebuild 
b/sci-electronics/petrify/petrify-4.2-r1.ebuild
index 4620813921eb..ee66b2212e7f 100644
--- a/sci-electronics/petrify/petrify-4.2-r1.ebuild
+++ b/sci-electronics/petrify/petrify-4.2-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DESCRIPTION="Synthesize Petri nets into asynchronous circuits"
 HOMEPAGE="http://www.lsi.upc.edu/~jordicf/petrify/";
-SRC_URI="http://www.lsi.upc.edu/~jordicf/petrify/distrib/petrify-4.2-linux.tgz";
+SRC_URI="http://www.lsi.upc.edu/~jordicf/petrify/distrib/${P}-linux.tgz";
 S="${WORKDIR}"/${PN}
 
 LICENSE="Old-MIT"



[gentoo-commits] repo/gentoo:master commit in: sci-electronics/petrify/

2021-08-22 Thread David Seifert
commit: 0cf96625aabd37d4e3f151a99aecee3135b0f627
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sun Aug 22 19:37:22 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 22 19:37:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cf96625

sci-electronics/petrify: Port to EAPI 8

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-electronics/petrify/petrify-4.2-r1.ebuild | 17 -
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/sci-electronics/petrify/petrify-4.2-r1.ebuild 
b/sci-electronics/petrify/petrify-4.2-r1.ebuild
index 2782e4be840..4620813921e 100644
--- a/sci-electronics/petrify/petrify-4.2-r1.ebuild
+++ b/sci-electronics/petrify/petrify-4.2-r1.ebuild
@@ -1,25 +1,22 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=8
 
 DESCRIPTION="Synthesize Petri nets into asynchronous circuits"
 HOMEPAGE="http://www.lsi.upc.edu/~jordicf/petrify/";
 SRC_URI="http://www.lsi.upc.edu/~jordicf/petrify/distrib/petrify-4.2-linux.tgz";
+S="${WORKDIR}"/${PN}
 
 LICENSE="Old-MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 RDEPEND="media-gfx/graphviz"
-DEPEND=""
 
 RESTRICT="strip"
 
-QA_PREBUILT="/opt/petrify/petrify"
-
-S="${WORKDIR}"/${PN}
+QA_PREBUILT="opt/petrify/petrify"
 
 src_install() {
exeinto /opt/petrify
@@ -27,9 +24,11 @@ src_install() {
dosym petrify /opt/petrify/draw_astg
dosym petrify /opt/petrify/write_sg
 
-   dodoc doc/*
+   dodoc -r doc/.
doman man/man1/*
 
dodir /etc/env.d
-   echo "PATH=${EPREFIX}/opt/petrify" > "${ED}"/etc/env.d/00petrify
+   newenvd - 00petrify <<- _EOF_
+   PATH="${EPREFIX}/opt/petrify"
+   _EOF_
 }