commit: 16ca03bfebb6611e532f10186d6f7c93189d032b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Dec 20 06:57:20 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Dec 20 08:07:10 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16ca03bf
dev-python/traitlets: Bump to 5.8.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/traitlets/Manifest | 1 + dev-python/traitlets/traitlets-5.8.0.ebuild | 37 +++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-python/traitlets/Manifest b/dev-python/traitlets/Manifest index fd54c6c22af3..ebc9d066f0f5 100644 --- a/dev-python/traitlets/Manifest +++ b/dev-python/traitlets/Manifest @@ -2,3 +2,4 @@ DIST traitlets-5.5.0.tar.gz 131686 BLAKE2B 1206c2f86367eb421202070a48fe12b20b214 DIST traitlets-5.6.0.tar.gz 133316 BLAKE2B 736ef860ed8f7d9cfde990c755d50f47d09344edf1d2f55347d693cc3c453ae1f2315c168bd52dc82ea4e29ee7ab1d2494c9fd095bf56d03cf8b52b89d209ff2 SHA512 7af0fb619ddb2991b6285bb07642f700b0bb822c0eb5770fe6d337f42ac9c2fbb59cd971e9a8991277c47f3a9be2cfde21712080cca4733f8bba3339f91c8311 DIST traitlets-5.7.0.tar.gz 136290 BLAKE2B ddc7190f0c14b6dae36effca4966801834d868f5072e3780ecaf10e5aadc2a05372e49028a7e08719e6d8a7536cd0e6a3dc36815322fc62933bca3311e55dee8 SHA512 252d6d93b863e099a739d0f1ad2a97421791ae9349c8720bc41dfeacfd3ee22f966cb75ee3895449a0e1b987f8d2db9d8665cbdacaed6a46ab05638e382d2e9e DIST traitlets-5.7.1.tar.gz 136382 BLAKE2B 28a9c125134aff644f0bc5fd7310378936c3bfd79dea33c96124c22630d9b21384a742e7576d7a62a9da9678da19199bbaaaa98a09526d78a46833a03bb331b5 SHA512 c3a3f7014bcf894381bef3f96fafd814b8aaeec66ad67e12f94308a741549fa89b4446a994d2ec6162c7e43b74c43491b533d35fa61ec0ac5435f71c96f82cb4 +DIST traitlets-5.8.0.tar.gz 149460 BLAKE2B 4e5d0344e2c6a2236202875708b28e2966cc8c9ee365ece423aa091dcbc9a3215c236ee63c5e88cf72a3ef9873671fadd83953e700e613360da90da4954b065d SHA512 e65efb5c52940bc2b12e64c932d55c3e5f7b7a3d5cbd49b3c7cbae972ac22e3c2b374f5a35f7c685e7f9ecb9c0b697e626ee942dc6f7f281c9b7857b9a4487d8 diff --git a/dev-python/traitlets/traitlets-5.8.0.ebuild b/dev-python/traitlets/traitlets-5.8.0.ebuild new file mode 100644 index 000000000000..92ba3d8f25c8 --- /dev/null +++ b/dev-python/traitlets/traitlets-5.8.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="A configuration system for Python applications" +HOMEPAGE=" + https://github.com/ipython/traitlets/ + https://pypi.org/project/traitlets/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +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 -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +}