app-vim/vimwiki: Add new package version 2.5

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
This commit is contained in:
Nils Freydank 2021-02-26 21:32:04 +01:00
parent d2fec62a0d
commit 36ccd130ab
No known key found for this signature in database
GPG Key ID: BC5DC2998AAD2B21
3 changed files with 84 additions and 0 deletions

22
app-vim/vimwiki/Manifest Normal file
View File

@ -0,0 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST vimwiki-2.5.tar.gz 1642297 BLAKE2B 20d77f12aca001708c30835027d7146b0f589776cf7e3f92615d8b50cc8397d43ef8c3453c1007fa82b032a743a3a4ecca4dc73123487c1603f87312cf085e90 SHA512 d99232aeb040a3aa3ef6212653074f72d48451a541aeba2c5fbc5444d2d383ffe59cdce4acda6e0d6a75fd7eda22f48e8c99a5780f6c33a31a6f52dcb7c54d6c
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAmAxNk9fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcy
MERFQ0UyRTUxQUUxNzEzQkQ5NzU5MEJDNURDMjk5OEFBRDJCMjEACgkQvF3CmYqt
KyEHgw/+LevP7UV9ZkHwxXgAluShaUZJJAflwqMd8qLcJMogcTBtwQrDv0+GvgoJ
52nu3qeDKBOYCOfod/qGSrZhaNNRWFSi2PKLrNkITCjWjbbU9j7PfjK+Qv06VzKa
l7NDA1TrzuRPiuEzgMnoTAdAgJ4YLkEhm6zb3V5dErlwwf2DTHaUeEiec6ZbiPZ1
QDDJ6Sfxt+JjG3fVVBAwENNxSfabPjps7/ko282Br3wbGcpxlgvHIthD3alS5XH8
JysmQUOd1vOQ8Eq0QMDAoZrYIWYBNMKjCoFEG86Fgg8fGXTdjG6jXqmNSYDuCs1D
pgtBDmhxaTqBLzUVwVcvOIoNwGA+uNzuKwwiWMk6BwuvIaoo2QdoWcI5FwoJc5Bq
+FNI9tJNhiRZpmrL6DHlA3HlyprFN2w4FP41S55ZdzJyrI7AuFWE+F2cpH5FnC/x
Cj+JXkSDuJx5uKXhSW97oB/AM0/3Z3hXrI1bEoYLj/+6NMJ+x7St3EMDySWuHyhw
zmQXcAYntAdznIOYAP1AOJLrKepvRWtlxNtPm6tRTOcGuUD08jEkhMnP78ajUEL7
eGIUUCzAI3HPJ4KITNJ8IceirIpcZbiEZfeRpt4BZfFXjfRj9Zi1TKBNjWdxgydQ
KS4+ErHJjpEHvqRc99Y25d/EmsWiVZfnA2h4AzaEpFz/ttUvfDM=
=2zvF
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://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">vimviki/vimwiki</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,51 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit vim-plugin
DESCRIPTION="vim plugin: Personal Wiki"
HOMEPAGE="https://github.com/vimwiki/vimwiki"
LICENSE="MIT"
IUSE="test"
RESTRICT="!test? ( test )"
if [[ ${PV} == *9999 ]]
then
inherit git-r3
EGIT_REPO_URI="https://github.com/vimwiki/vimwiki.git"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DOCS=(
CONTRIBUTING.md
DesignNotes.md
README.md
README-cn.md
)
src_prepare() {
default
if ! use test; then
rm -rf test || die
rm -f Dockerfile || die
fi
# We store the appropriate license information inside the portage tree.
rm -rf LICENSE.md || die
}
pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
# ^this is a new installation, so:
elog ""
elog "Please ensure that you have set the following in your vimrc:"
elog "set nocompatible"
elog "set filetype plugin on"
elog "syntax on"
elog "For details see https://github.com/vimwiki/vimwiki#prerequisites"
fi
}