app-vim/neoformat: Add new package, version 0.4.0_p20220901

Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
Nils Freydank 2022-09-20 09:46:55 +02:00
parent 324280a48d
commit 20fcc8a990
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112
3 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST neoformat-0.4.0_p20220901.tar.gz 28214 BLAKE2B f8c02c98fc26d2b40c0f7fd6e26828859a15d4e9051bf2b4b7ff13f09ab7d7b263a3c0941e82a6f13a9e503b752e9afb13d1e894e3d262cacfa027ee92d6a112 SHA512 894179a9c3256c28f6b0b015c244a0e2af6fe1c76fb2fe1a58924042fa6b21a0049b28e6ccfdd2eb71799dfc36d664f64e8e4ced4fa8fc4894f91c946f8d2af6

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>holgersson@posteo.de</email>
<name>Nils Freydank</name>
</maintainer>
<upstream>
<remote-id type="github">sbdchd/neoformat</remote-id>
</upstream>
</pkgmetadata>

View File

@ -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.
:;
}