[gentoo-commits] repo/gentoo:master commit in: dev-python/mkdocs-material/files/, dev-python/mkdocs-material/
commit: 400f82643ee06615dcf617bacd1c9ecb0452c663 Author: Michał Górny gentoo org> AuthorDate: Thu Dec 1 06:10:22 2022 + Commit: Michał Górny gentoo org> CommitDate: Thu Dec 1 07:09:12 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=400f8264 dev-python/mkdocs-material: Bump to 8.5.11 Signed-off-by: Michał Górny gentoo.org> dev-python/mkdocs-material/Manifest| 1 + .../mkdocs-material-8.5.7-simplify-build.patch | 9 .../mkdocs-material/mkdocs-material-8.5.11.ebuild | 53 ++ 3 files changed, 54 insertions(+), 9 deletions(-) diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 719ba22c29b3..3ef07f3a5b5c 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1 +1,2 @@ DIST mkdocs-material-8.5.10.gh.tar.gz 10384269 BLAKE2B 3f7837b17724e93fa28a906811a8695aacba9c479a13d4568775945aee3943b9f58e017ab71fb81da8c72073a471b736ca75bf721a786309fe822f5898e4d3aa SHA512 ed186b206ffe0b17c96a33270d83ffc3c98262eb608d6889101b6949057e7059642eb83b584f4a309afff64a359ee79625c5a95be62fc37ece069e2404faa0bd +DIST mkdocs-material-8.5.11.gh.tar.gz 10423819 BLAKE2B 8af9b10fde57a6543d86dc8d6004cb100359e274072486094e7db4f8eeb7d44d83505d00b3f202f02e695a613ae8e2fdf08ac1b39584e7d9aeae430bb560d60a SHA512 7fdc06cf7f64a2831fe2acb05a735bc9519fdf109fbccd5ee1667d07175916fffb295ccfa88a4352a7a0688f0eaf535c26ab49463f672d964d4a87ad8de6ddf1 diff --git a/dev-python/mkdocs-material/files/mkdocs-material-8.5.7-simplify-build.patch b/dev-python/mkdocs-material/files/mkdocs-material-8.5.7-simplify-build.patch index ac696c40710f..b731b9a37be8 100644 --- a/dev-python/mkdocs-material/files/mkdocs-material-8.5.7-simplify-build.patch +++ b/dev-python/mkdocs-material/files/mkdocs-material-8.5.7-simplify-build.patch @@ -2,15 +2,6 @@ diff --git a/pyproject.toml b/pyproject.toml index c5bd914c0..3757e983b 100644 --- a/pyproject.toml +++ b/pyproject.toml -@@ -19,7 +19,7 @@ - # IN THE SOFTWARE. - - [build-system] --requires = ["hatchling", "hatch-requirements-txt", "hatch-nodejs-version>=0.3.0"] -+requires = ["hatchling"] - build-backend = "hatchling.build" - - [project] @@ -55,13 +55,7 @@ tags = "material.plugins.tags.plugin:TagsPlugin" material = "material" diff --git a/dev-python/mkdocs-material/mkdocs-material-8.5.11.ebuild b/dev-python/mkdocs-material/mkdocs-material-8.5.11.ebuild new file mode 100644 index ..33fbca42ea2f --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-8.5.11.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8..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 ~riscv ~x86" + +RDEPEND=" + >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.3.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.12[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-9.4[${PYTHON_USEDEP}] +" + +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=" + >=dev-python/mkdocs-material-extensions-1.0.3[${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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/mkdocs-material/files/, dev-python/mkdocs-material/
commit: a6ad7ac337c36f02b6f5010a492a61c7a5bfcd8c Author: Arthur Zamarin gentoo org> AuthorDate: Sat Oct 22 10:43:49 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Oct 22 10:44:11 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6ad7ac3 dev-python/mkdocs-material: fix build Closes: https://bugs.gentoo.org/877897 Follows: 9a4c11ae1d1c1b00b07dcf7668dcaa91946e969e Signed-off-by: Arthur Zamarin gentoo.org> .../mkdocs-material-8.5.7-simplify-build.patch | 23 +++--- .../mkdocs-material/mkdocs-material-8.5.7.ebuild | 2 +- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/dev-python/mkdocs-material/files/mkdocs-material-8.5.7-simplify-build.patch b/dev-python/mkdocs-material/files/mkdocs-material-8.5.7-simplify-build.patch index c0f07eac494f..ac696c40710f 100644 --- a/dev-python/mkdocs-material/files/mkdocs-material-8.5.7-simplify-build.patch +++ b/dev-python/mkdocs-material/files/mkdocs-material-8.5.7-simplify-build.patch @@ -1,27 +1,28 @@ -From: Arthur Zamarin - -Simplify dependencies used for metadata generation. - +diff --git a/pyproject.toml b/pyproject.toml +index c5bd914c0..3757e983b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ # IN THE SOFTWARE. - + [build-system] -requires = ["hatchling", "hatch-requirements-txt", "hatch-nodejs-version>=0.3.0"] +requires = ["hatchling"] build-backend = "hatchling.build" - + [project] -@@ -55,10 +55,7 @@ tags = "material.plugins.tags.plugin:TagsPlugin" +@@ -55,13 +55,7 @@ tags = "material.plugins.tags.plugin:TagsPlugin" material = "material" - + [tool.hatch.version] -source = "nodejs" - -[tool.hatch.metadata.hooks.nodejs] -fields = ["license", "description", "authors", "keywords", "urls"] +- +-[tool.hatch.metadata.hooks.requirements_txt] +-filename = "requirements.txt" +path = "gentoo_version.py" - - [tool.hatch.metadata.hooks.requirements_txt] - filename = "requirements.txt" + + [tool.hatch.build.targets.wheel] + include = ["/material"] diff --git a/dev-python/mkdocs-material/mkdocs-material-8.5.7.ebuild b/dev-python/mkdocs-material/mkdocs-material-8.5.7.ebuild index 4f1e1fca0123..2071af80ea70 100644 --- a/dev-python/mkdocs-material/mkdocs-material-8.5.7.ebuild +++ b/dev-python/mkdocs-material/mkdocs-material-8.5.7.ebuild @@ -45,7 +45,7 @@ PATCHES=( "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" ) -_src_prepare() { +src_prepare() { echo "__version__ = '${PV}'"> gentoo_version.py || die distutils-r1_src_prepare }