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