summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Arnold <nerdboy@gentoo.org>2019-10-03 19:43:40 -0700
committerStephen Arnold <nerdboy@gentoo.org>2019-10-03 19:43:40 -0700
commit7636d15b1344789ddaf187f2561b3f72efa15215 (patch)
treec1f8b7b8b96691fe50f37cfcbe5ef03069c713b3 /app-misc/vit
parentsys-cluster/swift: CHOO CHOO (diff)
downloadgentoo-7636d15b1344789ddaf187f2561b3f72efa15215.tar.gz
gentoo-7636d15b1344789ddaf187f2561b3f72efa15215.tar.bz2
gentoo-7636d15b1344789ddaf187f2561b3f72efa15215.zip
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@gentoo.org>
Diffstat (limited to 'app-misc/vit')
-rw-r--r--app-misc/vit/Manifest2
-rw-r--r--app-misc/vit/files/vit-allow-nonsudo-install.patch36
-rw-r--r--app-misc/vit/files/vit-fix-man-installs.patch19
-rw-r--r--app-misc/vit/metadata.xml13
-rw-r--r--app-misc/vit/vit-1.2-r1.ebuild38
-rw-r--r--app-misc/vit/vit-1.3.ebuild23
-rw-r--r--app-misc/vit/vit-9999.ebuild40
7 files changed, 32 insertions, 139 deletions
diff --git a/app-misc/vit/Manifest b/app-misc/vit/Manifest
index aa025bce1d4f..a510b610e0b5 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 0f5626cce379..000000000000
--- 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 9d13fbb287a0..000000000000
--- 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 48a67656210f..e5b8618e3429 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>nerdboy@gentoo.org</email>
- <name>Stephen Arnold</name>
+ <email>nerdboy@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 6ab360543842..000000000000
--- 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 000000000000..d259efed3a62
--- /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 0cd795e26a94..000000000000
--- 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
-}