commit: 25a9dcbd58b20dbc70d818a73caba20aa9eeb96f Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Oct 31 05:08:55 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Oct 31 05:17:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25a9dcbd
dev-python/sybil: Bump to 8.0.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/sybil/Manifest | 1 + dev-python/sybil/sybil-8.0.1.ebuild | 42 +++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/sybil/Manifest b/dev-python/sybil/Manifest index db9e5d2f18c0..deec8d4ec70f 100644 --- a/dev-python/sybil/Manifest +++ b/dev-python/sybil/Manifest @@ -1 +1,2 @@ DIST sybil-8.0.0.gh.tar.gz 75118 BLAKE2B f62f15dab48af23423d8ce9e8a49f3b772fad7d029360d0a98f36a8d2386fc2fc76a2510550ada6b2256848364fa0c998ba939f625c00f1628b8d1a07ad298b5 SHA512 00a02c786e29596fadc3f016c97bc492723fdd956b430ddca2a5e66d38cab424410cf3c74b46f5fff84d3bf3d39ba397068562c5bdca3cff142ce42ad0048487 +DIST sybil-8.0.1.gh.tar.gz 75321 BLAKE2B dc3b4dcafd7d10549d75767a86a32d6509c1fc6683617d533b64bedb9499dfa1405656eed049622d32d9aef13f74e20ba2a46bf5eb57bd8306e086a31353b2cb SHA512 06f0012198e575c0a90274c970880c5fbbcf0738ea57a4cc9692999ea3ad9e40be217e741b3b6ddcfd947f1787c3d60e68ee4d52d547f9929cf3fd2c89880bcc diff --git a/dev-python/sybil/sybil-8.0.1.ebuild b/dev-python/sybil/sybil-8.0.1.ebuild new file mode 100644 index 000000000000..6244e3506d0c --- /dev/null +++ b/dev-python/sybil/sybil-8.0.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Automated testing for the examples in your documentation" +HOMEPAGE=" + https://github.com/simplistix/sybil/ + https://pypi.org/project/sybil/ +" +# tests are missing in sdist, as of 5.0.1 +SRC_URI=" + https://github.com/simplistix/sybil/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/pytest-8[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/seedir[${PYTHON_USEDEP}] + dev-python/testfixtures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}