diff --git a/app-admin/drush/Manifest b/app-admin/drush/Manifest index 2249f50..f79dada 100644 --- a/app-admin/drush/Manifest +++ b/app-admin/drush/Manifest @@ -1,3 +1,3 @@ -DIST drush-ops-drush-8.0.0.tar.gz 587478 SHA256 ae80b342142c1dffaa78c57f6faa854d65b3ab7d02816156969cbead4998af37 SHA512 423ff9bf11cd99afcb37eb7a7e84e9b6d347e2541d73a50f0a169046b296912cc75dcad5c833363a1957d74fd5a7fa014865daa6ff92eae32f465ec549c7732e WHIRLPOOL f57415d9e2125038f648fee1e98a0cb1528c86653bdae699dda31c9d714e81ce985a6ca357916b08a8745508d765812e83d43ccf0aa20b5bcaf5266aa43d218e -EBUILD drush-8.0.0.ebuild 1312 SHA256 f07f94ad0d4fbf0f39a665d06b95fcf2589e50bdfc6e547e76f2ed9ae677fbf2 SHA512 6e1c0ff1cad8fa8c9dcc5b773b73d3e877c9e05baaafa550e29750165f08e72be9fe64efcaa5f0b233f058ca18510c4542014f086c5321561ab6d55118d07df6 WHIRLPOOL 950f4de426371a8efe8b27cfca22e569dfca6bc2fdc3250101a62d58b109e6295c98831a6293626bcd843cd9c777beeed3e82507059fc484958a1522797bced7 +DIST drush-8.1.2.phar 5346120 SHA256 5a81d4cefe59f083f7aa6dbcd511c0446557d022a7cc08400ba18245a9e04076 SHA512 80e346ec9fb6b13a5a7c1893a89e59f5d8456c89d54fecac64ff161fba390b719b1d3b01aef5f1c62326ba84fa72604cedc79b2339c6cc4336b6723600d49b39 WHIRLPOOL f535b8db0f16dcadfc62521d33446afc516ff12d022b6464ef157349232f7619fb997c88fe90b7baff10bccdf1f04f7b2a51752a42fbd4f4f971a36901788a2f +EBUILD drush-8.1.2.ebuild 696 SHA256 e9593c2406097244eff6875b7d285c148cf07faea44e7a71fa0e8f1a3e0e19be SHA512 15e60d9d2fc9c0149d51012e9a04c47a9a321c90855a57aa63d9ce1ba77b96fe9a987eedc6ca207580721a4f19edb5de146a3fdb831c49ac45447fbe7739931e WHIRLPOOL acd9eba46c2ebfc403c0c28e0be4102877882530b5a0af2112d4f17d32b3e4a0f5ea1daf14522b06edce9c824aac3fd38f7176d3efc1fe54b1dd5cd6dcb03273 MISC metadata.xml 615 SHA256 2825b70437ca9835993991ae46bda0e478e0f1e1a45447c972d4ec609af2b657 SHA512 eb1fb01f21c2dfd6ad7e993cdd11323c7b7b0168573018f46dcb9bdde1d45587b57284fce29836d884e1c322e97742e551da356ec37374449ed34c8cfc8f68cc WHIRLPOOL 77579cb2131198edca50004ac1350cb5a400bc502ace0dbbad99ba77d69427b8a5de2005c10477fa28c2c02f40b39e3b887be9ae1e8fa69492cec14673b3808f diff --git a/app-admin/drush/drush-8.0.0.ebuild b/app-admin/drush/drush-8.0.0.ebuild deleted file mode 100644 index b22966e..0000000 --- a/app-admin/drush/drush-8.0.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit bash-completion-r1 - -GITHUB_USER="drush-ops" -DESCRIPTION="Drush is a command line shell and scripting interface for Drupal" -HOMEPAGE="https://github.com/drush-ops/drush" -GITHUB_TAG="${PV}" -SRC_URI="https://github.com/${GITHUB_USER}/${PN}/tarball/${GITHUB_TAG} -> ${GITHUB_USER}-${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}/${GITHUB_USER}-${PN}-1b4e886" - -src_prepare() { - 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 -} - -src_install() { - local docs="README.md 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.complete.sh drush -} diff --git a/app-admin/drush/drush-8.1.2.ebuild b/app-admin/drush/drush-8.1.2.ebuild new file mode 100644 index 0000000..4cb912d --- /dev/null +++ b/app-admin/drush/drush-8.1.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit versionator + +DESCRIPTION="Drush is a command line shell and scripting interface for Drupal" +HOMEPAGE="https://github.com/drush-ops/drush" + +MY_PV=$(replace_version_separator _ -) + +SRC_URI="https://github.com/drush-ops/drush/releases/download/${MY_PV}/drush.phar -> ${PN}-${MY_PV}.phar" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=dev-lang/php-5.5.0" +RDEPEND="dev-lang/php[zip]" + +src_unpack() { + cp "${DISTDIR}/${A}" "${WORKDIR}" + S=${WORKDIR} +} + +src_install() { + newbin ${A} drush-${MY_PV} + dosym drush-${MY_PV} /usr/bin/drush +} +