summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-20 10:25:44 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-20 10:28:14 +0200
commitc946eb0955a7713e5df37b036a06d16787b42d83 (patch)
treef4e0f207cf020ca827df5d24ee29e4d4848eff17 /dev-python/sphinxcontrib-log-cabinet
parentdev-python/python-ldap: Remove unmaintained live ebuild (diff)
downloadgentoo-c946eb0955a7713e5df37b036a06d16787b42d83.tar.gz
gentoo-c946eb0955a7713e5df37b036a06d16787b42d83.tar.bz2
gentoo-c946eb0955a7713e5df37b036a06d16787b42d83.zip
Rename dev-python/sphinxcontrib-{log_cabinet → log-cabinet}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/sphinxcontrib-log-cabinet')
-rw-r--r--dev-python/sphinxcontrib-log-cabinet/Manifest1
-rw-r--r--dev-python/sphinxcontrib-log-cabinet/metadata.xml13
-rw-r--r--dev-python/sphinxcontrib-log-cabinet/sphinxcontrib-log-cabinet-1.0.1-r1.ebuild30
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/sphinxcontrib-log-cabinet/Manifest b/dev-python/sphinxcontrib-log-cabinet/Manifest
new file mode 100644
index 000000000000..b1cd4cfd0bb0
--- /dev/null
+++ b/dev-python/sphinxcontrib-log-cabinet/Manifest
@@ -0,0 +1 @@
+DIST sphinxcontrib-log-cabinet-1.0.1.tar.gz 4072 BLAKE2B 6e237bee5ddcd13dfa0cf5151446a1d3924534009cf8c4b11c064dc454e0687ed03e9b09052332bf8c299d340a3522718704d65ac0fd7bd5eb22d18403b3b369 SHA512 c8529872c4ee783330738babd5027e64a813698ed38fbc693b23e65e5bfa2be815a7e6acfae42bbe003e542002d7d298ee446cab5dcebb3b65d2a25691bde18a
diff --git a/dev-python/sphinxcontrib-log-cabinet/metadata.xml b/dev-python/sphinxcontrib-log-cabinet/metadata.xml
new file mode 100644
index 000000000000..47fa29e551ea
--- /dev/null
+++ b/dev-python/sphinxcontrib-log-cabinet/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="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">sphinxcontrib-log-cabinet</remote-id>
+ <remote-id type="github">davidism/sphinxcontrib-log-cabinet</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/sphinxcontrib-log-cabinet/sphinxcontrib-log-cabinet-1.0.1-r1.ebuild b/dev-python/sphinxcontrib-log-cabinet/sphinxcontrib-log-cabinet-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..a19a6fd4461a
--- /dev/null
+++ b/dev-python/sphinxcontrib-log-cabinet/sphinxcontrib-log-cabinet-1.0.1-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Organize changelog directives in Sphinx docs"
+HOMEPAGE="
+ https://github.com/davidism/sphinxcontrib-log-cabinet/
+ https://pypi.org/project/sphinxcontrib-log-cabinet/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/_/-}.tar.gz"
+S="${WORKDIR}/${P/_/-}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86"
+
+RDEPEND="
+ dev-python/sphinx[${PYTHON_USEDEP}]
+"
+
+python_compile() {
+ distutils-r1_python_compile
+ find "${BUILD_DIR}" -name '*.pth' -delete || die
+}