From efde9471ad7285115e8dec11eb620043cbae409c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 10 Sep 2022 13:41:21 +0100 Subject: YCM bump and clang update --- app-vim/youcompleteme/Manifest | 6 +- .../youcompleteme/youcompleteme-20220322-r1.ebuild | 85 ---------------------- .../youcompleteme/youcompleteme-20220909.ebuild | 85 ++++++++++++++++++++++ 3 files changed, 88 insertions(+), 88 deletions(-) delete mode 100644 app-vim/youcompleteme/youcompleteme-20220322-r1.ebuild create mode 100644 app-vim/youcompleteme/youcompleteme-20220909.ebuild (limited to 'app-vim') diff --git a/app-vim/youcompleteme/Manifest b/app-vim/youcompleteme/Manifest index f277473..cde5f39 100644 --- a/app-vim/youcompleteme/Manifest +++ b/app-vim/youcompleteme/Manifest @@ -1,6 +1,6 @@ -DIST ycmd-ba5814d3810c21ef9868d70ba7a8c7eef9c1d276.tar.gz 2953728 BLAKE2B 0f28a072c8c155eff5712e90bde46c039b8bd1a739fd1141df1dd9ff8b7aee3bb7e05bd8ce8fb8c84ad549d6b5e477f9036ebbfe61dfeb1846b157c76271786f SHA512 2e86c206d03188f189322039b4fa806861aebf1697e98a05c0ed45a95dfce1c885c67040993a9e2bd70e3113e44313f860bff65ce5cf67eb56be150ff01ce426 +DIST ycmd-2ee41000a28fb6b2ae00985c231896b6d072af86.tar.gz 3021422 BLAKE2B 9b87da0a5389d1e1eb76a4ab41f387c83c0818d788f8a1be0167ea2b9e73354c5ddf930a1cd263704d5146bb2ea0c49e4b573c4b5abbafc82e600b218c86c114 SHA512 d3072a6d3606c34f2af4cf43f8d5be2599e4e5617418a70e73a5c0be642efccdd8de9b872e7ffa43318501803f15b6f54ae69549d61689b9a8aaca86a8747f45 DIST ycmd-d1707c14883ced0e32fcca9c0f5dbd6849b5f751.tar.gz 2992694 BLAKE2B 8f663d87494b7e21333cfd6f5f7c7b4d4ccd2fe73c1a7a4428a041c5f890f3a8fe4f1dcca849a67de16d32534c8d1dc5c3d8d2cf60fccc99e2626079704f1793 SHA512 3548161955db4acbee27a117c9c9a0d4c29297dd02ad7811af3b66be6583683ed1e5fd670e4226fc4be0e0a4aee207dde7ad5e230270daa8cf502b18c3ef6c59 DIST youcompleteme-d35df6136146b12f3a78f8b8fbdaf55f4e2ee462.tar.gz 310672 BLAKE2B b6030dfcf66321b174ff33a9dac5567a905907a7ccf06bfabe6a85e720c7009058b109173d10d0a77a1c3ffa69c79c3f7e98612ff63d3d8de3c9f8a585361df8 SHA512 a5508a935268bd5000ed85457b2e18571dfa6187d1f9142df2780be715398d498cc02b7e942d1e8be66b2aaa4fd5ca702ed06016eb4ace93f3c682f7ba1e94ef -DIST youcompleteme-e32a82c322c680fa3aeef615874cf049669a360b.tar.gz 306691 BLAKE2B 0ffd62b0045971e46061cdf75af8c22f2b2910bffc081ed4164af0b0debc78a104f2fbe3cdd2e649bf79c7825617129fbb9a64db5dd887c336e7ceeeb808bd92 SHA512 48100388dc77ea81db29d9f068631ea3c366bd96cdb756be6d97c84dbdcfa45d8e0d4bc3b556e7f670d9635c5abbc023c848c0801ee89110ee3656693a0b5de7 -EBUILD youcompleteme-20220322-r1.ebuild 2393 BLAKE2B d62d3ce5aa0a832d348083c7a8f6d32c492233d74740e471334a4f3f887a8973577f81dc7b71e8cb2b98eac8559bcdfc1c7be76e55c26d92d28a0405baf8e06b SHA512 a21b0a8eaaa9bf283e036e7c4199bdc096777e78d69c3ecf3760492b928ecbeb585f96d3c12cd1642e3dd56d909b2c1d048a2068803b72b01a4c5034e2146669 +DIST youcompleteme-d4343e8384ffb25d70a9ebc966bbf1277735567c.tar.gz 317812 BLAKE2B a2270da6ee19e715d2d927a2f38564d0f39e37e6cd0692b4ce43b60ef8f9b254ceb6ecd6a0cf70ad0f6cbbe0234825a69e28e02528d889092c3f01bf1102fe5e SHA512 038afbd42e84f215386bcbc29f264283dafd5f30b69b6467c34a71dc4b9cb9d528ae0ecc0d94fe86b2beee960b030f884327024fb54980c72d09421882444652 EBUILD youcompleteme-20220802.ebuild 2393 BLAKE2B fe37ace69f2402d47aeee03ff4e586969f1fcd765c5e46d3b46e9416f560778ab94754bce7d7c9e23ff9c51eab0bc286fb4751e1c0e28f08c03dab3034de4374 SHA512 ecc394ae3caa58631f0cf735e06a72a1b67b441efcd9a6015a8e5f379dabb00179257e3f90f52bd1d31b108a5407d6292105a4f6a9754085076aeb85f2e0120a +EBUILD youcompleteme-20220909.ebuild 2393 BLAKE2B 877a9dd4e60d5245df9e456cd42593a71c03d31d52d92b1eaceaa3ff70d0498191f6291c760fccd2727011c6b80d9d86ab8c6548185ac9f5b99d343d7568a8ff SHA512 54ebee0c65a0638f5883f197ceb78004b44c1fb1b1060704d5ceab7d935802eb4817389aeead2b9722db474f3c76e8f806cc61109200c4cbc138dbffa5e02783 diff --git a/app-vim/youcompleteme/youcompleteme-20220322-r1.ebuild b/app-vim/youcompleteme/youcompleteme-20220322-r1.ebuild deleted file mode 100644 index 1825ff6..0000000 --- a/app-vim/youcompleteme/youcompleteme-20220322-r1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -EAPI="8" -PYTHON_COMPAT=( python3_{9,10} ) -inherit multilib python-single-r1 cmake vim-plugin - -youcompletemev="e32a82c322c680fa3aeef615874cf049669a360b" -ycmdv="ba5814d3810c21ef9868d70ba7a8c7eef9c1d276" - -KEYWORDS="~amd64 ~x86" -SRC_URI=" - https://github.com/ycm-core/YouCompleteMe/archive/$youcompletemev.tar.gz -> youcompleteme-$youcompletemev.tar.gz - https://github.com/ycm-core/ycmd/archive/$ycmdv.tar.gz -> ycmd-$ycmdv.tar.gz -" - -DESCRIPTION="vim plugin: a code-completion engine for Vim" -HOMEPAGE="http://ycm-core.github.io/YouCompleteMe/" - -LICENSE="GPL-3" -IUSE="+clang" - -COMMON_DEPEND=" - ${PYTHON_DEPS} - dev-cpp/abseil-cpp - clang? ( sys-devel/clang:13 ) - $(python_gen_cond_dep ' - >=dev-libs/boost-1.65:=[python,${PYTHON_USEDEP}] - || ( - app-editors/vim[python,${PYTHON_SINGLE_USEDEP}] - app-editors/gvim[python,${PYTHON_SINGLE_USEDEP}] - ) - ') -" -RDEPEND=" - ${COMMON_DEPEND} - $(python_gen_cond_dep ' - >=dev-python/bottle-0.12.18[${PYTHON_USEDEP}] - >=dev-python/regex-2020.2.20[${PYTHON_USEDEP}] - >=dev-python/jedi-0.16.0[${PYTHON_USEDEP}] - >=dev-python/watchdog-0.10.2[${PYTHON_USEDEP}] - ') -" -DEPEND=" - ${COMMON_DEPEND} -" - -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 ; 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 - cmake_src_prepare - default -} - -src_configure() { - local mycmakeargs=( - -DUSE_CLANG_COMPLETER=$(usex clang) - -DUSE_SYSTEM_LIBCLANG=$(usex clang) - -DPATH_TO_LLVM_ROOT=$(clang-13 --version | grep ^InstalledDir: | cut -d: -f2 | xargs dirname) - -DUSE_SYSTEM_ABSEIL=ON - -DPython3_LIBRARY=$SYSROOT/usr/$(get_libdir)/lib$EPYTHON.so - -DPython3_EXECUTABLE=$SYSROOT/usr/bin/$EPYTHON - -DPython3_INCLUDE_DIR=$SYSROOT/usr/include/$EPYTHON - ) - cmake_src_configure -} - -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 - rm -r test || 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 - - vim-plugin_src_install third_party python - - python_optimize "${ED}" - python_fix_shebang "${ED}" -} diff --git a/app-vim/youcompleteme/youcompleteme-20220909.ebuild b/app-vim/youcompleteme/youcompleteme-20220909.ebuild new file mode 100644 index 0000000..9a9de73 --- /dev/null +++ b/app-vim/youcompleteme/youcompleteme-20220909.ebuild @@ -0,0 +1,85 @@ +EAPI="8" +PYTHON_COMPAT=( python3_{9,10} ) +inherit multilib python-single-r1 cmake vim-plugin + +youcompletemev="d4343e8384ffb25d70a9ebc966bbf1277735567c" +ycmdv="2ee41000a28fb6b2ae00985c231896b6d072af86" + +KEYWORDS="~amd64 ~x86" +SRC_URI=" + https://github.com/ycm-core/YouCompleteMe/archive/$youcompletemev.tar.gz -> youcompleteme-$youcompletemev.tar.gz + https://github.com/ycm-core/ycmd/archive/$ycmdv.tar.gz -> ycmd-$ycmdv.tar.gz +" + +DESCRIPTION="vim plugin: a code-completion engine for Vim" +HOMEPAGE="http://ycm-core.github.io/YouCompleteMe/" + +LICENSE="GPL-3" +IUSE="+clang" + +COMMON_DEPEND=" + ${PYTHON_DEPS} + dev-cpp/abseil-cpp + clang? ( sys-devel/clang:15 ) + $(python_gen_cond_dep ' + >=dev-libs/boost-1.65:=[python,${PYTHON_USEDEP}] + || ( + app-editors/vim[python,${PYTHON_SINGLE_USEDEP}] + app-editors/gvim[python,${PYTHON_SINGLE_USEDEP}] + ) + ') +" +RDEPEND=" + ${COMMON_DEPEND} + $(python_gen_cond_dep ' + >=dev-python/bottle-0.12.18[${PYTHON_USEDEP}] + >=dev-python/regex-2020.2.20[${PYTHON_USEDEP}] + >=dev-python/jedi-0.16.0[${PYTHON_USEDEP}] + >=dev-python/watchdog-0.10.2[${PYTHON_USEDEP}] + ') +" +DEPEND=" + ${COMMON_DEPEND} +" + +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 ; 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 + cmake_src_prepare + default +} + +src_configure() { + local mycmakeargs=( + -DUSE_CLANG_COMPLETER=$(usex clang) + -DUSE_SYSTEM_LIBCLANG=$(usex clang) + -DPATH_TO_LLVM_ROOT=$(clang-15 --version | grep ^InstalledDir: | cut -d: -f2 | xargs dirname) + -DUSE_SYSTEM_ABSEIL=ON + -DPython3_LIBRARY=$SYSROOT/usr/$(get_libdir)/lib$EPYTHON.so + -DPython3_EXECUTABLE=$SYSROOT/usr/bin/$EPYTHON + -DPython3_INCLUDE_DIR=$SYSROOT/usr/include/$EPYTHON + ) + cmake_src_configure +} + +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 + rm -r test || 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 + + vim-plugin_src_install third_party python + + python_optimize "${ED}" + python_fix_shebang "${ED}" +} -- cgit v1.2.3