diff options
Diffstat (limited to 'dev-python/mkdocs-minify-plugin')
-rw-r--r-- | dev-python/mkdocs-minify-plugin/Manifest | 2 | ||||
-rw-r--r-- | dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.6.3.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/mkdocs-minify-plugin/Manifest b/dev-python/mkdocs-minify-plugin/Manifest index 307dbcc6e42a..0abccf53758f 100644 --- a/dev-python/mkdocs-minify-plugin/Manifest +++ b/dev-python/mkdocs-minify-plugin/Manifest @@ -1,3 +1,5 @@ DIST mkdocs-minify-plugin-0.6.2.gh.tar.gz 8480 BLAKE2B 91091702c0f5953b8cef4e081004cf44abbc2a7b21a0ea1996a337c96764a636fa79054c5d05ffc2814acb4b7fda0e833e61b02c6b97466586875e9da21c937b SHA512 563e150eb380aab105b18492eb0f725ec96fe12768c666b093e40d375e66cccf42f859aeb4d2788ae8c7a5b01e6e103c9f9aa1153802ad104955a98d90036144 +DIST mkdocs-minify-plugin-0.6.3.gh.tar.gz 8803 BLAKE2B 4888c646272613abab7310935b2179b2e8ddea13dc79ad6e2bcc88936202791b8b3ea1edea661a6988572e296174a889c8d5e774a77fca0b2b5e51ec6a24593d SHA512 4f20e7de415aa207af77a91ff40f37a7d9da641f30d538f04eca4592a92e68567e75b406947b00318207a8b4fd92d7c701cbb36cbc099899ae592c7b5b9cd5eb EBUILD mkdocs-minify-plugin-0.6.2.ebuild 981 BLAKE2B fc4c18bf78d1343b7816516ce512c4d2d9f08817aaedf7e930d5ca1362d352919ae19bf70afcc9098efff94e5afce9ea1fbe1fb96e22aba2e89b58fcce9d19ee SHA512 4bbf78ad6a004466086d0ed09f7a7f9d76ddecf31742fe3dd8e54b4ee28747812c43ffa1de7942cf0f02c3cbb17c775cce8c8a4d18ff653c27736e959f623f43 +EBUILD mkdocs-minify-plugin-0.6.3.ebuild 1021 BLAKE2B 7d535d9d576ada1ef127387e06f33b3ccdee032a89eb6b4c07b79c6f80e238c703fb0fb9737e940acfb6638940fabc85355c61de61aff76e3854e011c08059c0 SHA512 567eeba0286ea1553a8ebb429a0590d5875071fe3fa863dfdac78093dd1901159866ecd1f692140093852c35da0ffcbc914bcd6c7e23fe858fca1770c6f01f38 MISC metadata.xml 437 BLAKE2B 0b089b896a3b9458b03573a6f2870ee98c194a76969cb730508582aaae75cd5ae3fc46739ba12850a2388cf588aa68c6a45e31a59a8f1894e7eb02fe78d74992 SHA512 f238ac7d118776d582d880a4355d0786dc5d9b3f82e9139d5668fa9be009eeb7228a0bc0b2d5254e76b167ec30457241b808917a910b8d2037c781e46a871946 diff --git a/dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.6.3.ebuild b/dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.6.3.ebuild new file mode 100644 index 000000000000..b290a000fe77 --- /dev/null +++ b/dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.6.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="An MkDocs plugin to minify HTML and/or JS files prior to being written to disk" +HOMEPAGE=" + https://github.com/byrnereese/mkdocs-minify-plugin + https://pypi.org/project/mkdocs-minify-plugin/ +" +# pypi sdist lacks tests, as of 0.6.3 +SRC_URI=" + https://github.com/byrnereese/mkdocs-minify-plugin/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~riscv ~x86" + +RDEPEND=" + >=dev-python/csscompressor-0.9.5[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.4.1[${PYTHON_USEDEP}] + >=app-text/htmlmin-0.1.12[${PYTHON_USEDEP}] + >=dev-python/jsmin-3.0.1[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local -x PATH=${T}:${PATH} + cat > "${T}"/mkdocs <<-EOF || die + #!/bin/sh + exec "${EPYTHON}" -m mkdocs "\${@}" + EOF + chmod +x "${T}"/mkdocs || die + epytest +} |