commit: 0d45136aee6851fc9b0f9c0c709a2ea5dc46cbe7 parent 035d037d726c19f6db61b2d6a99ccc722a33b7e0 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Mon, 21 Dec 2020 21:57:37 +0100 app-editors/vis: Cleanup, use the one in gentoo repoDiffstat:
D | app-editors/vis/Manifest | 2 | -- |
D | app-editors/vis/metadata.xml | 20 | -------------------- |
D | app-editors/vis/vis-0.5.ebuild | 65 | ----------------------------------------------------------------- |
D | app-editors/vis/vis-9999.ebuild | 57 | --------------------------------------------------------- |
4 files changed, 0 insertions(+), 144 deletions(-)
diff --git a/app-editors/vis/Manifest b/app-editors/vis/Manifest @@ -1,2 +0,0 @@ -DIST vis-0.5.tar.gz 390461 BLAKE2B e628891c48dbbd11ed706768a3c625ffe9edf4fea3cd77452b4b41ae0d50194a31647e4cc945b69fb3af8fe7fd76ebf5f7afd8c2baa356f5f9fd3cc04be129ca SHA512 fe6b0394006562177efdf06713d7b95cd12fabf90b171c262eb2620d2b0944e73d3d8bb61f4f0d43d32154f0490c338bbc161a89455b14bb8a9d22cd75097780 -DIST vis-test-0.3.tar.gz 97814 BLAKE2B f62b216df3d846bb8bfdb14f6092309b55f6571cbc980e7a9aed46b1672fbaa65c007ac4617266dff3d5ad0293e3f5e7bd8390252817ebcdd6f64edb350f82ee SHA512 5f68a70cf6f1fb64f9b50c1a56940c966f205e51240c7dd1175bc15f3e42b475fb6842a53e36547113955c2efa359de0cc71e0800305b0e45881c319a14564e5 diff --git a/app-editors/vis/metadata.xml b/app-editors/vis/metadata.xml @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> - </maintainer> - <upstream> - <changelog>https://github.com/martanne/vis</changelog> - <bugs-to>https://github.com/martanne/vis/issues</bugs-to> - <remote-id type="github">martanne/vis</remote-id> - </upstream> - <longdescription lang="en"> -Vis aims to be a modern, legacy free, simple yet efficient editor combining the strengths of both vi(m) and sam. -</longdescription> - <use> - <flag name="tre">more memory efficient regex search using <pkg>dev-libs/tre</pkg></flag> - <flag name="lpeg">runtime for syntax highlight using <pkg>dev-lua/lpeg</pkg></flag> - </use> -</pkgmetadata> diff --git a/app-editors/vis/vis-0.5.ebuild b/app-editors/vis/vis-0.5.ebuild @@ -1,65 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MY_PTV=0.3 - -DESCRIPTION="modern, legacy free, simple yet efficient vim-like editor" -HOMEPAGE="https://github.com/martanne/vis" -SRC_URI="https://github.com/martanne/vis/releases/download/v${PV}/vis-v${PV}.tar.gz -> ${P}.tar.gz - test? ( https://github.com/martanne/vis-test/releases/download/v${MY_PTV}/vis-test-${MY_PTV}.tar.gz -> vis-test-${MY_PTV}.tar.gz )" -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+ncurses lua lpeg selinux test tre" - -#TODO: virtual/curses -DEPEND="dev-libs/libtermkey - lua? ( >=dev-lang/lua-5.2:= ) - ncurses? ( sys-libs/ncurses:= ) - tre? ( dev-libs/tre:= )" -RDEPEND="${DEPEND} - app-eselect/eselect-vi - lua? ( lpeg? ( >=dev-lua/lpeg-0.12 ) )" - -S="${WORKDIR}/vis-v${PV}" - -src_prepare() { - if use test; then - rm -r test || die - mv "${WORKDIR}/vis-test-${MY_PTV}" test || die - if ! type -P vim &>/dev/null; then - sed -i 's/.*vim.*//' test/Makefile || die - fi - fi - - sed -i 's|STRIP?=.*|STRIP=true|' Makefile || die - sed -i 's|${DOCPREFIX}/vis|${DOCPREFIX}|' Makefile || die - sed -i 's|DOCUMENTATION = LICENSE|DOCUMENTATION =|' Makefile || die - - default -} - -src_configure() { - ./configure \ - --prefix="${EROOT}usr" \ - --docdir="${EROOT}usr/share/doc/${PF}" \ - $(use_enable lua) \ - $(use_enable ncurses curses) \ - $(use_enable selinux) \ - $(use_enable tre) || die -} - -update_symlinks() { - einfo "Calling eselect vi update --if-unset…" - eselect vi update --if-unset -} - -pkg_postrm() { - update_symlinks -} - -pkg_postinst() { - update_symlinks -} diff --git a/app-editors/vis/vis-9999.ebuild b/app-editors/vis/vis-9999.ebuild @@ -1,57 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit git-r3 - -DESCRIPTION="modern, legacy free, simple yet efficient vim-like editor." -HOMEPAGE="https://github.com/martanne/vis" -EGIT_REPO_URI="https://github.com/martanne/vis.git" -LICENSE="ISC" -SLOT="0" -KEYWORDS="" -IUSE="+ncurses lua lpeg selinux test tre" - -#TODO: virtual/curses -DEPEND="dev-libs/libtermkey - lua? ( >=dev-lang/lua-5.2:= ) - tre? ( dev-libs/tre:= ) - ncurses? ( sys-libs/ncurses:= )" -RDEPEND="${DEPEND} - lua? ( lpeg? ( >=dev-lua/lpeg-0.12 ) ) - app-eselect/eselect-vi" - -src_prepare() { - if use test; then - type -P vim &>/dev/null || sed -i 's/.*vim.*//' test/Makefile || die - fi - - sed -i 's|STRIP?=.*|STRIP=true|' Makefile || die - sed -i 's|${DOCPREFIX}/vis|${DOCPREFIX}|' Makefile || die - sed -i 's|DOCUMENTATION = LICENSE|DOCUMENTATION =|' Makefile || die - - default -} - -src_configure() { - ./configure \ - --prefix="${EROOT}usr" \ - --docdir="${EROOT}usr/share/doc/${PF}" \ - $(use_enable lua) \ - $(use_enable ncurses curses) \ - $(use_enable selinux) \ - $(use_enable tre) || die -} - -update_symlinks() { - einfo "Calling eselect vi update --if-unset…" - eselect vi update --if-unset -} - -pkg_postrm() { - update_symlinks -} - -pkg_postinst() { - update_symlinks -}