commit:     ade61b79b6fcbe9576173c56c09821eab016af96
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 12 01:21:10 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 12 01:21:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ade61b79

net-misc/clusterssh: sync live ebuild

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/clusterssh/clusterssh-4.16.ebuild | 23 +++++++++-----
 net-misc/clusterssh/clusterssh-9999.ebuild | 48 ++++++++++++++++++------------
 2 files changed, 44 insertions(+), 27 deletions(-)

diff --git a/net-misc/clusterssh/clusterssh-4.16.ebuild 
b/net-misc/clusterssh/clusterssh-4.16.ebuild
index df1418c856a..7d85bec6196 100644
--- a/net-misc/clusterssh/clusterssh-4.16.ebuild
+++ b/net-misc/clusterssh/clusterssh-4.16.ebuild
@@ -3,19 +3,26 @@
 
 EAPI=8
 
-DIST_AUTHOR="DUNCS"
-DIST_NAME="App-ClusterSSH"
-#DIST_VERSION="$(ver_cut 1-2)"
-
-#die "|$(ver_cut 1-2)_$(ver_cut 3)|"
-inherit perl-module
-
 DESCRIPTION="Concurrent Multi-Server Terminal Access"
 HOMEPAGE="https://github.com/duncs/clusterssh";
+if [[ ${PV} == *9999* ]] ; then
+       EGIT_REPO_URI="https://github.com/duncs/clusterssh";
+       inherit git-r3
+else
+       DIST_AUTHOR="DUNCS"
+       DIST_NAME="App-ClusterSSH"
+       # Use dev-perl/Gentoo-PerlMod-Version to update this on bumps!
+       # DIST_VERSION=$(gentoo-perlmod-version.pl ${UPSTREAM_VERSION})
+       #DIST_VERSION="$(ver_cut 1-2)"
+       #die "|$(ver_cut 1-2)_$(ver_cut 3)|"
+
+       KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+inherit perl-module
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 

diff --git a/net-misc/clusterssh/clusterssh-9999.ebuild 
b/net-misc/clusterssh/clusterssh-9999.ebuild
index 19eec2cb92c..7d85bec6196 100644
--- a/net-misc/clusterssh/clusterssh-9999.ebuild
+++ b/net-misc/clusterssh/clusterssh-9999.ebuild
@@ -1,45 +1,55 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
-inherit git-r3 perl-module
-
-EGIT_REPO_URI="git://git.code.sf.net/p/clusterssh/code"
+EAPI=8
 
 DESCRIPTION="Concurrent Multi-Server Terminal Access"
 HOMEPAGE="https://github.com/duncs/clusterssh";
+if [[ ${PV} == *9999* ]] ; then
+       EGIT_REPO_URI="https://github.com/duncs/clusterssh";
+       inherit git-r3
+else
+       DIST_AUTHOR="DUNCS"
+       DIST_NAME="App-ClusterSSH"
+       # Use dev-perl/Gentoo-PerlMod-Version to update this on bumps!
+       # DIST_VERSION=$(gentoo-perlmod-version.pl ${UPSTREAM_VERSION})
+       #DIST_VERSION="$(ver_cut 1-2)"
+       #die "|$(ver_cut 1-2)_$(ver_cut 3)|"
+
+       KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+inherit perl-module
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS=""
 IUSE="test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
+       dev-perl/Config-Simple
        dev-perl/Exception-Class
        dev-perl/Readonly
+       dev-perl/Sort-Naturally
+       dev-perl/Test-DistManifest
        dev-perl/Test-Pod
        dev-perl/Test-Pod-Coverage
        dev-perl/Test-Trap
-       dev-perl/Test-DistManifest
-       dev-perl/Try-Tiny
        dev-perl/Tk
-       dev-perl/Config-Simple
+       dev-perl/Try-Tiny
        dev-perl/X11-Protocol
+       dev-perl/X11-Protocol-Other
        dev-perl/XML-Simple
        x11-apps/xlsfonts
-       x11-terms/xterm"
-DEPEND="
+       x11-terms/xterm
+       "
+BDEPEND="
        ${RDEPEND}
+       dev-perl/CPAN-Changes
+       dev-perl/File-Slurp
        dev-perl/File-Which
        dev-perl/Module-Build
-       dev-perl/Test-Pod
-       test? ( dev-perl/Test-Differences )"
+       dev-perl/Test-Differences
+       dev-perl/Test-Pod"
 
 SRC_TEST="do parallel"
-
-src_unpack() {
-       git-r3_src_unpack
-       perl-module_src_unpack
-}

Reply via email to