app-vim/python-mode: Re-add ebuild and bump to _p20201026

This bump fixes commit 06b5c87481,
adds the commit id based tarball and limits to python3_6 as some
deps still don't support higher python versions.

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
This commit is contained in:
Nils Freydank 2020-02-06 08:34:08 +01:00
parent 02b577db16
commit b7161579b9
No known key found for this signature in database
GPG Key ID: BC5DC2998AAD2B21
2 changed files with 68 additions and 14 deletions

View File

@ -1,22 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST python-mode-0.9.2.tar.gz 971944 BLAKE2B b005f29833b1d6a9380cc2bd1443f120ae2e3b9484926c3c40de8dc84a94ddb4bb601ff24215385620bb95651948a609bc127263e8874533c7ed65d179e6512d SHA512 a47df8b7c2561a853e87505f2e0dec4337ad6a3ccc8d30593440ac0884e696a6342c9cf27606b6b16f25596f0d22403ce62af337e3c83365ae3e8f100f45d79c
DIST python-mode-0.10.0_p20200126.tar.gz 86065 BLAKE2B 5e5eeb112e00ae13c72289de5934de22624e7a1a8b1cd1a7bcac96e770ac4bfd3fd28797d529a0e5231b7ecc82d5593b00f0d8f7c3810966fc40134460bec059 SHA512 aac8b0c134a70f84f94aa94ad93edf9cbb15bb296351c665ad1368b6a8e1d66296677586e0358be2d2522c17258d0d2c22bdcc863181912946a32e13ccfc5ee2
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAlx6XQxfFIAAAAAALgAo
iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAl46y9BfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcy
MERFQ0UyRTUxQUUxNzEzQkQ5NzU5MEJDNURDMjk5OEFBRDJCMjEACgkQvF3CmYqt
KyFUz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H4gPEHcqPquz
Nd/ogRblBwsV4lUrCdrQe6ARCBRNZLSGDdLZ5lmmizT5nxamLuVaJvt3Wbvwx7B+
vBOyH+PsvLXvSJZcOWFhDUjhLgtQ+Kie2o1wDXZ9YDl+bb4c1BN9p9j+B9qoTE3o
wL0PKjkF7oxX6A1MWAbRHlQrPW7QXjWug3GRYGbjQXi/21AAh0i4ZwL3VpZVOdDf
8+9+UPlfEFmcpnkCmRApYfjj+fd/CAC84l+Iggym+rDjBH1Zxx1/Zxsmx9FMfV0V
bTuCkuPsv6IYEfK94vDf1b7fm/LhbPG/JD/Y8921UaNnsyI7rJg=
=hlbA
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,54 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_6 )
inherit python-r1 vim-plugin
COMMIT_ID="1e97e4d8fa427f7b3262b2daadff8d32ca5be536"
DESCRIPTION="vim plugin: Turn vim into a python IDE"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3770 https://github.com/klen/python-mode"
LICENSE="LGPL-3"
IUSE="test"
RESTRICT="!test? ( test )"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
else
if [[ ${PV} == *_p* ]]; then
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}-${COMMIT_ID}"
SRC_URI="https://github.com/klen/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
else
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/klen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi
fi
VIM_PLUGIN_HELPFILES="PythonModeCommands"
VIM_PLUGIN_HELPTEXT=""
VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode"
VIM_PLUGIN_MESSAGES="filetype"
RDEPEND="
>=dev-python/astroid-2.1.0[${PYTHON_USEDEP}]
dev-python/autopep8[${PYTHON_USEDEP}]
dev-python/mccabe[${PYTHON_USEDEP}]
dev-python/pep257[${PYTHON_USEDEP}]
dev-python/pycodestyle[${PYTHON_USEDEP}]
dev-python/pyflakes[${PYTHON_USEDEP}]
dev-python/pylama[${PYTHON_USEDEP}]
>=dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
dev-python/rope[${PYTHON_USEDEP}]
dev-python/ropemode[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/snowballstemmer[${PYTHON_USEDEP}]
"
src_install() {
vim-plugin_src_install
insinto usr/share/${PN}
}