mirror of
https://github.com/TrentSPalmer/gentoo-overlay-trent.git
synced 2024-11-24 10:51:29 -08:00
add oh-my-zsh-20221005
This commit is contained in:
parent
7f61c8d1f2
commit
1f259ad5b4
@ -1,5 +1,5 @@
|
||||
EBUILD oh-my-zsh-20220725.ebuild 2067 BLAKE2B 0b7e9be2a598ef811e35d7e48a961e022b1a135b2b91af0130d2e6ad5944302cd1877a35bb65801125da111f79fbfa49474e7128dfc46d7057e78915c459b759 SHA512 94af6fa9a3a465b9d7b34868a7a3f887a51ace8109fb857f6f2771863a03cba52a2058d76e5385256bda99836b0445534f5818647db6ca87d63c359c53a3fb65
|
||||
EBUILD oh-my-zsh-20220815.ebuild 2067 BLAKE2B 8a005922c75c2f026afbfde5551f2660ca14380368d3c00e564b58cab13a6a9df71b83c08dfa9460c598df6f445b0c9ce5e21f41db01f1962a96dfa281cc97e6 SHA512 8ed89cf0215591629c57b2ce997ca007b68dbc3bae6453680b1fa03204bb1062177681ba66cb9e344f0901c4caafcea47aa679ac85daeca080b3d34207ef5036
|
||||
EBUILD oh-my-zsh-20220824.ebuild 2067 BLAKE2B 36aa1c07a7f83cb6583a116626a80d31caedfbfb298e97737b4ef27732f08645eeb8395f5369d1b0c6f925ef434ec59422934e0244d670f84c3b425af8b0d069 SHA512 d71e71671dd46542219d9ec9f6ec7eeaadab4bde4232503b9ccd4bbafe1aeaae61d243046d10d059624852f587fb89e2e916cb9225a844ca627767867967ce17
|
||||
EBUILD oh-my-zsh-20221005.ebuild 2067 BLAKE2B 75592e80080bbf34460b6cee474dbf4189dfccb1e55d03c5ea819107efd59a268b3782d47814058100666ca530f94b0e6e9fbc3612e7268e7cf704b05829733c SHA512 fd4c38fbc4857d080a97d3f0db268f2053f2dbf49e6c363393a461628a63cf0c9f5f1ea024cb5144a029b6bfe0aa71c51e84c8564876bf6be2c33bd7dd61b545
|
||||
MISC README.md 206 BLAKE2B b60e00695526573cb1231a568ebdcc79654043923e2f01f258d28f2b24db41cf3d48ea0354daaf0c28c154dcf64ba8ee28ce583dbae9beef01f702a7ee006a36 SHA512 4252c5f2f3d2b29f8e9ae11f66d9a8e7a99ce8522b50b89ccbd54d06bf73b50dc0b0c3b882c21431828da5bc3561b63fe62b9fac6570a55f792bd2abd202d0a8
|
||||
MISC metadata.xml 222 BLAKE2B f0ecd2d956de9c731b8a6b6860f8756cb8dba0591f73463ce32d2747a1aa21296886faea89feee2b208286bbcdfe8e2e0a64263a92e954615fa94e2852d933d5 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef
|
||||
|
@ -4,7 +4,7 @@
|
||||
EAPI=6
|
||||
|
||||
EGIT_REPO_URI="https://github.com/robbyrussell/oh-my-zsh.git"
|
||||
EGIT_COMMIT="249c708ed3a4a7a63d16a6e911a46b6fb9623cbd"
|
||||
EGIT_COMMIT="570158e464c9f57ab03c4162b4e6853b2c7c650d"
|
||||
inherit git-r3 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="A ready-to-use zsh configuration with plugins"
|
@ -1,5 +1,5 @@
|
||||
EBUILD youcompleteme-20220711.ebuild 4198 BLAKE2B 3ec79c92d09c28a9adb39f15ad713e544f5b6383c5876d4df7ad4ef63f2b8fa497fd6e04bccd90610489ac5d23fb6982373644fb4000ab38269da641663bc31e SHA512 217d0d18d6db02068ac622848c587ecf54864934d7442d981349ec16ceb419dcafa91a65a1b76ca8b0a3356ce63e8e98f9101c91fefdbd34fc671703279932f0
|
||||
EBUILD youcompleteme-20220819.ebuild 4198 BLAKE2B dc2245052ff85dad994ecdb111127b645ac848242aaf947d572b6639577f3c80770da67ca19e6cf1e27e168b79c4bdfd47b43b6fce3c2654e6648602274a6720 SHA512 d1f6d0cb207bd99d4945b8378dc9a13abf84b3330c14d883e4c6d21a769aa75fcc477aac6c2ab6efff43e522270014f7a88ffec0635a824206a68c027cac4ab1
|
||||
EBUILD youcompleteme-20220824.ebuild 4198 BLAKE2B 7becbd022b98be07b22f78795b8400fc2e887744ae9142140dd9601c2af8354adbf341171355d0a1f3a9b8b29864084107161bf7d382ac2e67db58a64e4872d5 SHA512 0553f362b4a43fdef17ae4ee4936347c059b6d2a0a78c23c141325a41b472f4462929206b857bd4d8fc32718f5aaebb290379080d3ef0915068f59871e6e9340
|
||||
EBUILD youcompleteme-20220829.ebuild 4198 BLAKE2B bac80e19b29df89c33c4ff0b0daae64bcbb62b2af86a1ca45037b9fb457f3d0ff92937c03180df208882ad687f814683ac802d34367ba7f03f52a83a162bea0c SHA512 89ec1afd22aeaf30fcc6af87cd39ff437270bc141a3a3845ab6cd7069836a547a97e21586b13175a88fd409f4ca2acb1bcf622ed0a4843660f6df0815645468d
|
||||
MISC README.md 1017 BLAKE2B b3ceff351a191e710ae7b9d55602a1a6d1858c403b61d5bcde8c1aac2203093ee15994ced762e9fc996e4b88e65f8f73fd0fd1e27dc5b7fe032291a75b3a53fe SHA512 fb8d02d90df215addc2b13e60975a3d1e41d3cca945294ca1a3013ab337b7dcd834151aabb7712036fb13189a53e69b14a531110cc3820431416cd620404d08f
|
||||
MISC metadata.xml 684 BLAKE2B ad2a46ec4665b4530aeca2821030dec6a7eccb020b65f61a79b58b2bff959f4964e44d81c3e2914ed344758bc1b80e18bd166ae638339d67b5360b9473804f0d SHA512 b9d20edf383cd83dfefaa2d46811c876de7b02985d5d8c86645d0e787f243710100d85adaf24311ef0c9020aace0a41083f4443134009f2b6533d8e2ba2887b9
|
||||
|
@ -1,155 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
|
||||
inherit eutils cmake git-r3 multilib python-single-r1 vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: a code-completion engine for Vim"
|
||||
HOMEPAGE="https://github.com/Valloric/YouCompleteMe"
|
||||
EGIT_REPO_URI="https://github.com/Valloric/YouCompleteMe"
|
||||
EGIT_COMMIT="d35df6136146b12f3a78f8b8fbdaf55f4e2ee462"
|
||||
SRC_URI=""
|
||||
EGIT_SUBMODULES=(
|
||||
'third_party/ycmd'
|
||||
)
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="clang +doc test go tern +neovim typescript"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
clang? ( >=sys-devel/clang-7.0:= )
|
||||
go? ( dev-go/gopls )
|
||||
tern? ( net-libs/nodejs )
|
||||
typescript? ( net-libs/nodejs )
|
||||
neovim? (
|
||||
>=app-editors/neovim-0.5.0
|
||||
dev-python/pynvim
|
||||
)
|
||||
dev-libs/boost[python]
|
||||
|| (
|
||||
app-editors/vim[python]
|
||||
app-editors/gvim[python]
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-python/bottle
|
||||
dev-python/regex
|
||||
dev-python/sh
|
||||
dev-python/numpydoc
|
||||
>=dev-python/jedi-0.12.1
|
||||
dev-python/parso
|
||||
dev-python/watchdog
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? (
|
||||
>=dev-python/mock-1.0.1
|
||||
>=dev-python/nose-1.3.0
|
||||
dev-cpp/gmock
|
||||
dev-cpp/gtest
|
||||
)
|
||||
"
|
||||
|
||||
CMAKE_IN_SOURCE_BUILD=1
|
||||
CMAKE_USE_DIR=${S}/third_party/ycmd/cpp
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use test ; then
|
||||
sed -i '/^add_subdirectory( tests )/d' third_party/ycmd/cpp/ycm/CMakeLists.txt || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_CLANG_COMPLETER="$(usex clang)"
|
||||
-DUSE_SYSTEM_LIBCLANG="$(usex clang)"
|
||||
-DUSE_SYSTEM_BOOST=ON
|
||||
-DUSE_SYSTEM_GMOCK=ON
|
||||
-DUSE_PYTHON2=OFF
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
if use tern;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/tern_runtime" || die "no dir third_party/tern_runtime"
|
||||
npm install --production --python=python3 || die "npm install failed"
|
||||
fi
|
||||
|
||||
if use typescript;
|
||||
then
|
||||
mkdir -p "${S}/third_party/ycmd/third_party/tsserver" || die "no dir third_party/tsserver"
|
||||
npm install -g --prefix third_party/tsserver typescript --python=python3
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
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 --verbose || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
if use go;
|
||||
then
|
||||
mkdir -p "${S}/third_party/ycmd/third_party/go/bin"
|
||||
ln -s /usr/bin/gopls "${S}/third_party/ycmd/third_party/go/bin/gopls"
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
use doc && dodoc *.md third_party/ycmd/*.md
|
||||
# rm -r *.md *.sh *.py* *.ini *.yml COPYING.txt third_party/ycmd/cpp third_party/ycmd/ci third_party/ycmd/examples/samples || die
|
||||
rm -r *.md *.sh *.py* *.ini *.yml COPYING.txt third_party/ycmd/examples/samples || die
|
||||
# rm -r third_party/ycmd/{*.md,*.sh,*.yml,.coveragerc,.gitignore,.gitmodules,.travis.yml,build.*,*.txt,run_tests.*,*.ini,update*} || die
|
||||
rm -r third_party/ycmd/{*.md,*.sh,*.yml,.coveragerc,.gitignore,.gitmodules,build.*,*.txt,run_tests.*,*.ini,update*} || die
|
||||
find python -name *test* -exec rm -rf {} + || die
|
||||
find third_party/ycmd/third_party -name test -exec rm -rf {} + || die
|
||||
egit_clean
|
||||
# use clang && (rm third_party/ycmd/third_party/clang/lib/libclang.so* || die)
|
||||
|
||||
vim-plugin_src_install
|
||||
|
||||
use go || rm -rf "${D}/usr/share/vim/vimfiles/third_party/ycmd/ycmd/completers/go"
|
||||
use go || rm -rf "${D}/usr/share/vim/vimfiles/third_party/ycmd/third_party/go"
|
||||
if ! use tern;
|
||||
then
|
||||
if ! use typescript;
|
||||
then
|
||||
rm -rf "${D}/usr/share/vim/vimfiles/third_party/ycmd/third_party/tern_runtime"
|
||||
rm -rf "${D}/usr/share/vim/vimfiles/third_party/ycmd/ycmd/completers/javascript"
|
||||
fi
|
||||
fi
|
||||
# use tern || rm -rf "${D}/usr/share/vim/vimfiles/third_party/ycmd/third_party/tern_runtime"
|
||||
# use nodejs || rm -rf "${D}/usr/share/vim/vimfiles/third_party/ycmd/ycmd/completers/javascript"
|
||||
find "${D}" -name .gitignore -exec rm -rf {} + || die
|
||||
find "${D}" -name .travis.yml -exec rm -rf {} + || die
|
||||
find "${D}" -name README.rst -exec rm -rf {} + || die
|
||||
|
||||
python_optimize "${ED}"
|
||||
python_fix_shebang "${ED}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user