Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 566370 Details for
Bug 670288
app-vim/youcompleteme move to ycmd ?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Simple, not complete ycmd ebuild
ycmd-9999.ebuild (text/plain), 4.04 KB, created by
Joakim Tjernlund
on 2019-02-24 17:00:12 UTC
(
hide
)
Description:
Simple, not complete ycmd ebuild
Filename:
MIME Type:
Creator:
Joakim Tjernlund
Created:
2019-02-24 17:00:12 UTC
Size:
4.04 KB
patch
obsolete
># Copyright 1999-2019 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI=5 > >#PYTHON_COMPAT=( python2_7 ) >PYTHON_COMPAT=( python3_6 ) >EPYTHON=python3.6 >#inherit eutils multilib python-single-r1 cmake-utils vim-plugin >inherit eutils python-r1 multilib distutils-r1 python-utils-r1 cmake-utils > >if [[ ${PV} == 9999* ]] ; then > xxEGIT_SUBMODULES=(third_party/bottle > third_party/frozendict third_party/waitress > third_party/jedi third_party/python-future > third_party/cregex ) > > EGIT_SUBMODULES=(third_party/OmniSharpServer third_party/bottle > third_party/frozendict third_party/waitress third_party/requests > third_party/go/src/github.com/mdempsky/gocode > third_party/go/src/github.com/rogpeppe/godef third_party/jedi > third_party/parso third_party/racerd third_party/python-future > third_party/cregex third_party/urllib3 third_party/chardet > third_party/certifi third_party/idna) > EGIT_REPO_URI="https://github.com/Valloric/ycmd.git" > inherit git-r3 >fi > >DESCRIPTION="You Complete Me: a code-completion server" >HOMEPAGE="https://valloric.github.io/ymcd/" >SLOT="0" >LICENSE="GPL-3" >IUSE="+clang test" >REQUIRED_USE="${PYTHON_REQUIRED_USE}" > >COMMON_DEPEND=" > ${PYTHON_DEPS} > clang? ( >=sys-devel/clang-7.0 ) > dev-libs/boost[python,threads,${PYTHON_USEDEP}] >" >RDEPEND=" > ${COMMON_DEPEND} > dev-python/bottle[${PYTHON_USEDEP}] > virtual/python-futures[${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/gtest-1.8.0 > dev-python/flake8 > dev-python/nose > dev-python/future > dev-python/pyhamcrest > dev-python/mock > ) >" > >CMAKE_USE_DIR=${S}/cpp >CMAKE_EXPORT_COMPILE_COMMANDS=1 >VIM_PLUGIN_HELPFILES="${PN}" > >xxsrc_prepare() { > #if ! use test; then > #sed -i '/^add_subdirectory( tests )/d' third_party/ycmd/cpp/ycm/CMakeLists.txt || die > #fi > cd third_party || die "cd third_party" > for third_party_module in requests-futures 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 > #cd ycmd/third_party || die "cd ycmd/third_party" > # 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/${third_party_module} || die "Failed to remove third party module ${third_party_module}" > fi > done > distutils-r1_python_prepare_all >} > >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=OFF > -DUSE_PYTHON2=OFF > ) > cmake-utils_src_configure >} > >src_compile() { > use test || rm -rf "${S}"/ycmd/tests > cmake-utils_src_compile > #python_optimize "${S}"/ycmd/completers > #python_optimize "${S}"/ycmd/*.py > >} > >src_test() { ># cd "${S}/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[*]}") > ./run_tests.py --skip-build --completers cfamily clang ># nosetests --verbose || die >} > >#src_install() >#python_install_all(){ >src_install(){ > docompress -x /usr/share/doc /usr/share/info /usr/share/man > dodoc *.md .ycm_extra_conf.py > rm -r *.md *.sh COPYING.txt cpp || die > #rm -r third_party/ycmd/{*.md,*.sh} || die > find . -name "*test*" -exec rm -rf {} + || die > #find third_party -name "*test*" -exec rm -rf {} + || die > egit_clean > #rm libclang.so* || die > python_foreach_impl python_domodule "${S}/ycmd" > python_foreach_impl python_domodule "${S}/third_party/" > python_moduleinto ycmd > python_foreach_impl python_domodule "${S}"/ycm_core.so > > python_moduleinto .. > python_foreach_impl python_domodule "${S}"/CORE_VERSION > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 670288
: 566370