diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-16 22:58:59 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-20 13:40:21 +0200 |
commit | 950d075b4e0fad3946cd183e861ec06f1d96cae1 (patch) | |
tree | 1213f10af371247b26d80e1c48c2ad9d5e48ee37 /app-editors/vis | |
parent | app-crypt/envchain: drop 1.0.0, EAPI-6-- (diff) | |
download | gentoo-950d075b4e0fad3946cd183e861ec06f1d96cae1.tar.gz gentoo-950d075b4e0fad3946cd183e861ec06f1d96cae1.tar.bz2 gentoo-950d075b4e0fad3946cd183e861ec06f1d96cae1.zip |
app-editors/vis: drop 0.5, EAPI-6--
Closes: https://bugs.gentoo.org/768357
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-editors/vis')
-rw-r--r-- | app-editors/vis/Manifest | 2 | ||||
-rw-r--r-- | app-editors/vis/vis-0.5.ebuild | 69 |
2 files changed, 0 insertions, 71 deletions
diff --git a/app-editors/vis/Manifest b/app-editors/vis/Manifest index b6d7a71c35d4..6493d5119b5d 100644 --- a/app-editors/vis/Manifest +++ b/app-editors/vis/Manifest @@ -1,4 +1,2 @@ -DIST vis-0.5.tar.gz 390461 BLAKE2B e628891c48dbbd11ed706768a3c625ffe9edf4fea3cd77452b4b41ae0d50194a31647e4cc945b69fb3af8fe7fd76ebf5f7afd8c2baa356f5f9fd3cc04be129ca SHA512 fe6b0394006562177efdf06713d7b95cd12fabf90b171c262eb2620d2b0944e73d3d8bb61f4f0d43d32154f0490c338bbc161a89455b14bb8a9d22cd75097780 DIST vis-0.7.tar.gz 403918 BLAKE2B 5e4930fdb14ed42a2daf6682a99107ee6eb59e99e348abab5262bdbc53956dd9ccd094695d7f53c6770d10e46b2812b0e07ff90184ff920790f5b95f4091a610 SHA512 ccc6a054fea6917e7751882468a74c30c712f7ec400a913c95c0084691f706e2bee54efb86b75be8b121c9a209c7e587e72e5474c55271d9943e91fc8aaf9bac -DIST vis-test-0.3.tar.gz 97814 BLAKE2B f62b216df3d846bb8bfdb14f6092309b55f6571cbc980e7a9aed46b1672fbaa65c007ac4617266dff3d5ad0293e3f5e7bd8390252817ebcdd6f64edb350f82ee SHA512 5f68a70cf6f1fb64f9b50c1a56940c966f205e51240c7dd1175bc15f3e42b475fb6842a53e36547113955c2efa359de0cc71e0800305b0e45881c319a14564e5 DIST vis-test-0.5.tar.gz 99314 BLAKE2B 988d7e93d0f3c58d2fc8fbe9293049c6a3cc44dfcbfbd4f42f7992815cf33a604340b59171dcd880f7180ae56e3f73f46684b7aacd96438480db6c4592851f2c SHA512 c41b40f23a45a7ebd9c16aa853d9c3b517767cb88ff8dc268da44276a02aa8c77de0fc6aa243a1e4cdfbc27182870b82d0b9bc892bb87ea74d5275d76c554ed1 diff --git a/app-editors/vis/vis-0.5.ebuild b/app-editors/vis/vis-0.5.ebuild deleted file mode 100644 index e7cf08742d4e..000000000000 --- a/app-editors/vis/vis-0.5.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# 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 arm x86" -IUSE="+ncurses selinux test tre" -RESTRICT="!test? ( test )" - -#Note: vis is reported to also work with NetBSD curses -#TODO: >=dev-lang/lua-5.2 (needed for syntax highlighting and settings) -DEPEND="dev-libs/libtermkey - ncurses? ( sys-libs/ncurses:0= ) - tre? ( dev-libs/tre:= )" -RDEPEND="${DEPEND} - app-eselect/eselect-vi" - -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 - - # https://bugs.gentoo.org/722014 https://github.com/martanne/vis-test/pull/22 - sed -i 's;./ccan-config > config.h;./ccan-config "${CC}" ${CFLAGS} > config.h;' test/core/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() { - export CFLAGS="$CFLAGS -fcommon" # https://github.com/martanne/vis-test/issues/21 - - ./configure \ - --prefix="${EPREFIX}"/usr \ - --docdir="${EPREFIX}"/usr/share/doc/${PF} \ - $(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 -} |