app-vim/pydoc: EAPI=8, enable py3.11

- use more stable tarball from github
- simplify src_unpack

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2022-09-30 23:03:49 +03:00
parent 20543c2c09
commit 57daf3bcde
No known key found for this signature in database
GPG Key ID: 02A0AF503D120504
2 changed files with 23 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST pydoc-2.0.gh.tar.gz 2790 BLAKE2B 520c92fb38d75961342d6c638d3e38f1973ac459553b18f11e03c082b76656a6ad6c56b820f07830e917e14c48496c5b6a9c56c998773d8e8eb698613e6945df SHA512 d082d1921799548092df8b0391022582dad33e478608de7a8832b1a3b11e648c66298c9b61b473a58571f3479858dfe568d0b18f8af49046dd06a3ecf4e56bd3
DIST pydoc-2.0.tar.gz 2795 BLAKE2B d780265c474081431e43076db9e5bc244677d9deaaa44bbd6ba2c2bdce7e88b8e2f0c6a9e14ca5a3a4bda7925b5c5bc108a34d5d6fecaabe9f0a025774b101ca SHA512 bea2e0dcb82090803b45e0cbccf5ad610a39f22d04c099e5e946e2b3707c9cbd69b85e3f1024a73760d1ff81a0199aeeb3bab20546307676953156eff7185214

View File

@ -0,0 +1,22 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
inherit vim-plugin python-single-r1
DESCRIPTION="vim plugin: integrates python documentation view and search tool"
HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=910
https://github.com/fs111/pydoc.vim"
SRC_URI="
https://github.com/fs111/${PN}.vim/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
S=${WORKDIR}/${PN}.vim-${PV}
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}"