diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-29 18:01:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-29 18:01:47 +0000 |
commit | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (patch) | |
tree | 9f47ee47c31a0f13f9496879cd88a1042550aa81 /app-vim/youcompleteme | |
parent | 53cba99042fa967e2a93da9f8db806fe2d035543 (diff) |
gentoo (leap year) resync : 29.02.2020
Diffstat (limited to 'app-vim/youcompleteme')
-rw-r--r-- | app-vim/youcompleteme/Manifest | 4 | ||||
-rw-r--r-- | app-vim/youcompleteme/metadata.xml | 11 | ||||
-rw-r--r-- | app-vim/youcompleteme/youcompleteme-20130910.ebuild | 88 | ||||
-rw-r--r-- | app-vim/youcompleteme/youcompleteme-99999999.ebuild | 118 |
4 files changed, 0 insertions, 221 deletions
diff --git a/app-vim/youcompleteme/Manifest b/app-vim/youcompleteme/Manifest deleted file mode 100644 index 4068e4eb7116..000000000000 --- a/app-vim/youcompleteme/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST youcompleteme-20130910.tar.xz 2340104 BLAKE2B 1d50eae1e53d1acc3e9599ade6c5686602cf28997574dcf128b1ed1f812548c51e0c5ad45547ec12fc44d7391ce539c7cd8785ae823978ce18b870dd794f07a2 SHA512 c1022a27ced00e8ba8e9aa25029a0032805331cf0f80342aaaf9d7d4ec7780a098ffbd315068f19f6c98b00c4b4b43e59c7fa40070057e097ca40f6398b53b6b -EBUILD youcompleteme-20130910.ebuild 1956 BLAKE2B a34dbf6f15544c10ad23c2809aa827c2b43a272a01739c189700e749bb9ebe513dd81bfb4c03974996184067409853f5a2bb1202f5316bd615abc8f29cdaf393 SHA512 c731d0679cf373157f2950a1d938d40ed6f5a3ba99d59274435fdc5a202f2201f7f4fdb789dacd6167b613a2ef38c959c4c20912d48776bef0aa1dbf53556f9c -EBUILD youcompleteme-99999999.ebuild 3071 BLAKE2B 183369650f18295cebd75263328ece907953b129f20ec74367d9c9792fbc2f104005255dffcc70495f3d314851d937239a543cf82c8b5dfdef4a7fc1df4124b2 SHA512 0ad063eac55904367386995ba4ade2c42f80557acfeb006018992865bcad10f37d46bffdfe6d0dff3a884466446f752b1c7627ba2812faf95d064721f6f25a13 -MISC metadata.xml 372 BLAKE2B b057ef7819a6a3018c88a692b3f94befe2b3055d3d014790bfdf4de690cdd9e589e12b1d802e5487af104b5cb7d87395e7c0a4130dde622a3a48d7c2f3c507a2 SHA512 3afacd989d495928012e5a1b1c2bb6d14209cbcb1e347a24c1c0881c758642cc8457ee7b6202b8d129e3f08dc21492792715fc5452f8ffc33f719da9a447fdac diff --git a/app-vim/youcompleteme/metadata.xml b/app-vim/youcompleteme/metadata.xml deleted file mode 100644 index 1b0669747edd..000000000000 --- a/app-vim/youcompleteme/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>vim@gentoo.org</email> - <name>Gentoo Vim Project</name> - </maintainer> - <use> - <flag name="clang">Enable semantic support for C-family languages using <pkg>sys-devel/clang</pkg></flag> - </use> -</pkgmetadata> diff --git a/app-vim/youcompleteme/youcompleteme-20130910.ebuild b/app-vim/youcompleteme/youcompleteme-20130910.ebuild deleted file mode 100644 index 29e5f6c94260..000000000000 --- a/app-vim/youcompleteme/youcompleteme-20130910.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit eutils multilib python-single-r1 cmake-utils vim-plugin - -if [[ ${PV} == 9999* ]] ; then - EGIT_REPO_URI="https://github.com/Valloric/YouCompleteMe.git" - inherit git-r3 -else - KEYWORDS="~amd64 ~x86" - SRC_URI="https://dev.gentoo.org/~radhermit/vim/${P}.tar.xz" -fi - -DESCRIPTION="vim plugin: a code-completion engine for Vim" -HOMEPAGE="https://valloric.github.io/YouCompleteMe/" - -LICENSE="GPL-3" -IUSE="+clang test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - clang? ( >=sys-devel/clang-3.3 ) - || ( - app-editors/vim[python,${PYTHON_SINGLE_USEDEP}] - app-editors/gvim[python,${PYTHON_SINGLE_USEDEP}] - )" -DEPEND="${RDEPEND} - test? ( - $(python_gen_cond_dep ' - >=dev-python/mock-1.0.1[${PYTHON_MULTI_USEDEP}] - >=dev-python/nose-1.3.0[${PYTHON_MULTI_USEDEP}] - ') - )" - -CMAKE_IN_SOURCE_BUILD=1 -CMAKE_USE_DIR=${S}/cpp - -VIM_PLUGIN_HELPFILES="${PN}" - -src_prepare() { - if ! use test ; then - sed -i '/^add_subdirectory( tests )/d' cpp/ycm/CMakeLists.txt || die - fi -} - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_use clang CLANG_COMPLETER) - $(cmake-utils_use_use clang SYSTEM_LIBCLANG) - ) - cmake-utils_src_configure -} - -src_test() { - # TODO: use system gtest - cd "${S}"/cpp || die - emake ycm_core_tests - cd ycm/tests || die - LD_LIBRARY_PATH="${EROOT}"/usr/$(get_libdir)/llvm \ - "${S}"/cpp/ycm/tests/ycm_core_tests || die - - cd "${S}"/python/ycm || die - nosetests --verbose || die -} - -src_install() { - dodoc *.md - rm -r *.md *.sh COPYING.txt cpp || die - find python -name *test* -exec rm -rf {} + || die - rm python/libclang.so || die - - vim-plugin_src_install - - python_optimize "${ED}" - python_fix_shebang "${ED}" -} - -pkg_postinst() { - vim-plugin_pkg_postinst - - [[ -z ${REPLACING_VERSIONS} ]] && \ - optfeature "better python autocompletion" dev-python/jedi -} diff --git a/app-vim/youcompleteme/youcompleteme-99999999.ebuild b/app-vim/youcompleteme/youcompleteme-99999999.ebuild deleted file mode 100644 index 54e1ec4e1061..000000000000 --- a/app-vim/youcompleteme/youcompleteme-99999999.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit eutils multilib python-single-r1 cmake-utils vcs-clean vim-plugin - -if [[ ${PV} == 9999* ]] ; then - EGIT_REPO_URI="https://github.com/Valloric/YouCompleteMe.git" - inherit git-r3 -else - KEYWORDS="~amd64 ~x86" - SRC_URI="https://dev.gentoo.org/~radhermit/vim/${P}.tar.xz" -fi - -DESCRIPTION="vim plugin: a code-completion engine for Vim" -HOMEPAGE="https://valloric.github.io/YouCompleteMe/" - -LICENSE="GPL-3" -IUSE="+clang test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -COMMON_DEPEND=" - ${PYTHON_DEPS} - clang? ( >=sys-devel/clang-3.3 ) - $(python_gen_cond_dep ' - dev-libs/boost[python,threads,${PYTHON_MULTI_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[${PYTHON_MULTI_USEDEP}] - virtual/python-futures[${PYTHON_MULTI_USEDEP}] - dev-python/jedi[${PYTHON_MULTI_USEDEP}] - dev-python/requests[${PYTHON_MULTI_USEDEP}] - dev-python/sh[${PYTHON_MULTI_USEDEP}] - dev-python/waitress[${PYTHON_MULTI_USEDEP}] - ') -" -DEPEND=" - ${COMMON_DEPEND} - test? ( - $(python_gen_cond_dep ' - >=dev-python/mock-1.0.1[${PYTHON_MULTI_USEDEP}] - >=dev-python/nose-1.3.0[${PYTHON_MULTI_USEDEP}] - ') - >=dev-cpp/gtest-1.8.0 - ) -" - -CMAKE_IN_SOURCE_BUILD=1 -CMAKE_USE_DIR=${S}/third_party/ycmd/cpp - -VIM_PLUGIN_HELPFILES="${PN}" - -src_prepare() { - if ! use test; then - sed -i '/^add_subdirectory( tests )/d' third_party/ycmd/cpp/ycm/CMakeLists.txt || die - fi - - for third_party_module in requests pythonfutures; do - if [[ -d "${third_party_module}" ]]; then - rm -r "${S}"/third_party/${third_party_module} || die "Failed to remove third party module ${third_party_module}" - fi - done - - # Argparse is included in python 2.7 - for third_party_module in argparse bottle jedi waitress sh requests; do - if [[ -d "${third_party_module}" ]]; then - rm -r "${S}"/third_party/ycmd/third_party/${third_party_module} || die "Failed to remove third party module ${third_party_module}" - fi - done -} - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_use clang CLANG_COMPLETER) - $(cmake-utils_use_use clang SYSTEM_LIBCLANG) - -DUSE_SYSTEM_BOOST=ON - -DUSE_SYSTEM_GMOCK=ON - ) - cmake-utils_src_configure -} - -src_test() { - cd "${S}/third_party/ycmd/cpp/ycm/tests" || die - LD_LIBRARY_PATH="${EROOT}"/usr/$(get_libdir)/llvm \ - ./ycm_core_tests || die - - cd "${S}"/python/ycm || die - - local dirs=( "${S}"/third_party/*/ "${S}"/third_party/ycmd/third_party/*/ ) - local -x PYTHONPATH=${PYTHONPATH}:$(IFS=:; echo "${dirs[*]}") - - nosetests --verbose || 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 -name *test* -exec rm -rf {} + || die - egit_clean - rm third_party/ycmd/libclang.so* || die - - vim-plugin_src_install - - python_optimize "${ED}" - python_fix_shebang "${ED}" -} |