commit: 7636d15b1344789ddaf187f2561b3f72efa15215 Author: Stephen Arnold <nerdboy <AT> gentoo <DOT> org> AuthorDate: Fri Oct 4 02:43:40 2019 +0000 Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org> CommitDate: Fri Oct 4 02:43:40 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7636d15b
app-misc/vit: switch to current upstream, remove stale files/cruft * add last perl-based release * remove stale ebuilds and patches Package-Manager: Portage-2.3.67, Repoman-2.3.12 Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org> app-misc/vit/Manifest | 2 +- app-misc/vit/files/vit-allow-nonsudo-install.patch | 36 ------------------- app-misc/vit/files/vit-fix-man-installs.patch | 19 ---------- app-misc/vit/metadata.xml | 13 ++++--- app-misc/vit/vit-1.2-r1.ebuild | 38 -------------------- app-misc/vit/vit-1.3.ebuild | 23 +++++++++++++ app-misc/vit/vit-9999.ebuild | 40 ---------------------- 7 files changed, 32 insertions(+), 139 deletions(-) diff --git a/app-misc/vit/Manifest b/app-misc/vit/Manifest index aa025bce1d4..a510b610e0b 100644 --- a/app-misc/vit/Manifest +++ b/app-misc/vit/Manifest @@ -1 +1 @@ -DIST vit-1.2.tar.gz 49346 BLAKE2B e1dd7cae2db714e20c60dbff704575e185ae2d844f3be8934dbfe0ca8e754b64ad3bd800407ab31024b81cf06f32fde61914e008e1c5d2d4293ee4060785321f SHA512 dc0e09fbec7d77817b044f437e42108a9282e387698dfe23bfbe50a083b708d5d3b432ce9b1fdb93f3fef495af2a5f16107351557a4bb9184c7c762b264f0ed3 +DIST vit-1.3.tar.gz 56035 BLAKE2B 871e29767dd5aeb39e6876981246c7d42cdbe45320e3a2524bbc3c2aa055b65a04a54ee4a2bc122c3bf689fec93f117ec7b238dd5462a9133c35cf177cf454e7 SHA512 45ae4a1d08560d534a02a046d2fcf55c5401f9aaab0abcfbd13070fee28854268ba327018aea40317a184b9e28b074973f5d3e4169a479227e94b8401f066527 diff --git a/app-misc/vit/files/vit-allow-nonsudo-install.patch b/app-misc/vit/files/vit-allow-nonsudo-install.patch deleted file mode 100644 index 0f5626cce37..00000000000 --- a/app-misc/vit/files/vit-allow-nonsudo-install.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff --git a/Makefile.in b/Makefile.in -index 87abf5b..66d6acd 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -7,6 +7,8 @@ VERSION=@VERSION@ - TASK=@TASK@ - PERL=@PERL@ - CLEAR=@CLEAR@ -+SUDO=@SUDO@ -+SUDO=sudo - - .PHONY : install - -@@ -28,14 +30,14 @@ build: - chmod 755 vit - - install: -- sudo mkdir -p @prefix@/bin -- sudo cp vit @prefix@/bin/vit -- sudo mkdir -p @prefix@/man/man1 -- sudo cp vit.1 @prefix@/man/man1/ -- sudo mkdir -p @prefix@/man/man5 -- sudo cp vitrc.5 @prefix@/man/man5/ -- sudo mkdir -p @prefix@/etc/ -- sudo cp commands @prefix@/etc/vit-commands -+ $(SUDO) mkdir -p $(DESTDIR)@prefix@/bin -+ $(SUDO) cp vit $(DESTDIR)@prefix@/bin/vit -+ $(SUDO) mkdir -p $(DESTDIR)@prefix@/man/man1 -+ $(SUDO) cp vit.1 $(DESTDIR)@prefix@/man/man1/ -+ $(SUDO) mkdir -p $(DESTDIR)@prefix@/man/man5 -+ $(SUDO) cp vitrc.5 $(DESTDIR)@prefix@/man/man5/ -+ $(SUDO) mkdir -p $(DESTDIR)@prefix@/etc/ -+ $(SUDO) cp commands $(DESTDIR)@prefix@/etc/vit-commands - - autoconf: - @make -f .makefile autoconf diff --git a/app-misc/vit/files/vit-fix-man-installs.patch b/app-misc/vit/files/vit-fix-man-installs.patch deleted file mode 100644 index 9d13fbb287a..00000000000 --- a/app-misc/vit/files/vit-fix-man-installs.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/Makefile.in b/Makefile.in -index 66d6acd..c167ae4 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -32,10 +32,10 @@ build: - install: - $(SUDO) mkdir -p $(DESTDIR)@prefix@/bin - $(SUDO) cp vit $(DESTDIR)@prefix@/bin/vit -- $(SUDO) mkdir -p $(DESTDIR)@prefix@/man/man1 -- $(SUDO) cp vit.1 $(DESTDIR)@prefix@/man/man1/ -- $(SUDO) mkdir -p $(DESTDIR)@prefix@/man/man5 -- $(SUDO) cp vitrc.5 $(DESTDIR)@prefix@/man/man5/ -+ $(SUDO) mkdir -p $(DESTDIR)@prefix@/share/man/man1 -+ $(SUDO) cp vit.1 $(DESTDIR)@prefix@/share/man/man1/ -+ $(SUDO) mkdir -p $(DESTDIR)@prefix@/share/man/man5 -+ $(SUDO) cp vitrc.5 $(DESTDIR)@prefix@/share/man/man5/ - $(SUDO) mkdir -p $(DESTDIR)@prefix@/etc/ - $(SUDO) cp commands $(DESTDIR)@prefix@/etc/vit-commands - diff --git a/app-misc/vit/metadata.xml b/app-misc/vit/metadata.xml index 48a67656210..e5b8618e342 100644 --- a/app-misc/vit/metadata.xml +++ b/app-misc/vit/metadata.xml @@ -2,12 +2,15 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>nerd...@gentoo.org</email> - <name>Stephen Arnold</name> + <email>nerd...@gentoo.org</email> + <name>Stephen Arnold</name> </maintainer> <longdescription lang="en"> - A perl/Curses front end for Taskwarrior (<pkg>app-misc/task</pkg>) that - provides a fullscreen terminal window with modes and commands - modeled after the vi editor. + A perl/Curses front end for Taskwarrior (<pkg>app-misc/task</pkg>) that + provides a fullscreen terminal window with modes and commands + modeled after the vi editor. </longdescription> + <upstream> + <remote-id type="github">scottkosty/vit</remote-id> + </upstream> </pkgmetadata> diff --git a/app-misc/vit/vit-1.2-r1.ebuild b/app-misc/vit/vit-1.2-r1.ebuild deleted file mode 100644 index 6ab36054384..00000000000 --- a/app-misc/vit/vit-1.2-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils - -DESCRIPTION="Perl/Curses front-end for Taskwarrior (app-misc/task)" -HOMEPAGE="http://tasktools.org/projects/vit.html" -SRC_URI="https://git.tasktools.org/EX/vit/archive/v1.2.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -DEPEND=" - app-misc/task - dev-lang/perl - dev-perl/Curses" -RDEPEND="${DEPEND}" - -RESTRICT="test" # missing the extra .makefile for extra targets (like test) - -S="${WORKDIR}/${PN}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-allow-nonsudo-install.patch \ - "${FILESDIR}"/${PN}-fix-man-installs.patch -} - -src_install() { - emake DESTDIR="${D}" SUDO="" install - dodoc AUTHORS README CHANGES - doman vit.1 vitrc.5 - - rm -rf "${ED}"/usr/man -} diff --git a/app-misc/vit/vit-1.3.ebuild b/app-misc/vit/vit-1.3.ebuild new file mode 100644 index 00000000000..d259efed3a6 --- /dev/null +++ b/app-misc/vit/vit-1.3.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +DESCRIPTION="Perl/Curses front-end for Taskwarrior (app-misc/task)" +HOMEPAGE="https://github.com/scottkosty/vit" +SRC_URI="https://github.com/scottkosty/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND=" + app-misc/task + dev-lang/perl + dev-perl/Curses" +RDEPEND="${DEPEND}" + +RESTRICT="test" # missing the extra .makefile for extra targets (like test) diff --git a/app-misc/vit/vit-9999.ebuild b/app-misc/vit/vit-9999.ebuild deleted file mode 100644 index 0cd795e26a9..00000000000 --- a/app-misc/vit/vit-9999.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils git-r3 - -DESCRIPTION="Perl/Curses front-end for Taskwarrior (app-misc/task)" -HOMEPAGE="http://tasktools.org/projects/vit.html" - -EGIT_REPO_URI="https://git.tasktools.org/EX/vit.git" -if [[ ${PV} = 9999* ]]; then - KEYWORDS="" -else - EGIT_COMMIT=v${PV} - KEYWORDS="~amd64 ~arm ~x86" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="" - -DEPEND=" - app-misc/task - dev-lang/perl - dev-perl/Curses" -RDEPEND="${DEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-allow-nonsudo-install.patch \ - "${FILESDIR}"/${PN}-fix-man-installs.patch -} - -src_install() { - emake DESTDIR="${D}" SUDO="" install - dodoc AUTHORS README CHANGES - doman vit.1 vitrc.5 - - rm -rf "${ED}"/usr/man -}