summaryrefslogtreecommitdiff
path: root/dev-python/docutils
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-05-31 17:23:40 -0500
committerroot <root@alpha.trunkmasters.com>2026-05-31 17:23:40 -0500
commitf953dc70343485250b836ad157649aaad47ac5bc (patch)
treee3634b454cf48f10ce9f8d12f10e60ad0a749239 /dev-python/docutils
parent5e07081cf4f5afaef79409b430a018b1daec073e (diff)
downloadbaldeagleos-repo-f953dc70343485250b836ad157649aaad47ac5bc.tar.gz
baldeagleos-repo-f953dc70343485250b836ad157649aaad47ac5bc.tar.xz
baldeagleos-repo-f953dc70343485250b836ad157649aaad47ac5bc.zip
Adding metadata
Diffstat (limited to 'dev-python/docutils')
-rw-r--r--dev-python/docutils/Manifest1
-rw-r--r--dev-python/docutils/docutils-0.22.4.ebuild2
-rw-r--r--dev-python/docutils/docutils-0.23.ebuild64
-rw-r--r--dev-python/docutils/docutils-0.23_rc1.ebuild2
-rw-r--r--dev-python/docutils/metadata.xml2
5 files changed, 68 insertions, 3 deletions
diff --git a/dev-python/docutils/Manifest b/dev-python/docutils/Manifest
index 0fc4d8fcb82a..7b3ec5b522ae 100644
--- a/dev-python/docutils/Manifest
+++ b/dev-python/docutils/Manifest
@@ -1,2 +1,3 @@
DIST docutils-0.22.4.tar.gz 2291750 BLAKE2B ec9ef492f067d91a3300a7707a88426d08714b85ff2970d6bdf8f94e8a7a42c576364445c0997dee5d19a76ab763793465ed131bb6ce6453c058d61371aed61c SHA512 80f4450f1ab81eb2425e246e1436cecda1ecd0c0ff70c24d34c2f651ab70afd55577a809b50ccd73d41e098790582fdc3b6594511308b51efe0c3005edbdcf72
+DIST docutils-0.23.tar.gz 2303823 BLAKE2B 6db890673947e31995accddd9f7ace1b39beac02d21704d041b047824e3d4beebdc3d86aed95f012b2a6d52d80b38a917702f18504b3a61c263527623d930a78 SHA512 566edfec1a52dc16deae5dd1fd70f682a9f6ba44319a08c66280b2e1199768d52a2558f5031d35fbe2cd46d845443ff45390d1c2008ce0bc7b149cd024dc1c15
DIST docutils-0.23rc1.tar.gz 2303934 BLAKE2B 1ee8ba3f05e00e6d1068116351868c8face1c89d9f2bf2b6d0a28a294e5b959d2759c142e911ac4d840158f3e13af22981071e121db619b3102a58b405cc8517 SHA512 6c92aa01176acc7587e9ee37867b1be3a16a8572eba7498a4de9358f0bcf5ae99754b3516d83719954a738242f05e386966cf03341520a017292ed3bcffb9e34
diff --git a/dev-python/docutils/docutils-0.22.4.ebuild b/dev-python/docutils/docutils-0.22.4.ebuild
index 125d1bb9a95c..3c1a3cec6560 100644
--- a/dev-python/docutils/docutils-0.22.4.ebuild
+++ b/dev-python/docutils/docutils-0.22.4.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=flit
-PYTHON_COMPAT=( python3_{10..14} )
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
inherit distutils-r1 pypi
diff --git a/dev-python/docutils/docutils-0.23.ebuild b/dev-python/docutils/docutils-0.23.ebuild
new file mode 100644
index 000000000000..03d371d14d7d
--- /dev/null
+++ b/dev-python/docutils/docutils-0.23.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python Documentation Utilities (reference reStructuredText impl.)"
+HOMEPAGE="
+ https://docutils.sourceforge.io/
+ https://pypi.org/project/docutils/
+"
+
+# GPL-3+ only for emacs/rst.el
+LICENSE="BSD BSD-2 GPL-3+ PSF-2.4 public-domain"
+SLOT="0"
+if [[ ${PV} != *_rc* ]]; then
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
+fi
+
+RDEPEND="
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ ${RDEPEND}
+"
+
+python_compile_all() {
+ # Generate html docs from reStructured text sources.
+
+ # Place html4css1.css in base directory to ensure that the generated reference to it is correct.
+ cp docutils/writers/html4css1/html4css1.css . || die
+
+ cd tools || die
+ "${EPYTHON}" buildhtml.py --input-encoding=utf-8 --no-datestamp \
+ --stylesheet-path=../html4css1.css, --traceback ../docs || die
+}
+
+src_test() {
+ cd test || die
+ distutils-r1_src_test
+}
+
+python_test() {
+ "${EPYTHON}" alltests.py -v || die "Testing failed with ${EPYTHON}"
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ # Install tools.
+ python_doscript tools/buildhtml.py
+}
+
+python_install_all() {
+ local DOCS=( *.rst )
+ local HTML_DOCS=( docs tools docutils/writers/html4css1/html4css1.css )
+
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/docutils/docutils-0.23_rc1.ebuild b/dev-python/docutils/docutils-0.23_rc1.ebuild
index 3b70b3ec1cdd..03d371d14d7d 100644
--- a/dev-python/docutils/docutils-0.23_rc1.ebuild
+++ b/dev-python/docutils/docutils-0.23_rc1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=flit
-PYTHON_COMPAT=( python3_{10..14} )
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
inherit distutils-r1 pypi
diff --git a/dev-python/docutils/metadata.xml b/dev-python/docutils/metadata.xml
index ea8988e8af6a..5fdbbc141076 100644
--- a/dev-python/docutils/metadata.xml
+++ b/dev-python/docutils/metadata.xml
@@ -6,6 +6,6 @@
<name>Python</name>
</maintainer>
- <origin>gentoo-staging</origin>
+ <origin>liguros-repo</origin>
<stabilize-allarches/>
</pkgmetadata> \ No newline at end of file