diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-03 11:25:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-03 11:25:07 +0100 |
commit | f6a034d922bf54efeaa781fcb5388b325b90d945 (patch) | |
tree | b9fafda6cf44bf7b09de2c3d74090de10f9cde04 /dev-python/mkdocs-material/mkdocs-material-9.1.9.ebuild | |
parent | 007b0aae027279095b8605c214b535e59df8f6eb (diff) |
gentoo auto-resync : 03:05:2023 - 11:25:06
Diffstat (limited to 'dev-python/mkdocs-material/mkdocs-material-9.1.9.ebuild')
-rw-r--r-- | dev-python/mkdocs-material/mkdocs-material-9.1.9.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/mkdocs-material/mkdocs-material-9.1.9.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.1.9.ebuild new file mode 100644 index 000000000000..84fada34a024 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.1.9.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9..11} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material-extensions + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-redirects +" + +inherit distutils-r1 docs + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material/ + https://pypi.org/project/mkdocs-material/ +" +SRC_URI=" + https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.4.2[${PYTHON_USEDEP}] + >=dev-python/pygments-2.14[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-9.9.1[${PYTHON_USEDEP}] + >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] +" + +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=" + >=dev-python/mkdocs-material-extensions-1.1.0[${PYTHON_USEDEP}] +" + +PATCHES=( + # simplify pyproject to remove extra deps for metadata + "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" +) + +src_prepare() { + echo "__version__ = '${PV}'" > gentoo_version.py || die + distutils-r1_src_prepare +} |