* [gentoo-commits] repo/gentoo:master commit in: media-gfx/springgraph/
@ 2019-11-09 12:08 Michał Górny
0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2019-11-09 12:08 UTC (permalink / raw
To: gentoo-commits
commit: 35ffe280aab872f2130714c651d0ec3f5a311cf4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 9 11:54:06 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 9 12:08:24 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35ffe280
media-gfx/springgraph: Bump to EAPI 7
Closes: https://bugs.gentoo.org/697284
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
media-gfx/springgraph/springgraph-88.ebuild | 32 +++++++++++++----------------
1 file changed, 14 insertions(+), 18 deletions(-)
diff --git a/media-gfx/springgraph/springgraph-88.ebuild b/media-gfx/springgraph/springgraph-88.ebuild
index 31742ab52d1..eb82210357f 100644
--- a/media-gfx/springgraph/springgraph-88.ebuild
+++ b/media-gfx/springgraph/springgraph-88.ebuild
@@ -1,39 +1,35 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
+EAPI=7
-inherit eutils
-
-DESCRIPTION="Generate spring graphs from graphviz input files"
-HOMEPAGE="http://www.chaosreigns.com/code/springgraph"
MY_PV="0.${PV}"
MY_P="${PN}_${MY_PV}"
SRC_FILE="${MY_P}.orig.tar.gz"
SRC_DEBIAN_PATCH="${PN}_0.82-5.diff.gz"
+
+DESCRIPTION="Generate spring graphs from graphviz input files"
+HOMEPAGE="http://www.chaosreigns.com/code/springgraph"
SRC_URI="http://www.chaosreigns.com/code/springgraph/dl/${PN}.pl.${PV}
- mirror://debian/pool/main/${PN:0:1}/${PN}/${SRC_DEBIAN_PATCH}"
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${SRC_DEBIAN_PATCH}"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
-DEPEND=""
+
RDEPEND="dev-perl/GD"
-S="${WORKDIR}/${PN}-${MY_PV}"
-src_unpack() {
- mkdir -p ${S}
- cp ${DISTDIR}/${PN}.pl.${PV} ${S}/${PN}
- EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${SRC_DEBIAN_PATCH}
-}
+S=${WORKDIR}
+
+PATCHES=( "${SRC_DEBIAN_PATCH%.gz}" )
-src_compile() {
- # nothing to do
- :
+src_unpack() {
+ cp "${DISTDIR}"/${PN}.pl.${PV} ${PN} || die
+ default
}
src_install() {
- into /usr
dobin ${PN}
doman debian/${PN}.1
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-09 12:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-09 12:08 [gentoo-commits] repo/gentoo:master commit in: media-gfx/springgraph/ Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox