From 1b1e45e9090ac7b4fac974e56c884cf98718a7fb Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Thu, 15 Aug 2013 01:50:56 +0200 Subject: www-client/arcanist: Command-line tool for Phabricator Package-Manager: portage-2.2.0 --- www-client/arcanist/ChangeLog | 5 +++ www-client/arcanist/Manifest | 3 ++ www-client/arcanist/arcanist-9999.ebuild | 59 ++++++++++++++++++++++++++++++++ www-client/arcanist/metadata.xml | 13 +++++++ 4 files changed, 80 insertions(+) create mode 100644 www-client/arcanist/ChangeLog create mode 100644 www-client/arcanist/Manifest create mode 100644 www-client/arcanist/arcanist-9999.ebuild create mode 100644 www-client/arcanist/metadata.xml (limited to 'www-client') diff --git a/www-client/arcanist/ChangeLog b/www-client/arcanist/ChangeLog new file mode 100644 index 00000000..0b328db7 --- /dev/null +++ b/www-client/arcanist/ChangeLog @@ -0,0 +1,5 @@ +*arcanist-9999 (14 Aug 2013) + + 14 Aug 2013; Bertrand Jacquin +arcanist-9999.ebuild, + +metadata.xml: + www-client/arcanist: Command-line tool for Phabricator diff --git a/www-client/arcanist/Manifest b/www-client/arcanist/Manifest new file mode 100644 index 00000000..06e50c9e --- /dev/null +++ b/www-client/arcanist/Manifest @@ -0,0 +1,3 @@ +EBUILD arcanist-9999.ebuild 1367 SHA256 6bd909dc5882a61e2a2c8b3e7703040db7e60dddbaab4845493ab1fddcf56268 WHIRLPOOL b90238bdd3b27ee1614ce51eb3ca741f05c34e1999a5606a8dbbc9250c00eee05e3fd8c3714809d7f446397174f96c9bb728c4ce80dc7f99a220e687d2afea7a +MISC ChangeLog 180 SHA256 cd93d0ff0eb69a905e7486f6fd26d5b0784701c6aec47ddec077a3f3da4c40fe WHIRLPOOL 635941aed067cfa1d96064d95ea23235583fa739932fded99db863d2433a38e14c023f41a0f95f71cf972cf232a0b557eaf733b255d25f697ad9fac1d89a9ab4 +MISC metadata.xml 376 SHA256 214868e07f83e61d21087c9867be82c69039947d2f6e29d5d0facf23e7690a4d WHIRLPOOL 34de8852dfdb73e442aba0c8b52cb6bc7877ca7d9b922245d25861935d69882cebeb9a3220dadd2b0f8548f6b16d10bb2c95017eda5d5f7b96cc6af7eadb484d diff --git a/www-client/arcanist/arcanist-9999.ebuild b/www-client/arcanist/arcanist-9999.ebuild new file mode 100644 index 00000000..4da75b66 --- /dev/null +++ b/www-client/arcanist/arcanist-9999.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +inherit bash-completion-r1 git-2 + +DESCRIPTION="Command-line tool for Phabricator" +HOMEPAGE="http://www.phabricator.org" +EGIT_REPO_URI="git://github.com/facebook/arcanist.git" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test git subversion mercurial" + +RDEPEND=">=dev-lang/php-5.2[cli,curl] + =dev-php/libphutil-${PV} + git? ( dev-vcs/git ) + subversion? ( dev-vcs/subversion ) + mercurial? ( dev-vcs/mercurial )" + +src_install() { + newbashcomp resources/shell/bash-completion "${PN}" + + rm -r scripts/hgdaemon src/hgdaemon + rm -r resources/shell + + rm bin/*.bat + rm scripts/*.txt + rm src/extensions/README + rm externals/{,includes}/README + + if ! use test ; then + find "${S}" -type d -name __tests__ \ + | xargs --no-run-if-empty -- \ + rm -r + fi + + insinto "/usr/share/php/${PN}" + doins -r bin externals scripts src + + # Make executable all shebanged files + find "${ED}" -type f \ + | xargs -n 1 --no-run-if-empty -- \ + awk 'NR == 1 && /^#!/ {print FILENAME}' \ + | sed -e "s:${ED}:/:" \ + | xargs --no-run-if-empty -- \ + fperms 755 + + # Fix python shebang + find "${ED}" -type f -name '*.py' \ + | xargs --no-run-if-empty -- \ + sed -i \ + -e '/^#!/ s/python$/python2/' + + dosym "/usr/share/php/${PN}/bin/arc" /usr/bin/arc + + dodoc NOTICE README +} diff --git a/www-client/arcanist/metadata.xml b/www-client/arcanist/metadata.xml new file mode 100644 index 00000000..b0988fa1 --- /dev/null +++ b/www-client/arcanist/metadata.xml @@ -0,0 +1,13 @@ + + + + + beber@meleeweb.net + Bertrand Jacquin + + + + Support for dev-vcs/mercurial + + + -- cgit v1.2.3