enable USE="doc vim neovim" app-vim/vimscripts-autoclose

This commit is contained in:
layman 2018-02-24 09:28:03 -08:00
parent 5099d598f8
commit 202a51355a
4 changed files with 30 additions and 11 deletions

7
app-vim/metadata.xml Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>trenttdually@gmail.com</email>
</maintainer>
</pkgmetadata>

View File

@ -1,4 +1,4 @@
DIST vimscripts-autoclose-1.2.tar.gz 3634 SHA256 c72434927ba80ed09f0f4ba9f3b1eaba0fa26b02c4cc6944fcb05b0371c78388 SHA512 3c99453b9b31c3e0247006240876dca65483a7e19b8249166a64ac2698e043771b3cd98f2b40d6117809e88a02ade32c35c2d89691896b829b8807805a36eb48 WHIRLPOOL cc448fdf581146fd9599083b5709be6ce1f8b4531886f5ee87b7fcc91e3ce563c6392224492e9d296c4109ed9c5c6320ec6b9ff4d9ac61b7a288824418083d41 DIST vimscripts-autoclose-1.2.tar.gz 3634 SHA256 c72434927ba80ed09f0f4ba9f3b1eaba0fa26b02c4cc6944fcb05b0371c78388 SHA512 3c99453b9b31c3e0247006240876dca65483a7e19b8249166a64ac2698e043771b3cd98f2b40d6117809e88a02ade32c35c2d89691896b829b8807805a36eb48 WHIRLPOOL cc448fdf581146fd9599083b5709be6ce1f8b4531886f5ee87b7fcc91e3ce563c6392224492e9d296c4109ed9c5c6320ec6b9ff4d9ac61b7a288824418083d41
EBUILD vimscripts-autoclose-1.2-r1.ebuild 576 SHA256 7ffac50f5e718aa2e3eb18fb9e609ee94a85b8dff65cc155076f29589bf7e98b SHA512 578f6e516ffeb2c760242f7a8fbe6af72087ab1c86f5a1932683d025bc6b65284f255096a5f0d57c04696b06dff711805a317304050ad583959ad425ea214488 WHIRLPOOL d774f551f9b71f50d15a8f5e4f79e3ec6025a21a2bfbe3fccdb4860ee8a35f4ab357f45538a3d4c1cd3c80d5f16f4b38729f7e0dcbfc1b1188e7075c310b57ef EBUILD vimscripts-autoclose-1.2-r2.ebuild 872 SHA256 2e803c7e3b563e2775ad1adbd63a0423afcfb582f5d2f631ed63b9570e02dece SHA512 0df0897a58dcf0d963b9ae9b52c330540c59f616afb0d8d4ee5abeb3c47321a431c1237a2d613e7b2c32bd0a1fd5cebb06c8a0ffb5d5285dce1ed63997359b07 WHIRLPOOL 4fc0cfcfbfd547ca287781a3384903e98b834414fe271f18859e8c9e1aaac88e1f45c765c10e999d6124e0592832ab1fde73ad6cde29eeb2d09240a1cb36ff73
MISC README.md 232 SHA256 992212861189cedd249f6ab4b126208c168a49bc6b0a083636225f5c915427ac SHA512 58327cc73d4152c5f7f8725c9b72b75f431d2e5b2052f699df158d44c0d6be76055e83a205e21fcad97b85d6d205a7f8f64c3177e8f43c86f0a29d5fd1872e12 WHIRLPOOL b0d340a1133ed689fa629ef2840589fc909d414abfe3bd85703cf48552845bb1d702db89995deb97d6be459d2d35b19516581845f9fa2743bf5c65f983d05a44 MISC README.md 232 SHA256 992212861189cedd249f6ab4b126208c168a49bc6b0a083636225f5c915427ac SHA512 58327cc73d4152c5f7f8725c9b72b75f431d2e5b2052f699df158d44c0d6be76055e83a205e21fcad97b85d6d205a7f8f64c3177e8f43c86f0a29d5fd1872e12 WHIRLPOOL b0d340a1133ed689fa629ef2840589fc909d414abfe3bd85703cf48552845bb1d702db89995deb97d6be459d2d35b19516581845f9fa2743bf5c65f983d05a44
MISC metadata.xml 364 SHA256 54220218540bd2ed904fc31938fdedd7d11523e4c7d1338e42f726fddd42d1b5 SHA512 2fad62c2c82b5721bf9f435194fe5277fecf55805da356af2d2a38421b3a3de682b7c0997bd72e72621b24c8cba657f6c09eb5a88cca3f9706d2fdc830399991 WHIRLPOOL 33e164f762cb7cafc970756f39fd9bdf635f0f3913f98a8c0c8e582307f1e003d0896f27f9e068db58057c96487a049c3ec8fd26e9f4e427a33a2cfca1515f50 MISC metadata.xml 335 SHA256 7b11b1ece879e6219db62f69cadbd41e7292e15691f5a27525a5528d0b6b9be3 SHA512 5c8594d568ba259e78eab6d9afd7134ffb2554a8f0b933beb7f9985af60634f49cb30ea25adb8e4a58abbe1a0d5a52c3928d348bda4e2de34d46f3a432067b7c WHIRLPOOL 321ee9ee0b30ba6b8df5fd55998ede01f40f5c0a37d5732d06f464ad95fe1a822dff8b379063ea215bfd20c74e03e04bc20e5d292fe7d1a2f1238980418204aa

View File

@ -1,12 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<maintainer type="person"> <maintainer type="person">
<email>trenttdually@gmail.com</email> <email>trenttdually@gmail.com</email>
<name>Trent Palmer</name>
<name>TrentSPalmer</name>
</maintainer> </maintainer>
<upstream> <use>
<remote-id type="github">vim-scripts/AutoClose</remote-id> <flag name="vim">Enable use with vim</flag>
</upstream> <flag name="neovim">Enable use with neovim</flag>
</use>
</pkgmetadata> </pkgmetadata>

View File

@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation # Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=6 EAPI=6
@ -8,9 +8,21 @@ inherit eutils vim-plugin
DESCRIPTION="vimscripts plugin: open-close pair of characters" DESCRIPTION="vimscripts plugin: open-close pair of characters"
HOMEPAGE="https://github.com/vim-scripts/AutoClose" HOMEPAGE="https://github.com/vim-scripts/AutoClose"
SRC_URI="https://github.com/vim-scripts/AutoClose/archive/${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/vim-scripts/AutoClose/archive/${PV}.tar.gz -> ${P}.tar.gz"
# unknown license, actually
LICENSE="vim" LICENSE="vim"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86"
# to enable invented use flags vim and neovim,
# they are described in metadata.xml
IUSE="+doc +vim +neovim"
# runtime dependencies
RDEPEND="
vim? ( app-editors/vim )
neovim? ( app-editors/neovim )
"
src_unpack() { src_unpack() {
unpack ${A} unpack ${A}
cd "${WORKDIR}" cd "${WORKDIR}"
@ -23,6 +35,7 @@ src_prepare() {
src_install() { src_install() {
insinto /usr/share/nvim/runtime insinto /usr/share/nvim/runtime
doins -r plugin use neovim && doins -r plugin
vim-plugin_src_install use vim && vim-plugin_src_install
use doc || rm -rf "${D}/usr/share/doc"
} }