diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2020-07-19 16:15:15 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2020-07-19 16:15:26 +0200 |
commit | 1d39f31bc45d3e0627ed1a58e17236024f18d78e (patch) | |
tree | 4d7c99c47f598c1ccb09f6a87afcb1d2292c3121 /app-editors/pyvim | |
parent | net-analyzer/scapy: Update live ebuild (diff) | |
download | gentoo-1d39f31bc45d3e0627ed1a58e17236024f18d78e.tar.gz gentoo-1d39f31bc45d3e0627ed1a58e17236024f18d78e.tar.bz2 gentoo-1d39f31bc45d3e0627ed1a58e17236024f18d78e.zip |
app-editors/pyvim: new ebuild.
pyvim is an implementation of Vim in Python.
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-editors/pyvim')
-rw-r--r-- | app-editors/pyvim/Manifest | 1 | ||||
-rw-r--r-- | app-editors/pyvim/metadata.xml | 16 | ||||
-rw-r--r-- | app-editors/pyvim/pyvim-3.0.2.ebuild | 39 |
3 files changed, 56 insertions, 0 deletions
diff --git a/app-editors/pyvim/Manifest b/app-editors/pyvim/Manifest new file mode 100644 index 000000000000..ed95aecc3d88 --- /dev/null +++ b/app-editors/pyvim/Manifest @@ -0,0 +1 @@ +DIST pyvim-3.0.2.tar.gz 35227 BLAKE2B 8edc2218b3a0f2ba922531b75f65a5273ad9a2697f72ecf994cf7d2406c6311c3f28b22b6adb1243150a90db74962256ceaa7cf47ec99c2388299742451d6efb SHA512 da961342ba52e5beca44a607cbb923953388e8674409db9ca2b152017eeedce84f92e42a9f6d0e5019c5c4d88d82f4a987cb378f311cf84a169cefa54dc5efce diff --git a/app-editors/pyvim/metadata.xml b/app-editors/pyvim/metadata.xml new file mode 100644 index 000000000000..318dcc191ea8 --- /dev/null +++ b/app-editors/pyvim/metadata.xml @@ -0,0 +1,16 @@ +<?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> + <maintainer type="person"> + <email>monsieurp@gentoo.org</email> + <name>Patrice Clement</name> + </maintainer> + <upstream> + <remote-id type="pypi">pyvim</remote-id> + <remote-id type="github">prompt-toolkit/pyvim</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-editors/pyvim/pyvim-3.0.2.ebuild b/app-editors/pyvim/pyvim-3.0.2.ebuild new file mode 100644 index 000000000000..f0ba40a9fbc0 --- /dev/null +++ b/app-editors/pyvim/pyvim-3.0.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit distutils-r1 + +DESCRIPTION="An implementation of Vim in Python" +HOMEPAGE="https://pypi.org/project/pyvim https://github.com/prompt-toolkit/pyvim" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + app-eselect/eselect-vi + dev-python/six[${PYTHON_USEDEP}] + dev-python/docopt[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] + dev-python/pyflakes[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/prompt_toolkit[${PYTHON_USEDEP}]" + +eselect_vi_update() { + einfo "Calling eselect vi update..." + eselect vi update --if-unset + eend $? +} + +pkg_postinst() { + eselect_vi_update +} + +pkg_postrm() { + eselect_vi_update +} |