From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mkdocs-minify-plugin/
Date: Fri, 18 Aug 2023 13:41:54 +0000 (UTC) [thread overview]
Message-ID: <1692366025.e639aa07dfa9a768ea14d73ed9f8d9625f419cb6.andrewammerlaan@gentoo> (raw)
commit: e639aa07dfa9a768ea14d73ed9f8d9625f419cb6
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 18 13:40:25 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Aug 18 13:40:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e639aa07
dev-python/mkdocs-minify-plugin: add 0.7.1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-python/mkdocs-minify-plugin/Manifest | 1 +
.../mkdocs-minify-plugin-0.7.1.ebuild | 48 ++++++++++++++++++++++
2 files changed, 49 insertions(+)
diff --git a/dev-python/mkdocs-minify-plugin/Manifest b/dev-python/mkdocs-minify-plugin/Manifest
index bed593366e2a..b7c0d8ea1e3e 100644
--- a/dev-python/mkdocs-minify-plugin/Manifest
+++ b/dev-python/mkdocs-minify-plugin/Manifest
@@ -1,2 +1,3 @@
DIST mkdocs-minify-plugin-0.6.4.gh.tar.gz 8792 BLAKE2B 42dae53b6918655f27f26521e84b42a97e75d7b8f1ec526165341810fce9b0c6bf0add9f451d0122b68e2543deed98a2661ccaefb4b51262fee71964ba3c5bf9 SHA512 d5adf7df838f10abad79c5790c3aefec11ac78078cc5f0640213a2e097cb251a16eba39d9aa6f53996a983d08bcd4558718754d3bd11af74cf407faab3f97453
DIST mkdocs-minify-plugin-0.7.0.gh.tar.gz 8856 BLAKE2B c61cd0817f4e224ca22b71c395a4bfd0d144cf73ac39417dd2293176e98f31fd797a43c3c43d38a0232c5e287c9b6a84273171bdbf4d2eda5ce757f5b19188f8 SHA512 d14b2050bc8acca03532c46d44418d37401a6bd8dafe727a8331e46a57173044f8bb7f461c62eaa3bcd6ccd88065d9a999fcdfdce9b04d5cd62dd858c5ab0d2b
+DIST mkdocs-minify-plugin-0.7.1.gh.tar.gz 8935 BLAKE2B d5b29515a40068dd01894f7dffc54ad627fbaa6e3efaea91c19ab4fb3571dcfba00f1ec9f2e23869dc4bd2bf97dec2a872a8e91fd928dc628f6a0fc8fe455539 SHA512 c8d732cf7906c37b754ad7d5c2132a88d1175f5da453aa53ac390ae2c0461e8a8ed6ffb88c64c8bc627be593e5f9e1f9b8d9e44181c29bee60188d4a9a3a254b
diff --git a/dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.7.1.ebuild b/dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.7.1.ebuild
new file mode 100644
index 000000000000..55254d02d421
--- /dev/null
+++ b/dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.7.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..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.4
+SRC_URI="
+ https://github.com/byrnereese/mkdocs-minify-plugin/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~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
+
+src_prepare() {
+ # this is a fork of htmlmin with the same patches that we have
+ sed -i -e '/htmlmin2/d' setup.py || die
+ distutils-r1_src_prepare
+}
+
+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
+}
next reply other threads:[~2023-08-18 13:41 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-18 13:41 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-06 17:58 [gentoo-commits] repo/gentoo:master commit in: dev-python/mkdocs-minify-plugin/ Michał Górny
2024-04-03 8:58 Michał Górny
2024-02-17 22:26 Sam James
2024-02-01 10:20 Andrew Ammerlaan
2023-12-30 14:32 Michał Górny
2023-12-30 14:05 Arthur Zamarin
2023-12-15 8:17 Michał Górny
2023-12-04 13:46 Michał Górny
2023-12-02 9:54 Michał Górny
2023-12-02 9:50 Michał Górny
2023-11-29 10:47 Andrew Ammerlaan
2023-09-14 9:58 Andrew Ammerlaan
2023-07-26 6:03 Michał Górny
2023-04-16 18:56 Michał Górny
2023-04-16 17:15 Arthur Zamarin
2023-04-14 19:43 Sam James
2023-04-14 4:04 Sam James
2023-03-15 18:34 Arthur Zamarin
2023-03-15 7:31 Michał Górny
2023-03-15 6:52 Michał Górny
2023-02-25 5:47 Arthur Zamarin
2022-12-31 12:37 Michał Górny
2022-12-31 12:11 Sam James
2022-11-30 2:55 Michał Górny
2022-11-29 22:22 Jakov Smolić
2022-11-29 8:48 Michał Górny
2022-11-29 6:59 Michał Górny
2022-10-25 20:30 Arthur Zamarin
2022-10-22 7:46 Arthur Zamarin
2022-06-25 11:18 Michał Górny
2022-06-25 8:42 Arthur Zamarin
2022-05-24 13:02 Andrew Ammerlaan
2021-12-26 0:23 Sam James
2021-12-25 19:09 Jakov Smolić
2021-11-30 11:36 Arthur Zamarin
2021-11-25 2:54 Yixun Lan
2021-11-24 22:25 Andrew Ammerlaan
2021-11-21 19:14 Michał Górny
2021-11-21 18:39 Jakov Smolić
2021-10-20 12:17 Andrew Ammerlaan
2021-09-23 15:35 Marek Szuba
2021-09-09 15:51 Arthur Zamarin
2021-07-15 7:38 Agostino Sarubbo
2021-07-08 11:08 Andrew Ammerlaan
2021-04-13 11:07 Joonas Niilola
2021-03-11 7:18 Joonas Niilola
2020-12-08 5:53 Joonas Niilola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1692366025.e639aa07dfa9a768ea14d73ed9f8d9625f419cb6.andrewammerlaan@gentoo \
--to=andrewammerlaan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox