diff options
Diffstat (limited to 'app-vim')
-rw-r--r-- | app-vim/Manifest.gz | bin | 32578 -> 32578 bytes | |||
-rw-r--r-- | app-vim/vim-nftables/Manifest | 3 | ||||
-rw-r--r-- | app-vim/vim-nftables/metadata.xml | 11 | ||||
-rw-r--r-- | app-vim/vim-nftables/vim-nftables-0_pre20200224.ebuild | 23 | ||||
-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 |
8 files changed, 37 insertions, 221 deletions
diff --git a/app-vim/Manifest.gz b/app-vim/Manifest.gz Binary files differindex 60bfa02569d3..b6962163fbac 100644 --- a/app-vim/Manifest.gz +++ b/app-vim/Manifest.gz diff --git a/app-vim/vim-nftables/Manifest b/app-vim/vim-nftables/Manifest new file mode 100644 index 000000000000..8bd931a9cce7 --- /dev/null +++ b/app-vim/vim-nftables/Manifest @@ -0,0 +1,3 @@ +DIST vim-nftables-0_pre20200224.tar.gz 2427 BLAKE2B a17780ffcabd1d323f3ccaa52e9726c2d8dc04583003fd8eaa799c897d1ccb1718a2ef28c2c06f0108785bdcc90addfb27d54f73db8d9f59b225e34c244cf179 SHA512 05dab5d9bdaed4ae1de9e00f2d6996f4350d859af73062d00417ee6567041c0a3fa6f50996fefa64e7a2410779b254ddeac1d5a893aa2f664504278b67fa2fd9 +EBUILD vim-nftables-0_pre20200224.ebuild 502 BLAKE2B 164a3201498bc9d2b9731257ec26c0fb7791a2c339c1a91e00d21dae349a902b415e5792c0bec89e5a2672681118ecca27a7c375cb584dece249e4b3c7b96a73 SHA512 26c2c3f39c08a4ac8ea2c5c63ceb62484bde70b847b6d4d013a56253955c4a9ee3a304dd612b8e2d6529ed8f677f04517069efc4d6a489f18d80a4a5b031830c +MISC metadata.xml 335 BLAKE2B e6d888e72998d7db2b4e8edfaeaa8de23bab3f0219feb2417efbbfc2eed225a462e261ba50330930e2b7f2dcbfba24423a6e7ed45c663e39c4a4d572f95e61e6 SHA512 6e1a94c30c49afdd2b7183033fac6c3dd47dd5bb6863a572a03634ec2f44ad520465b2cb1d677681ba23fc1235f3f5269b0783923f1d012ba5ab55e29dd2eef1 diff --git a/app-vim/vim-nftables/metadata.xml b/app-vim/vim-nftables/metadata.xml new file mode 100644 index 000000000000..0172dae3d8ef --- /dev/null +++ b/app-vim/vim-nftables/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + <maintainer type="project"> + <email>vim@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/app-vim/vim-nftables/vim-nftables-0_pre20200224.ebuild b/app-vim/vim-nftables/vim-nftables-0_pre20200224.ebuild new file mode 100644 index 000000000000..733427968a90 --- /dev/null +++ b/app-vim/vim-nftables/vim-nftables-0_pre20200224.ebuild @@ -0,0 +1,23 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit vim-plugin + +COMMIT_ID="01c7b97eff12fd4b624e6efa2c0468163db61ebc" + +DESCRIPTION="vim plugin: " +HOMEPAGE="https://github.com/nfnty/vim-nftables" +SRC_URI="https://github.com/nfnty/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT_ID}" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" + +src_prepare() { + default + + # will install license file by default + rm LICENSE || die +} 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}" -} |