summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-09-26 18:38:52 +0200
committerMichał Górny <mgorny@gentoo.org>2023-09-26 18:43:37 +0200
commit20133640f1961900fedac878961933cc5c4e9e23 (patch)
treefe7564309344272a1ae08c171400ea07b29714ad /dev-python/traitlets
parentdev-python/astroid: Bump to 2.15.8 (diff)
downloadgentoo-20133640f1961900fedac878961933cc5c4e9e23.tar.gz
gentoo-20133640f1961900fedac878961933cc5c4e9e23.tar.bz2
gentoo-20133640f1961900fedac878961933cc5c4e9e23.zip
dev-python/traitlets: Bump to 5.10.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/traitlets')
-rw-r--r--dev-python/traitlets/Manifest1
-rw-r--r--dev-python/traitlets/traitlets-5.10.1.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/traitlets/Manifest b/dev-python/traitlets/Manifest
index b78a008255cf..e8ebb13d02e8 100644
--- a/dev-python/traitlets/Manifest
+++ b/dev-python/traitlets/Manifest
@@ -1,2 +1,3 @@
DIST traitlets-5.10.0.tar.gz 153836 BLAKE2B ea9e694b1b852d32beee48889eed9dba967cd9bf29b235ad6f86ffc8eee8fcef28400aad8d13adef0ed7159fa6a7904be31f7249254a3b80764aa3c51e9e4e74 SHA512 6ca908f3a3a12a2ca55398b4811ab2daee0ae064359e51937bce111eeeb5268cbd585c68a35fd8c1fefc3f135d14ebb3a468d7c5e0f036a86e656fe6b3d281db
+DIST traitlets-5.10.1.tar.gz 155473 BLAKE2B e1a8ddb41441f876dfda07be5c0dc55da149b2f5c296e7028da7b58a13063c88fa3a71ec884ed788e32a313ac891f08385e57dae8c71ac10e9db4e2405ed1095 SHA512 8ac1f5761c2d169e2e2b79b4456b69840ce99b6d7ee6cc5731a8c9af60ed45a07ffaf3dfe87ba553f51d582384bbdc6a8c6361f48c04585cd72190455c65a7c7
DIST traitlets-5.9.0.tar.gz 150207 BLAKE2B 3717141dd69fb8191ed7735bf732f847004db9349507033a994e37bdfa654974d79d53937a6123f1697814197923615ea452f04afc3495c3139fa32e677bba6e SHA512 4999591d79fa537082307e148ce569beb2a0339ac9a7970ecc31c60dce6761d367e3ba959b4b57930f9fd2478616d031710e64a0afe13c6bc382477812fdc8ac
diff --git a/dev-python/traitlets/traitlets-5.10.1.ebuild b/dev-python/traitlets/traitlets-5.10.1.ebuild
new file mode 100644
index 000000000000..2d25eb1dcc1c
--- /dev/null
+++ b/dev-python/traitlets/traitlets-5.10.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( 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="~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 -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p pytest_mock
+}