mirror of
				https://github.com/TrentSPalmer/gentoo-overlay-trent.git
				synced 2025-10-30 09:31:42 -07:00 
			
		
		
		
	add youcompleteme-20200505
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| EBUILD youcompleteme-20200412.ebuild 4701 BLAKE2B badbd0f3af967609644f295caf730749083d1869a8fe66eb68487a84b354b6d1df95789827d223a14155c1ab7b765432e73f58f97901bbebcc2801527b17e2f9 SHA512 138ffd79a7d18c90a644ab7fcd13fc04be61cefdf73c2837545ec8a93a431ce0a38d3b888661ff256dd4cc6c9f1ee5f546e08561e3927141f9368ca958cbb696 | ||||
| EBUILD youcompleteme-20200415.ebuild 4768 BLAKE2B f31f1ceaea3c87648899847654cc1781caa0cf00043e1ea849e89fea3cd68d990219f74aed9cc9b028921a841a4c2725c3de2441495d53c5b570d763f5f57e60 SHA512 2a7a9d0b0d3b10de976ebde50b8e9487fa8f695a7c13c9ad1a1f538566cfe599a5d94a3b251339b372abe34c7ee2b396e225b36489ae8444b189d8aaa374635e | ||||
| EBUILD youcompleteme-20200420.ebuild 4430 BLAKE2B ac35190110eef93264debdbfd10957f7f4c9c0025d927457bf8d6d09ca9c128880491fcc71a11932ce4d10e6154e62718d9450244d8defc8dd68b1141668d9c0 SHA512 bff0625e2f2cd97041c1722f6384e078d1dc6b11551035247346ad4c27949fed1e20684fe1a2c59c443a3dc32d88a7d7abe49018b62ce6925c1edba728927ed1 | ||||
| EBUILD youcompleteme-20200505.ebuild 4430 BLAKE2B 751e45fd96783f3e83952a256fdeb7e64ae820b80ed797a4f99afc9084a0cebba497a9d62374f9489ab02b4d725772148c414d9ad5f663d2658bf019df0eec73 SHA512 b9c725ee6689e3b37eee567cdd2ac27d18932fe64bdd5af9c9d7fbc9e849d7d57ef5d8eab1e386bc0b3c1b5e4097fa83694eeda52ded8cf03211b6144b637f06 | ||||
| MISC README.md 1017 BLAKE2B b3ceff351a191e710ae7b9d55602a1a6d1858c403b61d5bcde8c1aac2203093ee15994ced762e9fc996e4b88e65f8f73fd0fd1e27dc5b7fe032291a75b3a53fe SHA512 fb8d02d90df215addc2b13e60975a3d1e41d3cca945294ca1a3013ab337b7dcd834151aabb7712036fb13189a53e69b14a531110cc3820431416cd620404d08f | ||||
| MISC metadata.xml 684 BLAKE2B ad2a46ec4665b4530aeca2821030dec6a7eccb020b65f61a79b58b2bff959f4964e44d81c3e2914ed344758bc1b80e18bd166ae638339d67b5360b9473804f0d SHA512 b9d20edf383cd83dfefaa2d46811c876de7b02985d5d8c86645d0e787f243710100d85adaf24311ef0c9020aace0a41083f4443134009f2b6533d8e2ba2887b9 | ||||
|   | ||||
| @@ -3,18 +3,17 @@ | ||||
| 
 | ||||
| EAPI=6 | ||||
| 
 | ||||
| PYTHON_COMPAT=( python3_6 ) | ||||
| PYTHON_COMPAT=( python3_7 ) | ||||
| 
 | ||||
| inherit eutils cmake-utils 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="97150c0b1fde6a7e3f3eea0abab7d114774dd1af" | ||||
| EGIT_COMMIT="630db0111f420ee1f33dfe6052029d0cf7f85bea" | ||||
| SRC_URI="" | ||||
| EGIT_SUBMODULES=( | ||||
| 	'third_party/ycmd' | ||||
| 	'third_party/ycmd/third_party/go/src/golang.org/x/tools' | ||||
| 	) | ||||
| 
 | ||||
| LICENSE="GPL-3" | ||||
| @@ -26,7 +25,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" | ||||
| COMMON_DEPEND=" | ||||
| 	${PYTHON_DEPS} | ||||
| 	clang? ( >=sys-devel/clang-7.0:= ) | ||||
| 	go?   ( dev-lang/go ) | ||||
| 	go?   ( dev-go/gopls ) | ||||
| 	tern? ( net-libs/nodejs ) | ||||
| 	typescript? ( net-libs/nodejs ) | ||||
| 	neovim? ( | ||||
| @@ -50,6 +49,9 @@ RDEPEND=" | ||||
| 	dev-python/numpydoc | ||||
| 	>=dev-python/jedi-0.12.1 | ||||
| 	dev-python/parso | ||||
| 	dev-python/watchdog | ||||
| 	dev-python/pathtools | ||||
| 	dev-python/flask-sphinx-themes | ||||
| " | ||||
| DEPEND=" | ||||
| 	${COMMON_DEPEND} | ||||
| @@ -91,13 +93,6 @@ src_configure() { | ||||
| src_compile() { | ||||
| 	cmake-utils_src_compile | ||||
| 
 | ||||
| 	if use go; | ||||
| 	then | ||||
| 		# export GOPATH="$GOPATH:${S}/third_party/ycmd/third_party/go" | ||||
| 		cd "${S}/third_party/ycmd/third_party/go/src/golang.org/x/tools/cmd/gopls" || die "failed cd to gopls" | ||||
| 		go build || die "failed to go build gocode GOPATH is $GOPATH" | ||||
| 	fi | ||||
| 
 | ||||
| 	if use tern; | ||||
| 	then | ||||
| 		cd "${S}/third_party/ycmd/third_party/tern_runtime" || die "no dir third_party/tern_runtime" | ||||
| @@ -129,11 +124,8 @@ src_install() { | ||||
| 
 | ||||
| 	if use go; | ||||
| 	then | ||||
| 		cd "${S}/third_party/ycmd/third_party/go/src/golang.org/x/tools/cmd/gopls" | ||||
| 		for f in $(ls -a | tail -n +3 | grep -v '^gopls$') | ||||
| 		do | ||||
| 			rm -rf "${f}" | ||||
| 		done | ||||
| 		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}" | ||||
		Reference in New Issue
	
	Block a user