commit:     ce65e64fd225a723848167c2d65749266d4ffa56
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 19 17:34:14 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 17:34:41 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce65e64f

app-containers/umoci: cleanup 0.4.7

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-containers/umoci/umoci-0.4.7.ebuild | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/app-containers/umoci/umoci-0.4.7.ebuild 
b/app-containers/umoci/umoci-0.4.7.ebuild
index baf238d6d958..691522485c5b 100644
--- a/app-containers/umoci/umoci-0.4.7.ebuild
+++ b/app-containers/umoci/umoci-0.4.7.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-COMMIT=5efa06acfb3bb4e65d2711cf5255970948e047cf
-inherit go-module
+
+inherit edo go-module
+
+COMMIT=17f38511d61846e2fb8ec01a1532f3ef5525e71d
 
 DESCRIPTION="Manipulation tool for OCI images"
 HOMEPAGE="https://github.com/opencontainers/umoci";
@@ -12,24 +14,24 @@ 
SRC_URI="https://github.com/opencontainers/umoci/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
+RESTRICT="test"
 
 BDEPEND="dev-go/go-md2man"
 
-RESTRICT+=" test "
-
 src_compile() {
-       go build -buildmode=pie -mod=vendor \
+       ego build -buildmode=pie -mod=vendor \
                -ldflags "-w -X main.gitCommit=${COMMIT} -X main.version=${PV}" 
\
-               -o "bin/${PN}" ./cmd/${PN} || die
-       cd doc/man
+               -o "bin/${PN}" ./cmd/${PN}
+
+       cd doc/man || die
        for f in *.1.md; do
-               go-md2man -in ${f} -out ${f%%.md} || die
+               edo go-md2man -in ${f} -out ${f%%.md}
        done
 }
 
 src_install() {
        dobin bin/${PN}
        doman doc/man/*.1
-       dodoc CHANGELOG.md
+       local DOCS=( CHANGELOG.md README.md )
        einstalldocs
 }

Reply via email to