diff --git a/dev-python/asteval/Manifest b/dev-python/asteval/Manifest index 827edc2e44201..a47b4f58c8fb8 100644 --- a/dev-python/asteval/Manifest +++ b/dev-python/asteval/Manifest @@ -1 +1,2 @@ DIST asteval-1.0.8.gh.tar.gz 49490 BLAKE2B 2c93101bb5a3cce16fcd97b85324ec325ea3d39fc306fc91537a3a8a7109d51fac98d411f06f86a6f5c3389dcca26c3bd1daf01fddc64bb9c749fc6ddd042928 SHA512 5d4df68aed50f3f8bb1371bf415f4c2d12ed8b4c623a67555143234d734a040d63c324d28993e8b82089a26ed3e141725384a5c121260a3731faebda643a513b +DIST asteval-1.0.9.gh.tar.gz 50725 BLAKE2B 1f9a13e8e0dab427f6d448d3ffe7832542748d53c41ca632d705d907a5f433270ec0771d62e97a96ec1412a70508cc9aa2bb32e1920d8992f8660b2982a9c2cf SHA512 54ea5508bf36a087b99a68365662327b0f1963b9ad4565cd94ab1cddbb0f12cb4e56baa5b7d2d3be42ece845da0d65fabbf4e656f68f98230b6ffa92aea52118 diff --git a/dev-python/asteval/asteval-1.0.9.ebuild b/dev-python/asteval/asteval-1.0.9.ebuild new file mode 100644 index 0000000000000..d30642251d434 --- /dev/null +++ b/dev-python/asteval/asteval-1.0.9.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 + +DESCRIPTION="Evaluator of Python expression using ast module" +HOMEPAGE=" + https://lmfit.github.io/asteval/ + https://github.com/lmfit/asteval/ + https://pypi.org/project/asteval/ +" +SRC_URI=" + https://github.com/lmfit/asteval/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + epytest -o addopts= +}