summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-10 19:57:21 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-10 20:06:15 +0200
commitaf478281564183c5659840bec7e424d7b078d9fb (patch)
tree40af47c5371665c6d073ef6e93fde78aec033684 /dev-python/tomli-w
parentmedia-sound/mixxx: removed obsolete 2.2.4-r1 & 2.3.1-r4 (diff)
downloadgentoo-af478281564183c5659840bec7e424d7b078d9fb.tar.gz
gentoo-af478281564183c5659840bec7e424d7b078d9fb.tar.bz2
gentoo-af478281564183c5659840bec7e424d7b078d9fb.zip
dev-python/tomli-w: Enable py3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/tomli-w')
-rw-r--r--dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild15
1 files changed, 11 insertions, 4 deletions
diff --git a/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild b/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild
index a2553aaaab0f..2d68495a7fe3 100644
--- a/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild
+++ b/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild
@@ -4,23 +4,30 @@
EAPI=8
DISTUTILS_USE_PEP517=flit
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
inherit distutils-r1
DESCRIPTION="A lil' TOML writer"
HOMEPAGE="
https://pypi.org/project/tomli-w/
- https://github.com/hukkin/tomli-w/"
+ https://github.com/hukkin/tomli-w/
+"
SRC_URI="
https://github.com/hukkin/tomli-w/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz"
+ -> ${P}.gh.tar.gz
+"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
BDEPEND="
- test? ( dev-python/tomli[${PYTHON_USEDEP}] )"
+ test? ( dev-python/tomli[${PYTHON_USEDEP}] )
+"
distutils_enable_tests pytest
+
+python_test() {
+ epytest tests
+}