aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-11-12 15:37:49 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-11-12 22:16:05 +0500
commit33dce6653916d53287eff808b745b9ebb262d79c (patch)
tree5afb0c50ca858aab484952bd21cad57d9ddbd81e /dev-python/sphinx-rtd-dark-mode
parentdev-python/asgi-lifespan: add 2.0.0 (diff)
downloadguru-33dce6653916d53287eff808b745b9ebb262d79c.tar.gz
guru-33dce6653916d53287eff808b745b9ebb262d79c.tar.bz2
guru-33dce6653916d53287eff808b745b9ebb262d79c.zip
dev-python/sphinx-rtd-dark-mode: new package, add 1.2.4
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-python/sphinx-rtd-dark-mode')
-rw-r--r--dev-python/sphinx-rtd-dark-mode/Manifest1
-rw-r--r--dev-python/sphinx-rtd-dark-mode/metadata.xml11
-rw-r--r--dev-python/sphinx-rtd-dark-mode/sphinx-rtd-dark-mode-1.2.4.ebuild36
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/sphinx-rtd-dark-mode/Manifest b/dev-python/sphinx-rtd-dark-mode/Manifest
new file mode 100644
index 000000000..96deecacb
--- /dev/null
+++ b/dev-python/sphinx-rtd-dark-mode/Manifest
@@ -0,0 +1 @@
+DIST sphinx-rtd-dark-mode-1.2.4.gh.tar.gz 9964 BLAKE2B 7aa68205af0578b841d35e7d7ccc8278060eafa13a598889dde6e75c3b27f606ffd7eac0c4bcc946b7e83bd2099e83c5b212768f230cabfcc6a8a0248b8f8ebc SHA512 729fa42c813bdcde8f10633aef54ac55b7ae0c20d67d376141236c3bc96731de3d42c9b890f1314527a2f0faf7de30101d769235b97b53456b6291f4137f9e75
diff --git a/dev-python/sphinx-rtd-dark-mode/metadata.xml b/dev-python/sphinx-rtd-dark-mode/metadata.xml
new file mode 100644
index 000000000..06307abe2
--- /dev/null
+++ b/dev-python/sphinx-rtd-dark-mode/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">sphinx-rtd-dark-mode</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/sphinx-rtd-dark-mode/sphinx-rtd-dark-mode-1.2.4.ebuild b/dev-python/sphinx-rtd-dark-mode/sphinx-rtd-dark-mode-1.2.4.ebuild
new file mode 100644
index 000000000..bad53b4ac
--- /dev/null
+++ b/dev-python/sphinx-rtd-dark-mode/sphinx-rtd-dark-mode-1.2.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+MY_PN="sphinx_rtd_dark_mode"
+DESCRIPTION="Dark mode for the Sphinx Read the Docs theme"
+HOMEPAGE="
+ https://pypi.org/project/sphinx-rtd-dark-mode/
+ https://github.com/MrDogeBro/sphinx_rtd_dark_mode
+"
+SRC_URI="https://github.com/MrDogeBro/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]"
+BDEPEND="
+ test? (
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ )
+"
+
+DOCS=( {CONTRIBUTING,README}.md )
+
+distutils_enable_tests pytest
+
+python_test() {
+ epytest tests/build.py
+}