From 2aec283571b66bff5ba725871cce268d02d801ae Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 4 Sep 2017 19:29:52 +0100 Subject: YCM bump --- app-vim/youcompleteme/Manifest | 3 + .../youcompleteme/youcompleteme-20170902.ebuild | 116 +++++++++++++++++++++ 2 files changed, 119 insertions(+) create mode 100644 app-vim/youcompleteme/youcompleteme-20170902.ebuild diff --git a/app-vim/youcompleteme/Manifest b/app-vim/youcompleteme/Manifest index 1e30375..5323e77 100644 --- a/app-vim/youcompleteme/Manifest +++ b/app-vim/youcompleteme/Manifest @@ -8,9 +8,11 @@ DIST requests-futures-50db066ac1e735a79f9499659c8ad5f7428269ff.tar.gz 6750 SHA25 DIST requests-futures-98712e7d0f6be2a090b6fda2a925f85e63656b58.tar.gz 4550 SHA256 38138e40c0c3d2b7672dee3e1c8e08dd59fc41f517eb9c7cb3c238e566a9257c SHA512 38f0c86ab8f74f4f48a6b4279c5d83580f5486a59b71d4d7009835e3f4e8fcbe07e188d0920de9b223d7c88592998c93e6c66f8aae19d22cf4a31705e066e54c WHIRLPOOL 38e2bbdea5d2da13a9749f633956e0ed32e0c6b97d416d115e04092c23c79bdc8c9484cdb7f68ecc03487d4b2df7dd07ad0152a936f29e1ed75863adef1f7fdd DIST ycmd-01aaf7abb09af04f1403c3e84266abf30d7784e7.tar.gz 3124900 SHA256 40bf6633426612512a589aec28286ea106cba3cb7f4aeb823d11e69ecdd9eb42 SHA512 d140ba1e7e0699b605d106c861713c52e58f500f85dcf494dcdd656091daf37718e623d416819a86b9e368f022719a77c5a58677971b4ba91d68a346075ed1ee WHIRLPOOL 1c1ca9e7beb097fbcc92507f4a3023ea455fd8072414c5d5b222365430de24617225967a16d6a8e27644ed1acc8287208653cbbd9ea784f3525cff55be425fe1 DIST ycmd-63c3d992a2db8d189cd78a25a70c87348726fc52.tar.gz 4248682 SHA256 5642697c42dfb78e985cee60d3808df0fa805d41455d1f1c122f27a9644cc0dd SHA512 96dc4235e79e8af38328489874d4019211b479e6935198d833cf1cee0febe95376dbf1443f247ba60f8d278cefeb71708b1328e685af2ffc70b3dac4a806a7c5 WHIRLPOOL d517e96e5e3d1b11bcc7302d4546664af08b9f900bd07eb306ffc89eade0113f3b65c2da02bcd6fb5133ce4fc94aafba5b36bf25e9353c212d2fdf673f07c142 +DIST ycmd-6463774035e61a660ad9150a592b8829eb37fd10.tar.gz 3366802 SHA256 29a89d7209ef8a3e893520ef020b759e958559771592258a333b3ed34a08e223 SHA512 1f1c42d65cfe16e3736d142898b7e809a0ecfd8e394b14267db289c11ba1f862bb3db74afa53f3add2a245cf52c56c93b0006bad587dcfccee50510f4310612e WHIRLPOOL 2c334d55d56ffd2baf6193f9d047ddf481571249e8e3adb925d12da48ae1b22c3f5bd86264793b7ec9e1f509a2440491b5b9d54b7c84d268112f4c91624af131 DIST ycmd-b46b8f09e33ccb6c70dfd02bba879c0b77fff4d5.tar.gz 3978618 SHA256 942a8408edd7a9c753858327b54beebed0c5c533cfc9bbe3e999733757234469 SHA512 50edcc17b916a80d1b35ffa8d7d3cca455e08d6b4a4f5db95a1d350bf80b9a397f07d4b0316b8c4a7e2d4db3c00691b89acd594f7ff43ba1f0be1e341983a5a3 WHIRLPOOL d2951653fcaddba5f78969847d3f19d1d336baf026ff3c0bb5d207c4791f213c3c6809f6be56aa2a3c31604ba5f92791a094c1d4fb9841ddf72c0387bd31f4a1 DIST ycmd-de3e92aadd421e3a23412101a84d1abbe56afb4d.tar.gz 4267370 SHA256 4f1f0c65194d288ee1b264b5853db45144dc2da07dc0d9c5caf9e1bce3ee608d SHA512 628a7099c5d4c87075c5a5154a79a3308d44d62395b0ce37ff9932161a05ea6f63ef8aa1ef406f883f95152d94beecea574616f7b1f6f61477093aa3e9c33fa1 WHIRLPOOL 038a839e97309de99cc3e23badc6cb29f22f4b28216a8ab52185bb1caeb80ae39b97e4e68be32ad2706353d2935b6fa65b255a1ad14f56afa4a11804c4d95f22 DIST youcompleteme-6132f0bc50c44b15bd90c26642494da1ab20131f.tar.gz 258204 SHA256 26f214e91c923c9928f469bbbb1b7f47fe3c80c63f23e00d8848aafee6425a64 SHA512 c03db1768ac92ae1758a36276f7a1c887c160ddb2290c6fe17911aa5c5079065282de46ec8b6d88f694c5337b5e4153acde6da173d9da615fa2626c441cb1e22 WHIRLPOOL 573d3e7b6d88e0163d374dd74e68fc64987bd21c7894c3421f0dee34affb83b973c32a4055e3d5fc3c2de1b4056dc719e470dc4a25a2d96de3949dec4724797e +DIST youcompleteme-65765ef32b0288b35a022373f8e04c66b7764b2b.tar.gz 261562 SHA256 0d2058c3bbdb12a4aa8419f62cf2aa4927ab6c966f2b88e23a1e77af3f1ee085 SHA512 ec1e432d5582d501cbc1fef53373ad40090c562b15640675f76ae39f2bc973f97fca3f5f600874992242236bb52abd4baf2fdf987d36535654ae357b30ebf5a6 WHIRLPOOL a700ed70c3760ee736b3ac03d43b7b3cf6ac0677f321dbbbfe3e88521a29ebf80fd2cc28d457ce0ed4ce69d3d205967469666cb844b091e0d3476146d2cf5ed2 DIST youcompleteme-6583da75bd7f4ba01be3c9f5ddc7cc6b4d53bb50.tar.gz 258351 SHA256 a34df53cc509903fa2383cc3e4155038ccd5b73222d60af02089074673b2152b SHA512 8ab4f885db77d38b94491611536d779507e9652fb588512e9538c68cc9e3d5c43d2f1e8d909906502998b05ae8a252fc05b11e0cd8850745162ca51c389f3707 WHIRLPOOL 814ce0baeb6e984b89b7cd98121cdb95618d8d07244a4e6af9b0ff5ab9d6d9c883075eaecd4add532a26960e204575f09dbc115bb360d45171cc1e88177875e3 DIST youcompleteme-a2808ee3ff7e8f4e90f6157f062c2aac6057c087.tar.gz 192130 SHA256 00504bbc84d2072c351bf79a5ebe4c83794ffe916de69acaf4ae730a5c88f9f2 SHA512 f0d3c08de4041089d9f5c5a03177fb0113a83f4bdca17378cd1e3386ebedab4905256d950d69d5351ba6b7518015b5a1a48db8d9afe534d95d7c76bce5b2903b WHIRLPOOL c8cde51ebd6c006c149a7c1552a5306a43d3218e54c0b24f0133bc25841e4989034b749c1fd4cab79d582f0cb9ddbaab6bdbae6f5c2e165fb104b48ffea9609b DIST youcompleteme-f27787f2630a0b0cc3ef60685d6188cc13281e7f.tar.gz 249510 SHA256 5bef98e0541b5fa76db10d72aab0cc2f5507b5da423314bf28b8e8936d65233e SHA512 bc9dbc747af397969b87f697dd12b9390122bb776010bb3f5fb04fe7b3a1dceed890644d7769098bc305ecbefcffd96c608630028d3dd0cae0d0e5a40bf46b3e WHIRLPOOL 858041e385596771b05a608cb5581cf90df0294d8845cd240113adc7d7c7d180e570d662150ef0ad558dc66a508dc01ac911be8176d06cb900247ccb247fc9dd @@ -18,3 +20,4 @@ EBUILD youcompleteme-20150902.ebuild 3573 SHA256 c606acedae74dfd6feb6ccb839df6a7 EBUILD youcompleteme-20161024.ebuild 3710 SHA256 6feae53ddcaaa4133a91a28f483fe10ec01d8e57be4f53192a6933c709518d4b SHA512 bfad7e7a49c131c1666ee4dde7896d0c06af351142e066e3da61d4356c0ac70f50254d38133c6453985fd57361fa7ac368140e1b57bc1ae6dad742d177750298 WHIRLPOOL 722a20b8d7ba7e0c178849aae9301254e02bd99e39a97342e4e54a40d840712b9cd9185a927a109c6251e73e2aae42c2ca82b7b1b9ddfd73b34f351d97e2205a EBUILD youcompleteme-20170314.ebuild 3710 SHA256 d022bc3de27e33818cf2160214cc2ac5935f6ee4b842ef46236f6bcb07e5a456 SHA512 0351d9d60476cf5068381440cd679844f309a0045797d60cac4ec3cd8e45c40079db16a4efbe93f6c9f3b089164062f2cafdaf5d7a1c563d92337e82ebc87bab WHIRLPOOL 31bce29282d6b5807ae4cf638610970f9af38eeeb436ea9c81139deb37c3586ee4ea40adfc5749458f70c38ffca57f64534aaa4933dab2fe7281f80f83ad184c EBUILD youcompleteme-20170529.ebuild 3792 SHA256 cee056043033441315c41c66da55177877947ef6ddb7b5e093412e9957b1af2a SHA512 e1fe2cb32024e6d84bc6723fe1342b1491a13384a2b3ff590aa79807b8261b594737862d6a79f65158df6faa2446bbea9f582139b333163da8055b4824515dd8 WHIRLPOOL 9d847508d70f5305f322ba7e394cdec11faac50ab2e59b70b38a7b4c37c86d34bfe5a06df80f44dabe608b6ebd560ba908fde1893988b5e358aeb034754ddbf2 +EBUILD youcompleteme-20170902.ebuild 3792 SHA256 311bc07c9443c0bd645f3958e1660a4262b186f57152dd219115fb3ce14269ae SHA512 f61498d5b411aee3a302671a101082a543e4cbbf8fe4dee869168e3c2eaab9bd035fa07f451e0fbf3f27c9afdba7da646771cd83727d1cfb3e6b35a103b98c2e WHIRLPOOL 6003a97c3100238f1cd1999d74cbfb3942bc42a6105619feb695be485769b16304b0341102c5e0ff059a6c2e263ee0c8e752f692511d1d90a14fc320b7943c20 diff --git a/app-vim/youcompleteme/youcompleteme-20170902.ebuild b/app-vim/youcompleteme/youcompleteme-20170902.ebuild new file mode 100644 index 0000000..83e2592 --- /dev/null +++ b/app-vim/youcompleteme/youcompleteme-20170902.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python3_4 ) +inherit multilib python-single-r1 cmake-utils vim-plugin + +youcompletemev="65765ef32b0288b35a022373f8e04c66b7764b2b" +ycmdv="6463774035e61a660ad9150a592b8829eb37fd10" +reqfuv="98712e7d0f6be2a090b6fda2a925f85e63656b58" +pfdv="b27053e4d11f5891319fd29eda561c130ba3112a" +ossv="e1902915c6790bcec00b8d551199c8a3537d33c9" +gocodev="843b7a63f621bb441274849d58671870adf1a5ce" + +KEYWORDS="amd64" +SRC_URI=" + https://github.com/Valloric/YouCompleteMe/archive/$youcompletemev.tar.gz -> youcompleteme-$youcompletemev.tar.gz + https://github.com/Valloric/ycmd/archive/$ycmdv.tar.gz -> ycmd-$ycmdv.tar.gz + https://github.com/ross/requests-futures/archive/$reqfuv.tar.gz -> requests-futures-$reqfuv.tar.gz + https://github.com/slezica/python-frozendict/archive/$pfdv.tar.gz -> python-frozendict-$pfdv.tar.gz + csharp? ( https://github.com/OmniSharp/omnisharp-server/archive/$ossv.tar.gz -> omnisharp-server-$ossv.tar.gz ) + go? ( https://github.com/nsf/gocode/archive/$gocodev.tar.gz -> gocode-$gocodev.tar.gz ) +" + +DESCRIPTION="vim plugin: a code-completion engine for Vim" +HOMEPAGE="http://valloric.github.io/YouCompleteMe/" + +LICENSE="GPL-3" +IUSE="+clang test go csharp" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND=" + ${PYTHON_DEPS} + clang? ( >=sys-devel/clang-3.9 ) + dev-libs/boost[python,threads,${PYTHON_USEDEP}] + || ( + app-editors/vim[python,${PYTHON_USEDEP}] + app-editors/gvim[python,${PYTHON_USEDEP}] + ) +" +RDEPEND=" + ${COMMON_DEPEND} + dev-python/bottle[${PYTHON_USEDEP}] + dev-python/future[${PYTHON_USEDEP}] + dev-python/jedi[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/sh[${PYTHON_USEDEP}] + dev-python/waitress[${PYTHON_USEDEP}] +" +DEPEND=" + ${COMMON_DEPEND} + test? ( + >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] + >=dev-python/nose-1.3.0[${PYTHON_USEDEP}] + dev-cpp/gmock + dev-cpp/gtest + ) +" + +S="${WORKDIR}/YouCompleteMe-$youcompletemev" +CMAKE_IN_SOURCE_BUILD=1 +CMAKE_USE_DIR=${S}/third_party/ycmd/cpp + +VIM_PLUGIN_HELPFILES="${PN}" + +src_prepare() { + for third_party_module in ycmd pythonfutures requests-futures; do + rm -r "${S}"/third_party/${third_party_module} || die "Failed to remove third party module ${third_party_module}" + done + mv ${WORKDIR}/ycmd-$ycmdv ${S}/third_party/ycmd + use csharp && mv ${WORKDIR}/omnisharp-server-$ossv ${S}/third_party/ycmd/third_party/omnisharp-server + mv ${WORKDIR}/python-frozendict-$pfdv ${S}/third_party/ycmd/third_party/python-frozendict + use go && mv ${WORKDIR}/gocode-$gocodev ${S}/third_party/ycmd/third_party/gocode + mv ${WORKDIR}/requests-futures-$reqfuv ${S}/third_party/request-futures +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_use clang CLANG_COMPLETER) + $(cmake-utils_use_use clang SYSTEM_LIBCLANG) + -DUSE_PYTHON2=OFF + -DBoost_PYTHON3_LIBRARY_RELEASE=/usr/lib/libboost_python-3.4.so + -DPATH_TO_LLVM_ROOT=/usr/lib/llvm/4 + -DUSE_SYSTEM_BOOST=ON + -DUSE_SYSTEM_GMOCK=ON + ) + cmake-utils_src_configure +} + +src_test() { + cd "${S}/third_party/ycmd/cpp/ycm/tests" + LD_LIBRARY_PATH="${EROOT}"/usr/$(get_libdir)/llvm \ + ./ycm_core_tests || die + + cd "${S}"/python/ycm + + local dirs=( "${S}"/third_party/*/ "${S}"/third_party/ycmd/third_party/*/ ) + local -x PYTHONPATH=${PYTHONPATH}:$(IFS=:; echo "${dirs[*]}") + + nosetests || die +} + +src_install() { + dodoc *.md third_party/ycmd/*.md + rm -r *.md *.sh COPYING.txt third_party/ycmd/cpp || die + rm -r third_party/ycmd/{*.md,*.sh} || die + find python third_party/ycmd -depth -name '*test*' -exec rm -r {} + || die + find python third_party/ycmd -depth -name '*examples*' -exec rm -r {} + || die + rm third_party/ycmd/libclang.so.* || die + + vim-plugin_src_install + + python_optimize "${ED}" + python_fix_shebang "${ED}" +} -- cgit v1.2.3