diff options
author | Marek Szuba <marecki@gentoo.org> | 2020-11-24 13:32:08 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2020-11-24 14:15:30 +0100 |
commit | c40300c9a8a6f40cb7bc16103e1a013e09e6551a (patch) | |
tree | 3bb8c14fa60b8ceb61ceb28f391bdb06e0522142 /app-crypt/ekeyd | |
parent | dev-lua/luaexpat: drop old version (diff) | |
download | gentoo-c40300c9a8a6f40cb7bc16103e1a013e09e6551a.tar.gz gentoo-c40300c9a8a6f40cb7bc16103e1a013e09e6551a.tar.bz2 gentoo-c40300c9a8a6f40cb7bc16103e1a013e09e6551a.zip |
app-crypt/ekeyd: migrate to EAPI-7
In preparation for slotted-Lua support. Very nearly trivial.
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-crypt/ekeyd')
-rw-r--r-- | app-crypt/ekeyd/ekeyd-1.1.5-r1.ebuild | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/app-crypt/ekeyd/ekeyd-1.1.5-r1.ebuild b/app-crypt/ekeyd/ekeyd-1.1.5-r1.ebuild index 4cdadc140840..7816044711fd 100644 --- a/app-crypt/ekeyd/ekeyd-1.1.5-r1.ebuild +++ b/app-crypt/ekeyd/ekeyd-1.1.5-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit eutils multilib linux-info toolchain-funcs udev systemd +inherit multilib linux-info toolchain-funcs udev systemd DESCRIPTION="Entropy Key userspace daemon" HOMEPAGE="http://www.entropykey.co.uk/" @@ -15,7 +15,7 @@ KEYWORDS="~amd64 ~x86" IUSE="kernel_linux munin minimal usb" REQUIRED_USE="minimal? ( !munin )" -EKEYD_RDEPEND="dev-lang/lua" +EKEYD_RDEPEND="dev-lang/lua:0" EKEYD_DEPEND="${EKEYD_RDEPEND}" EKEYD_RDEPEND="${EKEYD_RDEPEND} dev-lua/luasocket @@ -23,7 +23,6 @@ EKEYD_RDEPEND="${EKEYD_RDEPEND} munin? ( net-analyzer/munin )" RDEPEND="!minimal? ( ${EKEYD_RDEPEND} ) - !app-crypt/ekey-egd-linux virtual/service-manager" DEPEND="!minimal? ( ${EKEYD_DEPEND} )" @@ -35,14 +34,14 @@ pkg_setup() { fi } -src_prepare() { - epatch "${FILESDIR}/${P}-const_char_usage.patch"; - epatch "${FILESDIR}/${P}-enoent.patch"; - epatch "${FILESDIR}/${P}-path-fixes.patch"; - epatch "${FILESDIR}/${P}-udev-rule.patch"; - epatch "${FILESDIR}/${P}-remove-werror.patch"; - epatch "${FILESDIR}/${P}-misc.patch"; -} +PATCHES=( + "${FILESDIR}"/${P}-const_char_usage.patch + "${FILESDIR}"/${P}-enoent.patch + "${FILESDIR}"/${P}-path-fixes.patch + "${FILESDIR}"/${P}-udev-rule.patch + "${FILESDIR}"/${P}-remove-werror.patch + "${FILESDIR}"/${P}-misc.patch +) src_compile() { local osname |