diff --git a/app-vim/neoformat/Manifest b/app-vim/neoformat/Manifest new file mode 100644 index 0000000..c2e67b6 --- /dev/null +++ b/app-vim/neoformat/Manifest @@ -0,0 +1 @@ +DIST neoformat-0.4.0_p20220901.tar.gz 28214 BLAKE2B f8c02c98fc26d2b40c0f7fd6e26828859a15d4e9051bf2b4b7ff13f09ab7d7b263a3c0941e82a6f13a9e503b752e9afb13d1e894e3d262cacfa027ee92d6a112 SHA512 894179a9c3256c28f6b0b015c244a0e2af6fe1c76fb2fe1a58924042fa6b21a0049b28e6ccfdd2eb71799dfc36d664f64e8e4ced4fa8fc4894f91c946f8d2af6 diff --git a/app-vim/neoformat/metadata.xml b/app-vim/neoformat/metadata.xml new file mode 100644 index 0000000..19bcaaf --- /dev/null +++ b/app-vim/neoformat/metadata.xml @@ -0,0 +1,11 @@ + + + + + holgersson@posteo.de + Nils Freydank + + + sbdchd/neoformat + + diff --git a/app-vim/neoformat/neoformat-0.4.0_p20220901.ebuild b/app-vim/neoformat/neoformat-0.4.0_p20220901.ebuild new file mode 100644 index 0000000..1ab176a --- /dev/null +++ b/app-vim/neoformat/neoformat-0.4.0_p20220901.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit vim-plugin +COMMIT_ID="0ae951121da29a157d80db70c32679b428afffdc" + +DESCRIPTION="vim plugin: in-buffer formatter runner" +HOMEPAGE="https://github.com/sbdchd/neoformat" + +if [[ ${PV} == *9999 ]] +then + inherit git-r3 + EGIT_REPO_URI="https://github.com/sbdchd/neoformat.git" +else + if [[ ${PV} == *_p* ]]; then + SRC_URI="https://github.com/sbdchd/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT_ID}" + else + SRC_URI="https://github.com/sbdchd/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + fi +fi + +LICENSE="BSD-2" +IUSE="test" +RESTRICT="!test? ( test )" +KEYWORDS="~amd64 ~x86" + +DOCS=( README.md ) + +src_compile() { + # The Makefile runs only tests. + :; +}