commit: cba2ac81fee7ef54445c8d36e16364d7b7fdb111 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Sun Jun 22 12:23:31 2025 +0000 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> CommitDate: Sun Jun 22 12:42:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cba2ac81
dev-python/sphinx-last-updated-by-git: new package, add 0.3.8 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> dev-python/sphinx-last-updated-by-git/Manifest | 1 + dev-python/sphinx-last-updated-by-git/metadata.xml | 13 ++++++++++ .../sphinx-last-updated-by-git-0.3.8.ebuild | 28 ++++++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/dev-python/sphinx-last-updated-by-git/Manifest b/dev-python/sphinx-last-updated-by-git/Manifest new file mode 100644 index 0000000000..aa507c0467 --- /dev/null +++ b/dev-python/sphinx-last-updated-by-git/Manifest @@ -0,0 +1 @@ +DIST sphinx_last_updated_by_git-0.3.8.tar.gz 10785 BLAKE2B 3fcbd3d4e598a66ccc5db5682fea6e23395a567bf732e3638b96fd38380c39dd63f868e54bad69421e9931a40c28705c09e6ae9fe7f3da554a70b962aa9d5d32 SHA512 1632c835296766789fc7d31525dc88164243df27fac068e68c3ba50b9ce5391e80d6d5b33c2c79f075715bd6609b8621e8cb00889b985143c2e79919ea587fb7 diff --git a/dev-python/sphinx-last-updated-by-git/metadata.xml b/dev-python/sphinx-last-updated-by-git/metadata.xml new file mode 100644 index 0000000000..bd5f2790fa --- /dev/null +++ b/dev-python/sphinx-last-updated-by-git/metadata.xml @@ -0,0 +1,13 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Anna</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">sphinx-last-updated-by-git</remote-id> + <remote-id type="github">mgeier/sphinx-last-updated-by-git</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/sphinx-last-updated-by-git/sphinx-last-updated-by-git-0.3.8.ebuild b/dev-python/sphinx-last-updated-by-git/sphinx-last-updated-by-git-0.3.8.ebuild new file mode 100644 index 0000000000..eb057b052d --- /dev/null +++ b/dev-python/sphinx-last-updated-by-git/sphinx-last-updated-by-git-0.3.8.ebuild @@ -0,0 +1,28 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION='Get the "last updated" time for each Sphinx page from Git' +HOMEPAGE=" + https://pypi.org/project/sphinx-last-updated-by-git/ + https://github.com/mgeier/sphinx-last-updated-by-git/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/babel[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.8[${PYTHON_USEDEP}] +" + +# Tests require to clone a Git repo. While this can be worked around by using +# git-bundle, tests still fail because Sphinx makes some warnings fatal. +distutils_enable_tests import-check
