summaryrefslogtreecommitdiff
path: root/dev-python/asteval
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-07-02 07:04:38 +0200
committerMichał Górny <mgorny@gentoo.org>2024-07-02 08:58:40 +0200
commit5827d7f5a2e7261b92b2c57cb02130a32fcd4833 (patch)
treee5b0dcb7ea2eee5e0f7bbddfb1f413697e9c4830 /dev-python/asteval
parent311ad3e1fd7f0cc02cd55190d0b29e113109fc10 (diff)
downloadgentoo-5827d7f5a2e7261b92b2c57cb02130a32fcd4833.tar.gz
gentoo-5827d7f5a2e7261b92b2c57cb02130a32fcd4833.tar.bz2
gentoo-5827d7f5a2e7261b92b2c57cb02130a32fcd4833.zip
dev-python/asteval: Bump to 1.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/asteval')
-rw-r--r--dev-python/asteval/Manifest1
-rw-r--r--dev-python/asteval/asteval-1.0.0.ebuild36
2 files changed, 37 insertions, 0 deletions
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=
+}