summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-04-20 12:08:42 +0200
committerMichał Górny <mgorny@gentoo.org>2022-04-20 14:18:22 +0200
commitf2b1034cbebe9cc9e929cbe7dafa4f7110d5217c (patch)
tree238af27278fb449dd38ebe7b593acb8eada304b2 /dev-python/sphinxcontrib-log_cabinet
parentdev-python/sphinxcontrib-jsmath: EAPI 8, PEP517, rm namespace dep (diff)
downloadgentoo-f2b1034cbebe9cc9e929cbe7dafa4f7110d5217c.tar.gz
gentoo-f2b1034cbebe9cc9e929cbe7dafa4f7110d5217c.tar.bz2
gentoo-f2b1034cbebe9cc9e929cbe7dafa4f7110d5217c.zip
dev-python/sphinxcontrib-log_cabinet: EAPI 8, PEP517, rm namespace dep
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/sphinxcontrib-log_cabinet-1.0.1-r1.ebuild26
1 files changed, 26 insertions, 0 deletions
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..4bb91c7f5c95
--- /dev/null
+++ b/dev-python/sphinxcontrib-log_cabinet/sphinxcontrib-log_cabinet-1.0.1-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} 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 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+python_compile() {
+ distutils-r1_python_compile
+ find "${BUILD_DIR}" -name '*.pth' -delete || die
+}