summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/asteval/Manifest1
-rw-r--r--dev-python/asteval/asteval-1.0.8.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/asteval/Manifest b/dev-python/asteval/Manifest
index d2fb065a8b46..e581e7fd0a37 100644
--- a/dev-python/asteval/Manifest
+++ b/dev-python/asteval/Manifest
@@ -1 +1,2 @@
DIST asteval-1.0.7.gh.tar.gz 48355 BLAKE2B 453195eda3b58fb6a8823de770bab4d6686622545f31b4a7b75f5a6cf0d4e28b0c326d4d5cd40cd24a75bdc1229a4d442157c733ed99d8337920b9e71f85cf11 SHA512 55d297dd8fef0ea78a0a50080feae014425e74bfadc189ca92246d7bc2dea595d54eda545796280570e111ba7eb9d3512b8de572d050db82cced15dddf899836
+DIST asteval-1.0.8.gh.tar.gz 49490 BLAKE2B 2c93101bb5a3cce16fcd97b85324ec325ea3d39fc306fc91537a3a8a7109d51fac98d411f06f86a6f5c3389dcca26c3bd1daf01fddc64bb9c749fc6ddd042928 SHA512 5d4df68aed50f3f8bb1371bf415f4c2d12ed8b4c623a67555143234d734a040d63c324d28993e8b82089a26ed3e141725384a5c121260a3731faebda643a513b
diff --git a/dev-python/asteval/asteval-1.0.8.ebuild b/dev-python/asteval/asteval-1.0.8.ebuild
new file mode 100644
index 000000000000..16bb0bf0e501
--- /dev/null
+++ b/dev-python/asteval/asteval-1.0.8.ebuild
@@ -0,0 +1,37 @@
+# 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} )
+
+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=
+}