Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/drush/
Date: Tue, 27 Oct 2015 23:03:10
Message-Id: 1445986921.abb38536f664542e115936a188d11cc935be7532.mjo@gentoo
1 commit: abb38536f664542e115936a188d11cc935be7532
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 27 23:00:41 2015 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 27 23:02:01 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abb38536
7
8 app-admin/drush: version bump the 6.x series.
9
10 A version bump to v7.1.0 was requested in bug #564260. Unfortunately,
11 the 7.x and 8.x series require Composer, and we cannot package them.
12 This however alerted me to a new v6.6.0 release -- the subject
13 of this commit.
14
15 Gentoo-Bug: 564260
16
17 Package-Manager: portage-2.2.20.1
18
19 app-admin/drush/Manifest | 1 +
20 app-admin/drush/drush-6.6.0.ebuild | 64 ++++++++++++++++++++++++++++++++++++++
21 2 files changed, 65 insertions(+)
22
23 diff --git a/app-admin/drush/Manifest b/app-admin/drush/Manifest
24 index 5fd5402..523c8f7 100644
25 --- a/app-admin/drush/Manifest
26 +++ b/app-admin/drush/Manifest
27 @@ -1,2 +1,3 @@
28 DIST drush-5.8.tar.gz 409642 SHA256 15dd85f04c49b4a896b02dd6960d3140f3ae680bab3eea5d3aba27be0481e480 SHA512 85f7572aece8590d23164dc938e00b740718a5b9bf20ca866083f9e8ce2025ec07f57e06234bf50bfe2351f407f5bad21789103c1e04d18d2fd202fa735637e6 WHIRLPOOL 68f4a8ca09fc61c36de3d6cc6e3aeaab2021b677ba9d732a65f4d5a9940ebbee3cd63dc84f165e119770168547b1997aff6c23497dc50dbe548df348c296188c
29 DIST drush-6.5.0.tar.gz 509643 SHA256 0e6bfb8a4bd75846dbca25f6d3e3130a706546f6a62edadce2eb00099750e2a7 SHA512 4afd348c025b9303386131687205af4219a77e6c822518b079a3f0475cbd7ed03647797d613300c7a281e2354f0d855435222fe1afe13447153cdbd6a4393add WHIRLPOOL 1f2a1a725e1c0f89cac90a1338e1541e587c7834560fd23d1a44341696be320e65cf93508d4841f02ca9b30ac62f3fed7de772e00f4eaeea64f287cf19682fcc
30 +DIST drush-6.6.0.tar.gz 511330 SHA256 67f7a1f08238c8c3f61d4e93f8c7c83508f392086c9931865fd1022981e8f698 SHA512 d7d361628406dd0f0fc5b07e7a318abd04ca7ac63da9d3fa705b0a64b531394f6e45e944dbd1c2e7eaec6643a92792b9b8558aea6ebb5311ce7acd32aa438a21 WHIRLPOOL ff0f2b1f20cc7a5767513be78b6f7ce1d09fb8929089ac918c4982e57f7c5c4f174c5dfd75235dafde57e65b90717844d4d9dfa199871e5c65bc4deda19b6b8c
31
32 diff --git a/app-admin/drush/drush-6.6.0.ebuild b/app-admin/drush/drush-6.6.0.ebuild
33 new file mode 100644
34 index 0000000..71807c6
35 --- /dev/null
36 +++ b/app-admin/drush/drush-6.6.0.ebuild
37 @@ -0,0 +1,64 @@
38 +# Copyright 1999-2015 Gentoo Foundation
39 +# Distributed under the terms of the GNU General Public License v2
40 +# $Id$
41 +
42 +EAPI=5
43 +
44 +inherit bash-completion-r1 eutils
45 +
46 +DESCRIPTION="Command line shell and scripting interface for Drupal"
47 +HOMEPAGE="https://github.com/drush-ops/${PN}"
48 +SRC_URI="https://github.com/drush-ops/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
49 +
50 +LICENSE="GPL-2"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86"
53 +IUSE=""
54 +
55 +DEPEND=""
56 +RDEPEND="dev-lang/php[cli,ctype,json,simplexml]
57 + dev-php/PEAR-Console_Table"
58 +
59 +src_prepare() {
60 + # Fix the bash completion script, check the patch for Gentoo/upstream
61 + # bug numbers.
62 + epatch "${FILESDIR}/update-bash-completion-script-for-2.1.patch"
63 +
64 + # dodoc compresses all of the documentation, so we fix the filenames
65 + # in a few places.
66 +
67 + # First, the README location in bootstrap.inc.
68 + sed -i -e \
69 + "s!/share/doc/drush!/share/doc/${PF}!" \
70 + -e "s!README\.md!\0.bz2!g" \
71 + includes/bootstrap.inc || die
72 +
73 + # Next, the list of documentation in docs.drush.inc. Note that
74 + # html files don't get compressed.
75 + sed -i \
76 + -e "s!\.bashrc'!.bashrc.bz2'!" \
77 + -e "s!\.inc'!.inc.bz2'!" \
78 + -e "s!\.ini'!.ini.bz2'!" \
79 + -e "s!\.md'!.md.bz2'!" \
80 + -e "s!\.php'!.php.bz2'!" \
81 + -e "s!\.script'!.script.bz2'!" \
82 + -e "s!\.txt'!.txt.bz2'!" \
83 + commands/core/docs.drush.inc || die
84 +}
85 +
86 +src_install() {
87 + # Always install the examples; they're referenced within the source
88 + # code and too difficult to exorcise.
89 + dodoc -r README.md docs examples
90 +
91 + insinto /usr/share/drush
92 + doins -r classes commands includes lib misc
93 + doins drush_logo-black.png drush.info drush.php
94 +
95 + exeinto /usr/share/drush
96 + doexe drush
97 + dosym /usr/share/drush/drush /usr/bin/drush
98 +
99 + keepdir /etc/drush
100 + newbashcomp drush.complete.sh drush
101 +}