From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-misc/vit/Manifest | 7 ++++ 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 | 36 +++++++++++++++++++ app-misc/vit/vit-9999.ebuild | 40 ++++++++++++++++++++++ 6 files changed, 151 insertions(+) create mode 100644 app-misc/vit/Manifest create mode 100644 app-misc/vit/files/vit-allow-nonsudo-install.patch create mode 100644 app-misc/vit/files/vit-fix-man-installs.patch create mode 100644 app-misc/vit/metadata.xml create mode 100644 app-misc/vit/vit-1.2-r1.ebuild create mode 100644 app-misc/vit/vit-9999.ebuild (limited to 'app-misc/vit') diff --git a/app-misc/vit/Manifest b/app-misc/vit/Manifest new file mode 100644 index 000000000000..3912a0753509 --- /dev/null +++ b/app-misc/vit/Manifest @@ -0,0 +1,7 @@ +AUX vit-allow-nonsudo-install.patch 978 SHA256 280add74e4c57264bcac1b48fa75f60093a2a8abcb98af43818a265125947b64 SHA512 11b50594481934dd33a5f59bf04c61c7a347e517f1f0408be8c7463731490bf49c0c823c4b9ac1b951ac1f7e66d531f2d0df74ee12c3d25f47a299a2b16da628 WHIRLPOOL 9cb3859752e9af3eb379492e9213f1955a9f17f315d3d92afbebbb9ada9673a9cf37396bd48819a5ea05f112964f087de6f97b47532e9fd0290b3b8093bac4f2 +AUX vit-fix-man-installs.patch 739 SHA256 4d70541ce26a70b07480d1f5055b8c5f04e6777d88b3048552abd20d6f0241b8 SHA512 9b1795690ba090bf0487b35da28f3563f5bae4a8133d85f469a9b0104a84588d8948b98a2935b83c9c321fcffcf5a44027500eb87a736de4b254374f142dc572 WHIRLPOOL 492203fbc0dde0fbf651f9538beba6baea18e52fad918e50e0b681f0aa76681ca63cb79a04e2a3b6dbbd0140b3785206a1d4ddafcb1ee9655b4bf501b8a3ac78 +DIST vit-1.2.tar.gz 49346 SHA256 2c3a146914c2d572884f2d9cc745d3422cea1db2d8a2e9a13a633449844df637 SHA512 dc0e09fbec7d77817b044f437e42108a9282e387698dfe23bfbe50a083b708d5d3b432ce9b1fdb93f3fef495af2a5f16107351557a4bb9184c7c762b264f0ed3 WHIRLPOOL 13fbd501e84eae4ea91805b10acf205e2f9d62caeb82e5e33cd6cd782383e62623d38ed90d836e8cb048c4887fece4f3ba7682fdce381df6882a7c3111af9880 +EBUILD vit-1.2-r1.ebuild 745 SHA256 aaf53432a63c4bee9afacdffa69fdc4b244dff2f480c3b8d73c3452dd1395859 SHA512 70dd9a9d5aa58a99a6f07671a5e80a8d73ced24971ce3e776c0a01b79efb3e52dac844844398a976c4fcc7bf47eea71c5f0b2016b680f4bfefc4de48100a6332 WHIRLPOOL fd80e60e4882e0ef6e0c248237e508196b287811318b555518f464f28f789e611fd810b27c17b1a620eada740f90cacee0ced3b83e5cb4eb9dcc0328de1af5a5 +EBUILD vit-9999.ebuild 777 SHA256 318e2e8edec61a83669f0f5b6546260d8851445f4d5148ec80a6636e99cd8f9e SHA512 e8779d3179f4eea0344b238860c8019447d91d38fc4b0d2173a55c70e29027c3d0fef5cd246faaed173535531f465e5bd967d8bd78fcd83676f5174229926ae3 WHIRLPOOL 64535154a086e18d244358e281363fe2bd4f173d7ea3b9da9041b54d009c5fda9cf690faba787c87974506ea6bfbfb43a8d074ca6a6578eec49c4360366ecdf3 +MISC ChangeLog 928 SHA256 38cfa33ebc93c84399d7d9d16de71c96b402e2e058b5f3c4623c289ecbbea839 SHA512 fd2eec3adbd1940a4fda0d7a9e9cacffad4e4d691e965ad6d21a138cfe96706b395c8edf59df509ac4d21a13c69cfbb3b583e0a59f2fe05e75b08f6c18319f65 WHIRLPOOL 83a0ef86300e3989764f634314079660b4e6b26461d077e6e9e607e0d84cc5c608e6bde9d4d1942470c815dd13cb4de843dda8f60652aa15635fccf0226a78cc +MISC metadata.xml 457 SHA256 fe965c39f7fc6aa0ddbe90a379d24656b8f0faaff01a02f60d718ca781ee2837 SHA512 fa9700903506961b1d8c62718b77a7219c811b99039d8f73d331dcd448f2df8fa638f152b956c9f41e2989007402860a1a036427d38d754a4385cebfa7a5b5c7 WHIRLPOOL eaa9f939a6784a996a33aa598b67cf5c5ec01c9c8f207bdf6c2bbc3f71196bc7ee4eb01e601f4a20a5b026d29b43f933028f41495abd57b320cb17ed47f26e24 diff --git a/app-misc/vit/files/vit-allow-nonsudo-install.patch b/app-misc/vit/files/vit-allow-nonsudo-install.patch new file mode 100644 index 000000000000..0f5626cce379 --- /dev/null +++ b/app-misc/vit/files/vit-allow-nonsudo-install.patch @@ -0,0 +1,36 @@ +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 new file mode 100644 index 000000000000..9d13fbb287a0 --- /dev/null +++ b/app-misc/vit/files/vit-fix-man-installs.patch @@ -0,0 +1,19 @@ +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 new file mode 100644 index 000000000000..48a67656210f --- /dev/null +++ b/app-misc/vit/metadata.xml @@ -0,0 +1,13 @@ + + + + + nerdboy@gentoo.org + Stephen Arnold + + + A perl/Curses front end for Taskwarrior (app-misc/task) that + provides a fullscreen terminal window with modes and commands + modeled after the vi editor. + + diff --git a/app-misc/vit/vit-1.2-r1.ebuild b/app-misc/vit/vit-1.2-r1.ebuild new file mode 100644 index 000000000000..ca5df43d3f3e --- /dev/null +++ b/app-misc/vit/vit-1.2-r1.ebuild @@ -0,0 +1,36 @@ +# 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}" + +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-9999.ebuild b/app-misc/vit/vit-9999.ebuild new file mode 100644 index 000000000000..0cd795e26a94 --- /dev/null +++ b/app-misc/vit/vit-9999.ebuild @@ -0,0 +1,40 @@ +# 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 +} -- cgit v1.2.3