commit: b0002ea0ee11d1934e3131f96b81383714a7d912 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> AuthorDate: Wed Dec 30 16:31:32 2020 +0000 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> CommitDate: Thu Dec 31 17:22:01 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b0002ea0
dev-python/sphinxcontrib-napoleon: new dep, copy from ::guru Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> dev-python/sphinxcontrib-napoleon/metadata.xml | 9 +++++++ .../sphinxcontrib-napoleon-0.7.ebuild | 29 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-python/sphinxcontrib-napoleon/metadata.xml b/dev-python/sphinxcontrib-napoleon/metadata.xml new file mode 100644 index 000000000..ca93985fb --- /dev/null +++ b/dev-python/sphinxcontrib-napoleon/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Science Project</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/sphinxcontrib-napoleon/sphinxcontrib-napoleon-0.7.ebuild b/dev-python/sphinxcontrib-napoleon/sphinxcontrib-napoleon-0.7.ebuild new file mode 100644 index 000000000..cdb82f956 --- /dev/null +++ b/dev-python/sphinxcontrib-napoleon/sphinxcontrib-napoleon-0.7.ebuild @@ -0,0 +1,29 @@ +# 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="Allow a different format in dosctrings for better clarity" +HOMEPAGE="https://sphinxcontrib-napoleon.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/sphinx[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/pockets[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +python_install_all() { + distutils-r1_python_install_all + find "${ED}" -name '*.pth' -delete || die +}
