summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metadata/md5-cache/dev-util/closure-linter-2.3.136
-rw-r--r--metadata/md5-cache/www-client/arcanist-999910
-rw-r--r--profiles/use.local.desc1
-rw-r--r--www-client/arcanist/ChangeLog7
-rw-r--r--www-client/arcanist/Manifest6
-rw-r--r--www-client/arcanist/arcanist-9999.ebuild69
-rw-r--r--www-client/arcanist/metadata.xml3
7 files changed, 65 insertions, 37 deletions
diff --git a/metadata/md5-cache/dev-util/closure-linter-2.3.13 b/metadata/md5-cache/dev-util/closure-linter-2.3.13
index f8a52543..aa181bf7 100644
--- a/metadata/md5-cache/dev-util/closure-linter-2.3.13
+++ b/metadata/md5-cache/dev-util/closure-linter-2.3.13
@@ -1,14 +1,14 @@
DEFINED_PHASES=compile configure install prepare test
-DEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
+DEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
DESCRIPTION=Style checker for JavaScript
EAPI=5
HOMEPAGE=https://code.google.com/p/closure-linter
IUSE=python_targets_python2_7
KEYWORDS=~amd64
LICENSE=Apache-2.0
-RDEPEND=dev-python/python-gflags:0[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
+RDEPEND=dev-python/python-gflags:0[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
REQUIRED_USE=|| ( python_targets_python2_7 )
SLOT=0
SRC_URI=https://closure-linter.googlecode.com/files/closure_linter-2.3.13.tar.gz
-_eclasses_=distutils-r1 f810ae4ac7e5c3db4ff72db46e3c40d1 eutils 998e5931fb95b10a6a11ec796ada2759 multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 236a8d81f730332749bd484d8b53ee91 python-utils-r1 7d5f4ad9ba85664d8c5f56041a70f4c3 toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
+_eclasses_=distutils-r1 c01d5c4af34f4a37a51fc9638299c222 eutils 9fb270e417e0e83d64ca52586c4a79de multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 6d3a3cb5705b9fff1aeb7cfa4e3336fe python-utils-r1 096f8247eae93026af13ab88cf4305cd toolchain-funcs b99aa37f734b5d426efd83b2f271cece
_md5_=d1ba1f927714027463f54458ed3b6abc
diff --git a/metadata/md5-cache/www-client/arcanist-9999 b/metadata/md5-cache/www-client/arcanist-9999
index 4d75a93a..2ab6eb39 100644
--- a/metadata/md5-cache/www-client/arcanist-9999
+++ b/metadata/md5-cache/www-client/arcanist-9999
@@ -1,12 +1,12 @@
DEFINED_PHASES=install postinst prepare setup test unpack
-DEPEND=virtual/awk:0 test? ( >=dev-lang/php-5.2.3[xmlwriter] =dev-php/libphutil-9999:0[test] dev-util/cpplint:0 ) >=dev-vcs/git-1.8.2.1
+DEPEND=virtual/awk:0 test? ( >=dev-lang/php-5.2.3[xmlwriter] =dev-php/libphutil-9999:0[test] ) >=dev-vcs/git-1.8.2.1
DESCRIPTION=Command-line tool for Phabricator
EAPI=5
HOMEPAGE=http://www.phabricator.org
-IUSE=css git javascript mercurial php python ruby subversion ssl test python_targets_python2_7
+IUSE=git lint mercurial subversion ssl test python_targets_python2_7
LICENSE=Apache-2.0
-RDEPEND=>=dev-lang/php-5.2.3[cli,curl,json,ssl?] =dev-php/libphutil-9999:0[ssl?] git? ( dev-vcs/git:0 ) mercurial? ( dev-vcs/mercurial:0 ) subversion? ( dev-vcs/subversion:0 ) css? ( net-libs/nodejs:0[npm] ) javascript? ( net-libs/nodejs:0[npm] ) php? ( dev-php/PEAR-PHP_CodeSniffer:0 ) python? ( dev-python/pylint:0[python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),python_single_target_python2_7(+)] dev-python/flake8:0[python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),python_single_target_python2_7(+)] ) ruby? ( dev-lang/ruby )
-REQUIRED_USE=test? ( css git javascript php python ruby )
+RDEPEND=>=dev-lang/php-5.2.3[cli,curl,json,ssl?] =dev-php/libphutil-9999:0[ssl?] git? ( dev-vcs/git:0 ) mercurial? ( dev-vcs/mercurial:0 ) subversion? ( dev-vcs/subversion:0 ) lint? ( app-admin/puppet-lint:0 dev-haskell/hlint:0 dev-php/PEAR-PHP_CodeSniffer:0 dev-python/pylint:0[python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),python_single_target_python2_7(+)] dev-python/flake8:0[python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),python_single_target_python2_7(+)] dev-util/cppcheck:0 dev-util/cpplint:0 net-libs/nodejs:0[npm] )
+REQUIRED_USE=test? ( lint )
SLOT=0
_eclasses_=bash-completion-r1 c8399c7c7ecbcf7ed6e5bd3abb3d4af3 eutils 9fb270e417e0e83d64ca52586c4a79de git-r3 3a2bd0ae504c33a50061885480f3def3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-single-r1 7a178335dbd6ea7f50ed4e3e1c13c1e4 python-utils-r1 096f8247eae93026af13ab88cf4305cd toolchain-funcs b99aa37f734b5d426efd83b2f271cece
-_md5_=3a3fb74d947883a893149be772543bc7
+_md5_=22bb72c7b314531d1c304fee90d35040
diff --git a/profiles/use.local.desc b/profiles/use.local.desc
index 7f7adeb1..e9e6b74e 100644
--- a/profiles/use.local.desc
+++ b/profiles/use.local.desc
@@ -87,6 +87,7 @@ www-apps/phabricator:mercurial - Support for dev-vcs/mercurial
www-apps/trac:highlight - Enable source code highlighting
www-apps/trac:i18n - Enable support for i18n with dev-python/Babel
www-apps/trac:markdown - Markdown support
+www-client/arcanist:lint - Support for linter
www-client/arcanist:mercurial - Support for dev-vcs/mercurial
x11-misc/entrance:consolekit - Enables support for authorization via sys-auth/consolekit
x11-misc/entrance:grub2 - Enable support for sys-boot/grub:2
diff --git a/www-client/arcanist/ChangeLog b/www-client/arcanist/ChangeLog
index c67ba420..7642ee69 100644
--- a/www-client/arcanist/ChangeLog
+++ b/www-client/arcanist/ChangeLog
@@ -1,3 +1,10 @@
+ 28 Mar 2015; Bertrand Jacquin <bertrand@jacquin.bzh> arcanist-9999.ebuild:
+ www-client/arcanist: More work
+
+ 05 Feb 2015; Bertrand Jacquin <bertrand@jacquin.bzh> arcanist-9999.ebuild,
+ metadata.xml:
+ www-client/arcanist: Sync with upstream
+
25 Jan 2015; Bertrand Jacquin <bertrand@jacquin.bzh> metadata.xml:
Update email address
diff --git a/www-client/arcanist/Manifest b/www-client/arcanist/Manifest
index af8eb327..dccfbfa6 100644
--- a/www-client/arcanist/Manifest
+++ b/www-client/arcanist/Manifest
@@ -1,3 +1,3 @@
-EBUILD arcanist-9999.ebuild 3047 SHA256 9ad5f3fd44d899325a87766a13aff0678920d41ebaa2f7403edc9ec293e2ac43 WHIRLPOOL ede574524137ff19a980885bcf10972821d3e14102e41315d0aeb6bfcbf81bb60aa5344975bdc43e274098b0f5994aacbfa54fd6425924c0429b0b12cd69ef09
-MISC ChangeLog 2138 SHA256 7c793fa2c5929fd99f932c7a93aa1e6f52f29e7bac90a746278552d97d02dd2f WHIRLPOOL 47d9a2e37ef2986fbc13770853c2cb977c0e97516340074a5bf03ea85fb306fbc2904f8656df21f9a4057d2cfb1637983e947c14732c87a1cd13f59f4cf7a229
-MISC metadata.xml 378 SHA256 7651e45ad6ee2a96b3219989b458be47d3034423a07ef764480ba57dadd4b920 WHIRLPOOL 0a747be8287db68404d6b7107b5bd4fa9a2dad2862a30e90cebb1c299f59105eca2a7848ab4e92ab4d4ffdf7e4ec40ac6d2e1133678efc0f8ed7f0f78736f8a1
+EBUILD arcanist-9999.ebuild 3710 SHA256 39d7e461d70d31fc511fcebda07724fd4d69ddbbd98a59f482249dd796e05204 WHIRLPOOL 950f96bf1d3421c7f8daa562371fc63b54dfe005b9612f86b4c0bdf67585a9cd4fc58cbd246f520f526e4a4d99464424ecb75fdb3c250bf9df690f14a46c0c09
+MISC ChangeLog 2385 SHA256 6d2c05c037d2f27316e553084a4a65c088a66e031c42a64f81bf5aae1c22c9e4 WHIRLPOOL c889120e32fcac29ec6b7bd59c4eeff8be541edcaf154b518043f9ddfdb5e87a482c5bbcb95bbc07eed5eb3ef530b87127291b8c106e074308b4863434cf578c
+MISC metadata.xml 452 SHA256 2e925bb81450c955ffb47c6af0cfccff61d103c2622101ee5fc225eac0407d59 WHIRLPOOL 757211efd5b90e2c231b585b3b06e5399fa5407bddcf80cd457796a09239c88a48313a5d75ea98ad538ed3aa73bfa080676570f42ea92817c2a4183526006045
diff --git a/www-client/arcanist/arcanist-9999.ebuild b/www-client/arcanist/arcanist-9999.ebuild
index 23273fcb..aae25d20 100644
--- a/www-client/arcanist/arcanist-9999.ebuild
+++ b/www-client/arcanist/arcanist-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -16,32 +16,59 @@ EGIT_REPO_URI="git://github.com/facebook/arcanist.git"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
-IUSE="css git javascript mercurial php python ruby subversion ssl test"
-REQUIRED_USE="test? ( css git javascript php python ruby )"
+IUSE="git lint mercurial subversion ssl test"
+REQUIRED_USE="test? ( lint )"
DEPEND="virtual/awk:0
test? (
>=dev-lang/php-5.2.3[xmlwriter]
=dev-php/libphutil-${PV}:0[test]
- dev-util/cpplint:0
)"
RDEPEND=">=dev-lang/php-5.2.3[cli,curl,json,ssl?]
=dev-php/libphutil-${PV}:0[ssl?]
git? ( dev-vcs/git:0 )
mercurial? ( dev-vcs/mercurial:0 )
subversion? ( dev-vcs/subversion:0 )
- css? ( net-libs/nodejs:0[npm] )
- javascript? ( net-libs/nodejs:0[npm] )
- php? ( dev-php/PEAR-PHP_CodeSniffer:0 )
- python? (
+ lint? (
+ app-admin/puppet-lint:0
+ dev-haskell/hlint:0
+ dev-php/PEAR-PHP_CodeSniffer:0
dev-python/pylint:0[${PYTHON_USEDEP}]
dev-python/flake8:0[${PYTHON_USEDEP}]
- )
- ruby? ( dev-lang/ruby )"
+ dev-util/cppcheck:0
+ dev-util/cpplint:0
+ net-libs/nodejs:0[npm]
+ )"
src_test() {
- # TODO s/ewarn/die until https://github.com/facebook/arcanist/issues/99
- bin/arc unit --everything --no-coverage || ewarn "arc unit failed"
+ einfo "Note that you need to install some Node JS script manually:"
+ einfo " npm install -g coffeelint"
+ einfo " npm install -g csslint"
+ einfo " npm install -g jscs"
+ einfo " npm install -g jshint"
+ einfo " npm install -g jsonlint"
+ einfo " npm install -g less"
+
+ local GIT_NAME="${FUNCNAME} for ${CATEGORY}/${PF}"
+ local GIT_EMAIL="portage@localhost"
+
+ export GIT_AUTHOR_NAME="${GIT_NAME}"
+ export GIT_AUTHOR_EMAIL="${GIT_EMAIL}"
+
+ export GIT_COMMITTER_NAME="${GIT_NAME}"
+ export GIT_COMMITTER_EMAIL="${GIT_EMAIL}"
+
+ # Unable to locate binary "golint" to run linter ArcanistGoLintLinter. You may need to install the binary, or adjust your linter configuration.
+ # TO INSTALL: Install Golint using `go get github.com/golang/lint/golint`.
+
+ # Set config in .git/arc/config for ArcanistPyLintLinter
+ bin/arc set-config --local lint.pylint.codes.advice '^(C|R).*' > /dev/null
+ bin/arc set-config --local lint.pylint.codes.error '^(E|F).*' > /dev/null
+ bin/arc set-config --local lint.pylint.codes.warning '^W.*' > /dev/null
+
+ # + https://secure.phabricator.com/T7170
+
+ bin/arc unit --everything --no-coverage || die "arc unit failed"
}
src_prepare() {
@@ -82,7 +109,7 @@ src_prepare() {
}
src_install() {
- newbashcomp resources/shell/bash-completion "${PN}"
+ newbashcomp resources/shell/bash-completion "arc"
insinto "/usr/share/${PN}"
doins VERSION
@@ -107,19 +134,9 @@ src_install() {
}
pkg_postinst() {
- elog
- elog "Linter for different languages are available thrue USE flags"
- elog " css javascript php python ruby"
-
- if use css ; then
- elog
- elog "To enable javascript linter, you need to manually install CSS lint"
- elog " npm install csslint -g"
- fi
-
- if use javascript ; then
+ if use lint; then
elog
- elog "To enable javascript linter, you need to manually install JSHint"
- elog " npm install jshint -g"
+ elog "Some linter need external NodeJS script. To install them, use:"
+ elog " npm install -g csslint"
fi
}
diff --git a/www-client/arcanist/metadata.xml b/www-client/arcanist/metadata.xml
index 6755e4ed..ad98f528 100644
--- a/www-client/arcanist/metadata.xml
+++ b/www-client/arcanist/metadata.xml
@@ -6,6 +6,9 @@
<name>Bertrand Jacquin</name>
</maintainer>
<use>
+ <flag name='lint'>
+ Support for linter
+ </flag>
<flag name='mercurial'>
Support for <pkg>dev-vcs/mercurial</pkg>
</flag>