diff options
author | 2015-12-31 18:47:39 -0500 | |
---|---|---|
committer | 2015-12-31 18:48:43 -0500 | |
commit | d2e1784ce6a673b87c415179bcffbad7033c4ad0 (patch) | |
tree | bab3ef9fa4d7e8bf46a0a41f6277ac29d75d179f /app-admin/drush/drush-6.7.0.ebuild | |
parent | app-editors/pluma: drop old version 1.8.0 (diff) | |
download | gentoo-d2e1784ce6a673b87c415179bcffbad7033c4ad0.tar.gz gentoo-d2e1784ce6a673b87c415179bcffbad7033c4ad0.tar.bz2 gentoo-d2e1784ce6a673b87c415179bcffbad7033c4ad0.zip |
app-admin/drush: version bump 6.6.0 -> 6.7.0.
Package-Manager: portage-2.2.24
Diffstat (limited to 'app-admin/drush/drush-6.7.0.ebuild')
-rw-r--r-- | app-admin/drush/drush-6.7.0.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/app-admin/drush/drush-6.7.0.ebuild b/app-admin/drush/drush-6.7.0.ebuild new file mode 100644 index 000000000000..4737c38f8b1a --- /dev/null +++ b/app-admin/drush/drush-6.7.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit bash-completion-r1 eutils + +DESCRIPTION="Command line shell and scripting interface for Drupal" +HOMEPAGE="https://github.com/drush-ops/drush" +SRC_URI="https://github.com/drush-ops/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/php[cli,ctype,json,simplexml] + dev-php/PEAR-Console_Table" + +src_prepare() { + # Fix the bash completion script, check the patch for Gentoo/upstream + # bug numbers. + epatch "${FILESDIR}/update-bash-completion-script-for-2.1.patch" + + # dodoc compresses all of the documentation, so we fix the filenames + # in a few places. + + # First, the README location in bootstrap.inc. + sed -i -e \ + "s!/share/doc/drush!/share/doc/${PF}!" \ + -e "s!README\.md!\0.bz2!g" \ + includes/bootstrap.inc || die + + # Next, the list of documentation in docs.drush.inc. Note that + # html files don't get compressed. + sed -i \ + -e "s!\.bashrc'!.bashrc.bz2'!" \ + -e "s!\.inc'!.inc.bz2'!" \ + -e "s!\.ini'!.ini.bz2'!" \ + -e "s!\.md'!.md.bz2'!" \ + -e "s!\.php'!.php.bz2'!" \ + -e "s!\.script'!.script.bz2'!" \ + -e "s!\.txt'!.txt.bz2'!" \ + commands/core/docs.drush.inc || die +} + +src_install() { + # Always install the examples; they're referenced within the source + # code and too difficult to exorcise. + dodoc -r README.md docs examples + + insinto /usr/share/drush + doins -r classes commands includes lib misc + doins drush_logo-black.png drush.info drush.php + + exeinto /usr/share/drush + doexe drush + dosym /usr/share/drush/drush /usr/bin/drush + + keepdir /etc/drush + newbashcomp drush.complete.sh drush +} |