commit: 9eb37dd8f0ba5ccc29975b9a6e69ee437102d4e4 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Dec 28 08:50:19 2021 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Dec 28 09:03:45 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eb37dd8
dev-python/pytest-codeblocks: Bump to 0.12.2 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pytest-codeblocks/Manifest | 1 + .../pytest-codeblocks-0.12.2.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/dev-python/pytest-codeblocks/Manifest b/dev-python/pytest-codeblocks/Manifest index 06d6a4509152..34134e2f6b5c 100644 --- a/dev-python/pytest-codeblocks/Manifest +++ b/dev-python/pytest-codeblocks/Manifest @@ -1 +1,2 @@ +DIST pytest-codeblocks-0.12.2.tar.gz 8547 BLAKE2B d5bfea250aa2fc955eab5b8e96bb942c119b44367fa2f9e8cab8350409a7dbf697c16e3193ad18e629d7f4ccbb2ddc1f4fbce4cead96167cf16d1b6a922fdd91 SHA512 d69819106b389ce3cd2d04a1385e49f2bdf4eb70ea334175e6ba5e2921d77266ac2e69b22ce5a42880846555dd271e5b7dc25bda838b9238ad5d14add9389681 DIST pytest-codeblocks-0.9.0.tar.gz 6590 BLAKE2B 34d1c72a891d2f2f1d98c4238322d888a48b286d628e3738043d16a59a75b3bd15b29e31c554a83508d9af31caf1b526e3c535a243bcf77c8d77f9bf5be69f5b SHA512 834002c4e9c8ad36baa9a4ed494fe28cf09460e0ee5a0a3d8d111cb0bd8ca4ed3c784a047901bc67984e7892f931b5644c1ea68112e4d9dda514a20e048b3d11 diff --git a/dev-python/pytest-codeblocks/pytest-codeblocks-0.12.2.ebuild b/dev-python/pytest-codeblocks/pytest-codeblocks-0.12.2.ebuild new file mode 100644 index 000000000000..f1e55b3e131e --- /dev/null +++ b/dev-python/pytest-codeblocks/pytest-codeblocks-0.12.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Extract code blocks from markdown" +HOMEPAGE="https://github.com/nschloe/pytest-codeblocks/" +SRC_URI=" + https://github.com/nschloe/pytest-codeblocks/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=dev-python/pytest-6[${PYTHON_USEDEP}]" + +distutils_enable_tests --install pytest + +python_test() { + distutils_install_for_testing + epytest -p pytester +}