1 |
commit: 57fbfec14cffa437c1948fe9bb738fd690d5275c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 24 15:38:58 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 17:49:24 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57fbfec1 |
7 |
|
8 |
dev-python/sphinx-basic-ng: New package, v0.0.1_alpha11 |
9 |
|
10 |
New NIH dep for dev-python/furo. |
11 |
|
12 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
dev-python/sphinx-basic-ng/Manifest | 1 + |
16 |
dev-python/sphinx-basic-ng/metadata.xml | 11 ++++++ |
17 |
.../sphinx-basic-ng-0.0.1_alpha11.ebuild | 44 ++++++++++++++++++++++ |
18 |
3 files changed, 56 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/sphinx-basic-ng/Manifest b/dev-python/sphinx-basic-ng/Manifest |
21 |
new file mode 100644 |
22 |
index 000000000000..8d370c8ca62b |
23 |
--- /dev/null |
24 |
+++ b/dev-python/sphinx-basic-ng/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST sphinx-basic-ng-0.0.1.a11.gh.tar.gz 21539 BLAKE2B 31707bc8f3c6cd0c1af1aeff309543889119d33e5f5ae33194b58f88a0ff6ec424c5b876fef36b64161932ebb69c0f6108801697b49d47e10ad13affcf89e1fa SHA512 e9f9278a360d2c8d25a6679134d2d54b37c9f2e55285592fa910c85b2f8bfd4ab13d117b7078cb67d862703f8054c3d3a3ca68152551d67a26d7c1a8b75952ff |
27 |
|
28 |
diff --git a/dev-python/sphinx-basic-ng/metadata.xml b/dev-python/sphinx-basic-ng/metadata.xml |
29 |
new file mode 100644 |
30 |
index 000000000000..43822aecf33b |
31 |
--- /dev/null |
32 |
+++ b/dev-python/sphinx-basic-ng/metadata.xml |
33 |
@@ -0,0 +1,11 @@ |
34 |
+<?xml version="1.0" encoding="UTF-8"?> |
35 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
36 |
+<pkgmetadata> |
37 |
+ <maintainer type="project"> |
38 |
+ <email>python@g.o</email> |
39 |
+ </maintainer> |
40 |
+ <upstream> |
41 |
+ <remote-id type="github">pradyunsg/sphinx-basic-ng</remote-id> |
42 |
+ <remote-id type="pypi">sphinx-basic-ng</remote-id> |
43 |
+ </upstream> |
44 |
+</pkgmetadata> |
45 |
|
46 |
diff --git a/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha11.ebuild b/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha11.ebuild |
47 |
new file mode 100644 |
48 |
index 000000000000..6f6d42d32673 |
49 |
--- /dev/null |
50 |
+++ b/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha11.ebuild |
51 |
@@ -0,0 +1,44 @@ |
52 |
+# Copyright 2022 Gentoo Authors |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+ |
55 |
+EAPI=8 |
56 |
+ |
57 |
+DISTUTILS_USE_PEP517=setuptools |
58 |
+PYTHON_COMPAT=( pypy3 python3_{8..11} ) |
59 |
+ |
60 |
+inherit distutils-r1 |
61 |
+ |
62 |
+MY_P=${P/_alpha/.a} |
63 |
+DESCRIPTION="A modern skeleton for Sphinx themes" |
64 |
+HOMEPAGE=" |
65 |
+ https://github.com/pradyunsg/sphinx-basic-ng/ |
66 |
+ https://pypi.org/project/sphinx-basic-ng/ |
67 |
+" |
68 |
+SRC_URI=" |
69 |
+ https://github.com/pradyunsg/sphinx-basic-ng/archive/${PV/_alpha/.a}.tar.gz |
70 |
+ -> ${MY_P}.gh.tar.gz |
71 |
+" |
72 |
+S=${WORKDIR}/${MY_P} |
73 |
+ |
74 |
+LICENSE="MIT" |
75 |
+SLOT="0" |
76 |
+KEYWORDS="~amd64" |
77 |
+IUSE="test" |
78 |
+RESTRICT="!test? ( test )" |
79 |
+ |
80 |
+RDEPEND=" |
81 |
+ <dev-python/sphinx-6[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/sphinx-4.0[${PYTHON_USEDEP}] |
83 |
+" |
84 |
+BDEPEND=" |
85 |
+ test? ( |
86 |
+ ${RDEPEND} |
87 |
+ dev-python/myst_parser[${PYTHON_USEDEP}] |
88 |
+ ) |
89 |
+" |
90 |
+ |
91 |
+python_test() { |
92 |
+ local HTML_DOCS=() |
93 |
+ build_sphinx tests/barebones |
94 |
+ rm -r tests/barebones/_build || die |
95 |
+} |