commit: 5827d7f5a2e7261b92b2c57cb02130a32fcd4833
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 2 05:04:38 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jul 2 06:58:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5827d7f5
dev-python/asteval: Bump to 1.0.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/asteval/Manifest | 1 +
dev-python/asteval/asteval-1.0.0.ebuild | 36 +++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
diff --git a/dev-python/asteval/Manifest b/dev-python/asteval/Manifest
index eed5bfe5def7..bf4595ee8d33 100644
--- a/dev-python/asteval/Manifest
+++ b/dev-python/asteval/Manifest
@@ -1 +1,2 @@
DIST asteval-0.9.33.gh.tar.gz 54562 BLAKE2B
d9745db2625da974ab51fe01150caf314772a92774c9cc5cb656811edfc80754e1708a296df461812dae949a208f3afd8acd0dff55612ab6d470f03c7035a6dc
SHA512
fe817a5f8f208a06f1bf9521ccdda852ecb21cb8a15e2496c9acbc16a2260cd363205d02d34b2296d76a21755a5470d999448ee788dfec4d66ac8f0062d5c40d
+DIST asteval-1.0.0.gh.tar.gz 45214 BLAKE2B
8379f6b5e09f12a3a38edb6970689c8eec52f06cf09c54a4982f9af614d64ea20cfdf544a3a54d5156390c2f0938d57637eab86ba0f9b8a67511ee06fe3e9f9a
SHA512
f88a4484528c36a5406ac58fad1cde9f06d73cdf841347ca2fdbfe38ce42d6a502bbd3c843321dbe224fe57982cec535cee81cc2de9bda4f9b68fd2276a0c99d
diff --git a/dev-python/asteval/asteval-1.0.0.ebuild
b/dev-python/asteval/asteval-1.0.0.ebuild
new file mode 100644
index 000000000000..5162e3ac4666
--- /dev/null
+++ b/dev-python/asteval/asteval-1.0.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+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}]
+"
+
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+python_test() {
+ epytest -o addopts=
+}