summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-10-28 08:35:49 +0200
committerMichał Górny <mgorny@gentoo.org>2022-10-28 09:08:56 +0200
commitcdd7bcb28b7095929ae24ed61c54c7e10a64c633 (patch)
tree422fe92772f59afc307cb2544449774359d11029 /dev-python/backrefs
parentdev-python/nuitka: Bump to 1.1.7 (diff)
downloadgentoo-cdd7bcb28b7095929ae24ed61c54c7e10a64c633.tar.gz
gentoo-cdd7bcb28b7095929ae24ed61c54c7e10a64c633.tar.bz2
gentoo-cdd7bcb28b7095929ae24ed61c54c7e10a64c633.zip
dev-python/backrefs: Remove broken mkdocs support
<dev-python/mkdocs_pymdownx_material_extras-2 does not support anything newer than Python 3.8, and Portage does not seem to be able to figure out how to resolve the || dep there. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/backrefs')
-rw-r--r--dev-python/backrefs/backrefs-5.3.ebuild24
-rw-r--r--dev-python/backrefs/backrefs-5.4.ebuild24
2 files changed, 2 insertions, 46 deletions
diff --git a/dev-python/backrefs/backrefs-5.3.ebuild b/dev-python/backrefs/backrefs-5.3.ebuild
index d230b992ae00..90dcf2189c94 100644
--- a/dev-python/backrefs/backrefs-5.3.ebuild
+++ b/dev-python/backrefs/backrefs-5.3.ebuild
@@ -6,16 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{8..11} )
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="
- dev-python/mkdocs-git-revision-date-localized-plugin
- ~dev-python/mkdocs_pymdownx_material_extras-1.0.7
- dev-python/mkdocs-minify-plugin
- dev-python/mkdocs-material
- dev-python/pyspelling
-"
-
-inherit distutils-r1 docs
+inherit distutils-r1
DESCRIPTION="Wrapper around re or regex that adds additional back references"
HOMEPAGE="
@@ -40,16 +31,3 @@ BDEPEND="
"
distutils_enable_tests pytest
-
-python_prepare_all() {
- # mkdocs-git-revision-date-localized-plugin needs git repo
- if use doc; then
- git init || die
- git config --global user.email "you@example.com" || die
- git config --global user.name "Your Name" || die
- git add . || die
- git commit -m 'init' || die
- fi
-
- distutils-r1_python_prepare_all
-}
diff --git a/dev-python/backrefs/backrefs-5.4.ebuild b/dev-python/backrefs/backrefs-5.4.ebuild
index 7fef8d816484..caccf1a82aed 100644
--- a/dev-python/backrefs/backrefs-5.4.ebuild
+++ b/dev-python/backrefs/backrefs-5.4.ebuild
@@ -6,16 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{8..11} )
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="
- dev-python/mkdocs-git-revision-date-localized-plugin
- ~dev-python/mkdocs_pymdownx_material_extras-1.0.7
- dev-python/mkdocs-minify-plugin
- dev-python/mkdocs-material
- dev-python/pyspelling
-"
-
-inherit distutils-r1 docs
+inherit distutils-r1
DESCRIPTION="Wrapper around re or regex that adds additional back references"
HOMEPAGE="
@@ -40,16 +31,3 @@ BDEPEND="
"
distutils_enable_tests pytest
-
-python_prepare_all() {
- # mkdocs-git-revision-date-localized-plugin needs git repo
- if use doc; then
- git init || die
- git config --global user.email "you@example.com" || die
- git config --global user.name "Your Name" || die
- git add . || die
- git commit -m 'init' || die
- fi
-
- distutils-r1_python_prepare_all
-}