gentoo/dev-python/serpent/serpent-1.41.ebuild
Michał Górny f9a9565c82
dev-python/serpent: Enable py3.14
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-05-27 18:49:19 +02:00

35 lines
638 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
inherit distutils-r1 pypi
DESCRIPTION="A simple serialization library based on ast.literal_eval"
HOMEPAGE="
https://github.com/irmen/Serpent/
https://pypi.org/project/serpent/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 ppc ppc64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
)
"
distutils_enable_tests unittest
python_test() {
eunittest tests
}