summaryrefslogtreecommitdiff
path: root/app-vim/vimcalc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-vim/vimcalc
reinit the tree, so we can have metadata
Diffstat (limited to 'app-vim/vimcalc')
-rw-r--r--app-vim/vimcalc/Manifest5
-rw-r--r--app-vim/vimcalc/metadata.xml8
-rw-r--r--app-vim/vimcalc/vimcalc-1.3-r2.ebuild43
3 files changed, 56 insertions, 0 deletions
diff --git a/app-vim/vimcalc/Manifest b/app-vim/vimcalc/Manifest
new file mode 100644
index 000000000000..7cf02ce5053e
--- /dev/null
+++ b/app-vim/vimcalc/Manifest
@@ -0,0 +1,5 @@
+DIST vimcalc-1.3.zip 24993 SHA256 16216a413f54f2e0143306ae535c620204faf255f3259cfd3f55a68e9f1c6b86 SHA512 1b377f284a7b68d200b08bdacee2080a60412e6ba1fd530eb0075dbc84fba30b37cec45e60d916aa80d057809b79f4d816f3a85f903d0e2fc7d06240dcdbb600 WHIRLPOOL b099c23e0c84006a7cb8a1f4d912aa0234a3a063b85de275948882659d75e946ce088f289e2d4b3c750f9b019d8ba15bbff2ef8642487d1ed42b53c95b5e85b7
+EBUILD vimcalc-1.3-r2.ebuild 961 SHA256 234e14ef4d0870b1b92e20f3323a5d14b55da58fd59f06e7f4d9138b2f216d63 SHA512 0f24ddf257c43c363251210adf5e7b14535672639c79201f92fb21736abb8bd2cd5a2abb2a1a2bdc144a5297d5e4ff6adb9f2515a31f0d649311c00207fc5f8e WHIRLPOOL 7063cfccb7ae49ed2e475a214236bab876a44f1640ac13f44ab202569ff5df4ea0fdd51c90c31779b4dd0c5f434787f60b7cb1419778660b4837af3f0bf28ffc
+MISC ChangeLog 3078 SHA256 e3a4d663989c21b38a3fd28fc5c9ac18661fbbaf198a1f68a78c71375f727747 SHA512 2fad1265a53f6409b72497996c5c286b3fe30eb941da14a90fde5f22385f3e55ceacb2acdaaea9058fa9491ce9d5ea8317dbca701a05c3d5dbf39297d5158469 WHIRLPOOL 36fc741473adfaa1a5812b5550cddca49dfd078fadcb27d31239d25a0ff5643b17f0d46383a1ed41b2b5800e3a48fece24bb64b92e43efb9a20cceb63cdea04b
+MISC ChangeLog-2015 1182 SHA256 3866a5f775a97a79b4426365e7f49b1e4b29a0c709d60dda77b098e319c91af6 SHA512 8af43c4794135d7906b4ab9c69fb5305f00a5dad529e20189270883b37cd7a1c887903101ed9a2e8f914823e2a210e1753f7553608aa2441e1c8bf5be8482cd1 WHIRLPOOL e58e45adc3cdfe3764312195e29c290c2aa1f4c6b62059a396cfae09df617fbdcf15d90dc2b8cbdf12c701541f14d24e3eeb19cccc759f67e7b7ef9138ce4528
+MISC metadata.xml 249 SHA256 d4adb0d6593130c430b51f47b187c0848b8a16d353d419cb39e44edf8baa033b SHA512 4051dd059d975d2e1799125f7defbf5a62a168241d8b83d83710592efd60808800951c4fd6da1294044d7e7ec6b757b8d50593fd076696f826dec761e99645c7 WHIRLPOOL 0e859a788faf27de759428701100b3134df0b6d5e8402bbb125fce791e778353ddcd819d86f54063928836417f2cefb2c1e30e8568b8d2aa4cd336d3b695b10a
diff --git a/app-vim/vimcalc/metadata.xml b/app-vim/vimcalc/metadata.xml
new file mode 100644
index 000000000000..5c000c763084
--- /dev/null
+++ b/app-vim/vimcalc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>vim@gentoo.org</email>
+ <name>Gentoo Vim Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-vim/vimcalc/vimcalc-1.3-r2.ebuild b/app-vim/vimcalc/vimcalc-1.3-r2.ebuild
new file mode 100644
index 000000000000..2acd5b13dcf4
--- /dev/null
+++ b/app-vim/vimcalc/vimcalc-1.3-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1 vim-plugin
+
+DESCRIPTION="vim plugin: provides an interactive calculator inside vim"
+HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3329"
+SRC_URI="http://www.vim.org/scripts/download_script.php?src_id=15317 -> ${P}.zip"
+LICENSE="vim"
+KEYWORDS="amd64 x86"
+
+VIM_PLUGIN_HELPFILES="vimcalc"
+
+DEPEND="
+ app-arch/unzip
+ ${PYTHON_DEPS}"
+
+RDEPEND="
+ || ( app-editors/vim[python,${PYTHON_USEDEP}] app-editors/gvim[python,${PYTHON_USEDEP}] )
+ ${PYTHON_DEPS}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+src_prepare() {
+ # Remove .DS_Store files that should not be installed
+ find -type f -name '.DS*' -delete || die
+}
+
+src_test() {
+ cd plugin || die
+ "${PYTHON}" tests.py || die "Tests failed"
+}
+
+src_install() {
+ rm plugin/tests.py || die
+ vim-plugin_src_install
+}