diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-01 11:14:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-01 11:14:56 +0100 |
commit | c952bf4dc186a298c5ef1596e2c52642072db500 (patch) | |
tree | 0b0b9cc4cdda7b2f9d62548ba883329cf6c15274 /dev-python/mkdocs-material/mkdocs-material-9.1.5.ebuild | |
parent | 97c0860d9b4db72365710e1b8ed20644d6f5e926 (diff) |
gentoo auto-resync : 01:04:2023 - 11:14:56
Diffstat (limited to 'dev-python/mkdocs-material/mkdocs-material-9.1.5.ebuild')
-rw-r--r-- | dev-python/mkdocs-material/mkdocs-material-9.1.5.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/mkdocs-material/mkdocs-material-9.1.5.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.1.5.ebuild new file mode 100644 index 000000000000..eedc60f73616 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.1.5.ebuild @@ -0,0 +1,53 @@ +# 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 ~ppc ~riscv ~x86" + +RDEPEND=" + >=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}] +" + +# 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 +} |