From 341da20333da713d21e01a5d22aeedac551261c3 Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Fri, 4 Oct 2019 20:44:13 +0200 Subject: dev-vcs/git-deploy: Move from perl-app to perl-functions.eclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.70, Repoman-2.3.17 Signed-off-by: Andreas K. Hüttel --- .../git-deploy-6.0.1_p20131024-r1.ebuild | 68 ++++++++++++++++++++++ .../git-deploy/git-deploy-6.0.1_p20131024.ebuild | 67 --------------------- 2 files changed, 68 insertions(+), 67 deletions(-) create mode 100644 dev-vcs/git-deploy/git-deploy-6.0.1_p20131024-r1.ebuild delete mode 100644 dev-vcs/git-deploy/git-deploy-6.0.1_p20131024.ebuild (limited to 'dev-vcs') diff --git a/dev-vcs/git-deploy/git-deploy-6.0.1_p20131024-r1.ebuild b/dev-vcs/git-deploy/git-deploy-6.0.1_p20131024-r1.ebuild new file mode 100644 index 000000000000..3e27f1ef8e6d --- /dev/null +++ b/dev-vcs/git-deploy/git-deploy-6.0.1_p20131024-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit perl-functions + +COMMIT="e9ef93debd12d85e70676dd79b4bd78ac2b05271" + +DESCRIPTION="make deployments so easy that you'll let new hires do them on their +first day" +HOMEPAGE="https://github.com/git-deploy/git-deploy" +SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +COMMON_DEPEND="dev-vcs/git + virtual/perl-File-Spec + virtual/perl-Getopt-Long + virtual/perl-Term-ANSIColor + virtual/perl-Time-HiRes + virtual/perl-Memoize + virtual/perl-Data-Dumper" +DEPEND="dev-lang/perl + test? ( + ${COMMON_DEPEND} + virtual/perl-File-Temp + )" +RDEPEND="dev-lang/perl:= +${COMMON_DEPEND}" + +S="${WORKDIR}/${PN}-${COMMIT}" + +src_prepare() { + pod2man -n git-deploy README.pod > git-deploy.1 || die +} + +src_test() { + local testdir=${TMPDIR}/git-deploy-test + + # Prepare for tests + cp -a "${S}/" $testdir || die + cd $testdir || die + + git config --global user.name "git-deploy" || die + git config --global user.email "git-deploy@localhost" || die + + git init . || die + git add . || die + git commit -a -m 'git-deploy testing' || die + + USER="git-deploy" perl t/run.t || die +} + +src_install() { + perl_set_version + dobin git-deploy + + insinto $VENDOR_LIB + doins -r lib/Git + + doman git-deploy.1 + + newdoc Changes ChangeLog +} diff --git a/dev-vcs/git-deploy/git-deploy-6.0.1_p20131024.ebuild b/dev-vcs/git-deploy/git-deploy-6.0.1_p20131024.ebuild deleted file mode 100644 index da2005af964f..000000000000 --- a/dev-vcs/git-deploy/git-deploy-6.0.1_p20131024.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit perl-app - -COMMIT="e9ef93debd12d85e70676dd79b4bd78ac2b05271" - -DESCRIPTION="make deployments so easy that you'll let new hires do them on their -first day" -HOMEPAGE="https://github.com/git-deploy/git-deploy" -SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -COMMON_DEPEND="dev-vcs/git - virtual/perl-File-Spec - virtual/perl-Getopt-Long - virtual/perl-Term-ANSIColor - virtual/perl-Time-HiRes - virtual/perl-Memoize - virtual/perl-Data-Dumper" -DEPEND="dev-lang/perl - test? ( - ${COMMON_DEPEND} - virtual/perl-File-Temp - )" -RDEPEND="dev-lang/perl -${COMMON_DEPEND}" - -S="${WORKDIR}/${PN}-${COMMIT}" - -src_prepare() { - pod2man -n git-deploy README.pod > git-deploy.1 || die -} - -src_test() { - local testdir=${TMPDIR}/git-deploy-test - - # Prepare for tests - cp -a "${S}/" $testdir || die - cd $testdir || die - - git config --global user.name "git-deploy" || die - git config --global user.email "git-deploy@localhost" || die - - git init . || die - git add . || die - git commit -a -m 'git-deploy testing' || die - - USER="git-deploy" perl t/run.t || die -} - -src_install() { - dobin git-deploy - - insinto $VENDOR_LIB - doins -r lib/Git - - doman git-deploy.1 - - newdoc Changes ChangeLog -} -- cgit v1.2.3-65-gdbad