From 3e690338421a6b64f6f44aa03db7416d75e0633a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 28 Nov 2023 10:54:09 +0000 Subject: gentoo auto-resync : 28:11:2023 - 10:54:09 --- dev-python/traitlets/traitlets-5.14.0.ebuild | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 dev-python/traitlets/traitlets-5.14.0.ebuild (limited to 'dev-python/traitlets/traitlets-5.14.0.ebuild') diff --git a/dev-python/traitlets/traitlets-5.14.0.ebuild b/dev-python/traitlets/traitlets-5.14.0.ebuild new file mode 100644 index 000000000000..8e1fe91a13a5 --- /dev/null +++ b/dev-python/traitlets/traitlets-5.14.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A configuration system for Python applications" +HOMEPAGE=" + https://github.com/ipython/traitlets/ + https://pypi.org/project/traitlets/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +BDEPEND=" + test? ( + >=dev-python/argcomplete-2.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + dev-python/myst-parser \ + dev-python/pydata-sphinx-theme +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + tests/test_typing.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} -- cgit v1.2.3