From f5612b6b19a6a3359c32fdfb8a668b1b48c43ea7 Mon Sep 17 00:00:00 2001 From: Micha Glave Date: Thu, 31 May 2012 11:41:38 +0200 Subject: [PATCH] app-admin/drush-5.3 version bump --- app-admin/drush/Manifest | 3 ++ app-admin/drush/drush-5.3.ebuild | 58 ++++++++++++++++++++++++++++++++ app-admin/drush/metadata.xml | 17 ++++++++++ 3 files changed, 78 insertions(+) create mode 100644 app-admin/drush/Manifest create mode 100644 app-admin/drush/drush-5.3.ebuild create mode 100644 app-admin/drush/metadata.xml diff --git a/app-admin/drush/Manifest b/app-admin/drush/Manifest new file mode 100644 index 0000000..963e9a5 --- /dev/null +++ b/app-admin/drush/Manifest @@ -0,0 +1,3 @@ +DIST drush-5.3.tar.gz 400823 RMD160 858392876dc883fc1c64702d894e9760104a74d4 SHA1 b1ee4ead3b414fe798117338f6045a82e641711d SHA256 e9a2c01a1fdde6d4978fbce5d84468681093990c14c32b98887ae025078edaf6 +EBUILD drush-5.3.ebuild 1517 RMD160 f777c8a6f4846f81988060d1d4539c11c1cb03ab SHA1 45b1ac13ae49fbfbf3c384ab4ee0f2995630cc4d SHA256 733865723d4792676e7ee491f9c3d864945741e4602825955e14151131217954 +MISC metadata.xml 615 RMD160 0c5658da651d73557d52177462244f48a1daaf2b SHA1 aa3d99df9db78bc50abb034b95e63abb0136c758 SHA256 2825b70437ca9835993991ae46bda0e478e0f1e1a45447c972d4ec609af2b657 diff --git a/app-admin/drush/drush-5.3.ebuild b/app-admin/drush/drush-5.3.ebuild new file mode 100644 index 0000000..fb551bb --- /dev/null +++ b/app-admin/drush/drush-5.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/drush/drush-5.1.ebuild,v 1.1 2012/05/13 08:01:51 ramereth Exp $ + +EAPI="4" + +inherit bash-completion-r1 + +DESCRIPTION="Drush is a command line shell and scripting interface for Drupal" +HOMEPAGE="http://drupal.org/project/drush" +SRC_URI="http://ftp.drupal.org/files/projects/${PN}-7.x-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+examples" + +DEPEND="dev-lang/php[cli,simplexml] + dev-php/pear + dev-php/PEAR-Console_Table + dev-php/PEAR-Console_Getopt" +RDEPEND="${DEPEND}" +S="${WORKDIR}/${PN}" + +src_prepare() { + sed -i -e \ + "s!/share/doc/drush!/share/doc/${PF}!" \ + -e "s!README\.txt!\0.bz2!g" \ + includes/bootstrap.inc || die + sed -i \ + -e "s!\.php'!.php.bz2'!" \ + -e "s!\.ini'!.ini.bz2'!" \ + -e "s!\.txt'!.txt.bz2'!" \ + -e "s!\.bashrc'!.bashrc.bz2'!" \ + commands/core/docs.drush.inc || die + sed \ + -e "1,2d" \ + -e "5,11d" \ + drush.complete.sh > drush.bashcomp +} + +src_install() { + local docs="README.txt docs" + use examples && docs="${docs} examples" + insinto /usr/share/drush + doins -r . + exeinto /usr/share/drush + doexe drush + dosym /usr/share/drush/drush /usr/bin/drush + dodoc -r ${docs} + # cleanup + for i in ${docs} LICENSE.txt drush.bat examples includes/.gitignore \ + .gitignore .travis.yml drush.complete.sh ; do + rm -rf "${D}/usr/share/drush/${i}" + done + keepdir /etc/drush + newbashcomp drush.bashcomp drush +} diff --git a/app-admin/drush/metadata.xml b/app-admin/drush/metadata.xml new file mode 100644 index 0000000..3da83b3 --- /dev/null +++ b/app-admin/drush/metadata.xml @@ -0,0 +1,17 @@ + + + + + ramereth@gentoo.org + Lance Albertson + + + Drush is a command line shell and scripting interface for Drupal, a + veritable Swiss Army knife designed to make life easier for those of us who + spend some of our working hours hacking away at the command prompt. + + See http://drush.ws, the homepage for the drush project. It contains many + important resources for drush users. + + +