app-admin/etcd-wrapper: EAPI 8, fix pkgcheck issues

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2024-08-21 12:40:20 +01:00
parent 7487535706
commit 82f98f09c7
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137
3 changed files with 9 additions and 12 deletions

View File

@ -1,25 +1,19 @@
# Copyright (c) 2016 CoreOS, Inc.. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=8
TMPFILES_OPTIONAL=1
inherit systemd tmpfiles
DESCRIPTION="etcd (System Application Container)"
HOMEPAGE="https://github.com/etcd-io/etcd"
S="${WORKDIR}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64"
LICENSE="Apache-2.0"
IUSE=""
SLOT=0
DEPEND=""
RDEPEND=">=app-admin/sdnotify-proxy-0.1.0"
S=${WORKDIR}
src_install() {
local tag="v${PV}"
if [[ "${ARCH}" != "amd64" ]]; then
@ -30,7 +24,7 @@ src_install() {
doexe "${FILESDIR}"/etcd-wrapper
sed "s|@ETCD_IMAGE_TAG@|${tag}|g" \
"${FILESDIR}"/etcd-member.service > ${T}/etcd-member.service
systemd_dounit ${T}/etcd-member.service
"${FILESDIR}"/etcd-member.service > "${T}"/etcd-member.service
systemd_dounit "${T}"/etcd-member.service
dotmpfiles "${FILESDIR}"/etcd-wrapper.conf
}

View File

@ -1,4 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">etcd-io/etcd</remote-id>
</upstream>
</pkgmetadata>