diff options
author | Sam James <sam@gentoo.org> | 2021-05-13 15:51:14 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-05-13 15:51:14 +0200 |
commit | fde7f42bdb600e059baad237495b3d07790f0d30 (patch) | |
tree | 89fbf438d99f4886923208f109f18348dbe0c87e /sys-fs/atari-fdisk | |
parent | sys-fs/growpart: drop 0.0.1 (EAPI 5) (diff) | |
download | gentoo-fde7f42bdb600e059baad237495b3d07790f0d30.tar.gz gentoo-fde7f42bdb600e059baad237495b3d07790f0d30.tar.bz2 gentoo-fde7f42bdb600e059baad237495b3d07790f0d30.zip |
sys-fs/atari-fdisk: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-fs/atari-fdisk')
-rw-r--r-- | sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4.ebuild | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4.ebuild b/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4.ebuild index fa3d8b70fb95..d8576f14aceb 100644 --- a/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4.ebuild +++ b/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4.ebuild @@ -1,15 +1,16 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=7 -inherit versionator toolchain-funcs epatch +inherit toolchain-funcs -MY_PV=$(get_version_component_range 1-3) -DEB_PV=$(get_version_component_range 4-5) -DESCRIPTION="create and edit the partition table of a disk partitioned in Atari format" +MY_PV=$(ver_cut 1-3) +DEB_PV=$(ver_cut 4-5) +DESCRIPTION="Create and edit the partition table of a disk partitioned in Atari format" HOMEPAGE="https://packages.qa.debian.org/a/atari-fdisk.html" SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${MY_PV}-${DEB_PV}.tar.gz" +S="${WORKDIR}"/${PN}-${MY_PV} LICENSE="GPL-2" SLOT="0" @@ -17,14 +18,11 @@ SLOT="0" # use this on 64bit systems (where sizeof(long) == 8), then misbehavior # and memory corruption will ensue. KEYWORDS="-* ~m68k x86" -IUSE="" -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-0.7.1.5.4-prompt-logic.patch - epatch "${FILESDIR}"/${PN}-0.7.1.5.4-gcc-5-inline.patch -} +PATCHES=( + "${FILESDIR}"/${PN}-0.7.1.5.4-prompt-logic.patch + "${FILESDIR}"/${PN}-0.7.1.5.4-gcc-5-inline.patch +) src_compile() { emake \ |