From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1461553-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id DCB51158020
	for <garchives@archives.gentoo.org>; Tue, 29 Nov 2022 08:48:53 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 04BC7E085A;
	Tue, 29 Nov 2022 08:48:53 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E3250E085A
	for <gentoo-commits@lists.gentoo.org>; Tue, 29 Nov 2022 08:48:52 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 369693412B1
	for <gentoo-commits@lists.gentoo.org>; Tue, 29 Nov 2022 08:48:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8189076D
	for <gentoo-commits@lists.gentoo.org>; Tue, 29 Nov 2022 08:48:49 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1669711725.7d3895c1ad34b0044593ffe1f017807f3c12012d.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mkdocs-minify-plugin/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.6.2.ebuild
X-VCS-Directories: dev-python/mkdocs-minify-plugin/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 7d3895c1ad34b0044593ffe1f017807f3c12012d
X-VCS-Branch: master
Date: Tue, 29 Nov 2022 08:48:49 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 3df8493a-9d40-44e0-8816-f28f798b6d55
X-Archives-Hash: c21e84a73ad6bdf64da9b0cb1f71a19e

commit:     7d3895c1ad34b0044593ffe1f017807f3c12012d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 29 08:47:04 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 29 08:48:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d3895c1

dev-python/mkdocs-minify-plugin: Fix testing prior to install

Closes: https://bugs.gentoo.org/883553
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../mkdocs-minify-plugin/mkdocs-minify-plugin-0.6.2.ebuild     | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.6.2.ebuild b/dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.6.2.ebuild
index c4591ced7597..0a7f0c30648f 100644
--- a/dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.6.2.ebuild
+++ b/dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.6.2.ebuild
@@ -29,3 +29,13 @@ RDEPEND="
 "
 
 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
+}