1 |
commit: b0002ea0ee11d1934e3131f96b81383714a7d912 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Wed Dec 30 16:31:32 2020 +0000 |
4 |
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
5 |
CommitDate: Thu Dec 31 17:22:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b0002ea0 |
7 |
|
8 |
dev-python/sphinxcontrib-napoleon: new dep, copy from ::guru |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> |
13 |
|
14 |
dev-python/sphinxcontrib-napoleon/metadata.xml | 9 +++++++ |
15 |
.../sphinxcontrib-napoleon-0.7.ebuild | 29 ++++++++++++++++++++++ |
16 |
2 files changed, 38 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/sphinxcontrib-napoleon/metadata.xml b/dev-python/sphinxcontrib-napoleon/metadata.xml |
19 |
new file mode 100644 |
20 |
index 000000000..ca93985fb |
21 |
--- /dev/null |
22 |
+++ b/dev-python/sphinxcontrib-napoleon/metadata.xml |
23 |
@@ -0,0 +1,9 @@ |
24 |
+<?xml version="1.0" encoding="UTF-8"?> |
25 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
26 |
+ |
27 |
+<pkgmetadata> |
28 |
+ <maintainer type="project"> |
29 |
+ <email>sci@g.o</email> |
30 |
+ <name>Gentoo Science Project</name> |
31 |
+ </maintainer> |
32 |
+</pkgmetadata> |
33 |
|
34 |
diff --git a/dev-python/sphinxcontrib-napoleon/sphinxcontrib-napoleon-0.7.ebuild b/dev-python/sphinxcontrib-napoleon/sphinxcontrib-napoleon-0.7.ebuild |
35 |
new file mode 100644 |
36 |
index 000000000..cdb82f956 |
37 |
--- /dev/null |
38 |
+++ b/dev-python/sphinxcontrib-napoleon/sphinxcontrib-napoleon-0.7.ebuild |
39 |
@@ -0,0 +1,29 @@ |
40 |
+# Copyright 1999-2020 Gentoo Authors |
41 |
+# Distributed under the terms of the GNU General Public License v2 |
42 |
+ |
43 |
+EAPI=7 |
44 |
+ |
45 |
+PYTHON_COMPAT=( python3_{7,8} ) |
46 |
+ |
47 |
+inherit distutils-r1 |
48 |
+ |
49 |
+DESCRIPTION="Allow a different format in dosctrings for better clarity" |
50 |
+HOMEPAGE="https://sphinxcontrib-napoleon.readthedocs.io/" |
51 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
52 |
+ |
53 |
+LICENSE="BSD" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64 ~x86" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
59 |
+" |
60 |
+DEPEND=" |
61 |
+ dev-python/pockets[${PYTHON_USEDEP}] |
62 |
+ dev-python/six[${PYTHON_USEDEP}] |
63 |
+" |
64 |
+ |
65 |
+python_install_all() { |
66 |
+ distutils-r1_python_install_all |
67 |
+ find "${ED}" -name '*.pth' -delete || die |
68 |
+} |