dev-python/rope: Import package from tree and bump to 0.18.0

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
This commit is contained in:
Nils Freydank 2020-11-02 20:33:30 +01:00
parent 97405aea23
commit beb3857468
No known key found for this signature in database
GPG Key ID: BC5DC2998AAD2B21
2 changed files with 63 additions and 0 deletions

22
dev-python/rope/Manifest Normal file
View File

@ -0,0 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST rope-0.18.0.tar.gz 249828 BLAKE2B 2aac0541936c671f9b70528da28b2c016f14c7a3e5f368aecb6a3f2a39d2b447d70943bf00b7a49702f5d341504da7398ca5b1240d625275f749de1e530fb178 SHA512 9f706da345866447ff7e4027e6f9f0719d4b823253155881efcdd3a9e9a6f42fa9e194cd9547df4a6f752ae0cec739045e52bb7edd5cfa04ad4079fe06808298
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAl+gW+ZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcy
MERFQ0UyRTUxQUUxNzEzQkQ5NzU5MEJDNURDMjk5OEFBRDJCMjEACgkQvF3CmYqt
KyFDOw/+IdgafvVksGAVFa/s9Fgua3miFtK6bUl5WRhgE/TxFQmy6kzmPpYJA67D
JBir1Icj1HqocPd8NKLS+KQzuocmdeRogUAXkTZUklpYC2iSC9qAy4PDZ/XxyIZz
aur9dcNAnr0cOTWZ3v5blyZiFmPB1jyg3wvvWQ0XLk/wzATUV9HP94QRfIpWGBUv
lVEM+/5vwKo7wdJKw5weYdGRBGA6P/PGs7VgcRLx2oODeplTYe4MdX7uXfCeFXPx
NqAD8DBigx+tVJM8uvalvP+51mYqCQViN90JMOSIufEoJrX0z9F2fsZ846ceozcm
WSxE31YX5/Kc7Binw0Hl4AftJD9KefhfZQmCRqreSUw4zoBwhOFWJ8+xIGyV0OBS
VCzbmBEGGfMn4PmSBPMhNtDC2OLFWwpn31TbivsM49+iVmhDLMYfb4ZIoHqBXDSa
jZdDVtg54XNRvx9DeVcOWKZKATbSLt+HsJvXWobdCi9Ug4jW0IHhchh7nviD4ldn
OUkEx8/etfuWm+1LxK1u1iEXcvYZTYwfe6uWLL/N1WK6lpPAlR1bamzAVXE5fIzR
FbkrO2IpdjquSu7dq46aZDCrobrT1LSJPIhOWrR3zF7Za9zrROdLzoAMsjQT6flQ
1f+fpzdHcxLzAzPury5aRgZUtDpUruTmvsvQF8cTAYKx9200SR8=
=XvJE
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,41 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
inherit distutils-r1
DESCRIPTION="Python refactoring library"
HOMEPAGE="https://github.com/python-rope/rope"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc"
# Dependency for docbuild documentation which is not noted in
# setup.py, using standard docutils builds docs successfully.
DEPEND="doc? ( dev-python/docutils[${PYTHON_USEDEP}] )"
distutils_enable_tests pytest
python_compile_all() {
if use doc; then
pushd docs > /dev/null || die
mkdir build || die
local i
for i in ./*.rst; do
rst2html.py $i > ./build/${i/rst/html} || die
done
popd > /dev/null || die
fi
}
python_install_all() {
use doc && local HTML_DOCS=( docs/build/. )
distutils-r1_python_install_all
}