commit:     0fd1ca6a523342c779a7aae8a67782762a87f623
Author:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
AuthorDate: Fri Nov 17 10:35:13 2023 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Nov 29 06:16:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fd1ca6a

app-containers/containers-storage: add 1.51.0 & update live

1. Fix dep category of go-md2man
2. remove redundant functions
3. Add EPREFIX while installing

Signed-off-by: Rahil Bhimjiani <rahil3108 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33865
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-containers/containers-storage/Manifest                 |  1 +
 ...torage-9999.ebuild => containers-storage-1.51.0.ebuild} | 14 +++-----------
 .../containers-storage/containers-storage-9999.ebuild      | 14 +++-----------
 3 files changed, 7 insertions(+), 22 deletions(-)

diff --git a/app-containers/containers-storage/Manifest 
b/app-containers/containers-storage/Manifest
index 59d2291922ae..5e7953f39084 100644
--- a/app-containers/containers-storage/Manifest
+++ b/app-containers/containers-storage/Manifest
@@ -1 +1,2 @@
 DIST containers-storage-1.50.2.tar.gz 4278269 BLAKE2B 
3a2b08c710c043cfc130b9ffe39807e5ced8aa3cdb9805e9d9a4d0f60d8136f99e78ca03992c566b7c7d9aa1c25a2ab9da5e9edc4f1f841663302f5873dce419
 SHA512 
eb2ca9d243511abd5d6d1727c60166422dbfef4a3ddbb5062e58d915d0705afcd10ded8f1f79e897f9f5244fb6b6d349fbf3ed86ae57f41e31a1965c4e926941
+DIST containers-storage-1.51.0.tar.gz 4283732 BLAKE2B 
108401d68e617e6237e68cf2147113680e0452a8d15ee099da9872508800f3e7b8f2c5508e17d9c5f3d58fec4efc1c20f23f1a567fe592533c0e63efd05ae5c8
 SHA512 
89916b49438bce8bb774b4aa799676d4b3a946a0b5207a1b5241b1a3ac0875b06b3cd8e81d7e23332ceae6010b693516fc31d8c7f75a37e7ad3056a83c75b6c1

diff --git a/app-containers/containers-storage/containers-storage-9999.ebuild 
b/app-containers/containers-storage/containers-storage-1.51.0.ebuild
similarity index 81%
copy from app-containers/containers-storage/containers-storage-9999.ebuild
copy to app-containers/containers-storage/containers-storage-1.51.0.ebuild
index 523b3a92b7ba..4af5e711a1f0 100644
--- a/app-containers/containers-storage/containers-storage-9999.ebuild
+++ b/app-containers/containers-storage/containers-storage-1.51.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DESCRIPTION="Default config and docs related to Containers' storage"
 HOMEPAGE="https://github.com/containers/storage";
 
-if [[ ${PV} == *9999* ]]; then
+if [[ ${PV} == 9999* ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/containers/storage.git";
 else
@@ -18,27 +18,19 @@ fi
 LICENSE="Apache-2.0"
 SLOT="0"
 
-DEPEND=">=dev-go/go-md2man-2.0.2"
+BDEPEND=">=dev-go/go-md2man-2.0.2"
 
 src_prepare() {
        default
        eapply "${FILESDIR}"/system-md2man-path.patch
 }
 
-src_configure() {
-       return
-}
-
 src_compile() {
        emake -C docs containers-storage.conf.5
 }
 
-src_test() {
-       return
-}
-
 src_install() {
-       emake DESTDIR="${D}" -C docs install
+       emake DESTDIR="${ED}" -C docs install
 
        insinto /etc/containers
        doins storage.conf

diff --git a/app-containers/containers-storage/containers-storage-9999.ebuild 
b/app-containers/containers-storage/containers-storage-9999.ebuild
index 523b3a92b7ba..4af5e711a1f0 100644
--- a/app-containers/containers-storage/containers-storage-9999.ebuild
+++ b/app-containers/containers-storage/containers-storage-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DESCRIPTION="Default config and docs related to Containers' storage"
 HOMEPAGE="https://github.com/containers/storage";
 
-if [[ ${PV} == *9999* ]]; then
+if [[ ${PV} == 9999* ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/containers/storage.git";
 else
@@ -18,27 +18,19 @@ fi
 LICENSE="Apache-2.0"
 SLOT="0"
 
-DEPEND=">=dev-go/go-md2man-2.0.2"
+BDEPEND=">=dev-go/go-md2man-2.0.2"
 
 src_prepare() {
        default
        eapply "${FILESDIR}"/system-md2man-path.patch
 }
 
-src_configure() {
-       return
-}
-
 src_compile() {
        emake -C docs containers-storage.conf.5
 }
 
-src_test() {
-       return
-}
-
 src_install() {
-       emake DESTDIR="${D}" -C docs install
+       emake DESTDIR="${ED}" -C docs install
 
        insinto /etc/containers
        doins storage.conf

Reply via email to