commit: c374c37bb8573d5d7c37bd96d970fbc6a17cafa0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 15 02:08:00 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 15 02:22:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c374c37b
dev-python/asteval: Bump to 1.0.4
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/asteval/Manifest | 1 +
dev-python/asteval/asteval-1.0.4.ebuild | 36 +++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
diff --git a/dev-python/asteval/Manifest b/dev-python/asteval/Manifest
index fee862b9b1a9..f59972d5c52b 100644
--- a/dev-python/asteval/Manifest
+++ b/dev-python/asteval/Manifest
@@ -1,2 +1,3 @@
DIST asteval-1.0.2.gh.tar.gz 45578 BLAKE2B
87bf6c9eaf4cb8f202bf78f8eb8b670fa7c4619384b8b07dd0b46fbba3f39508d16f69237a0798a705d5077fbe71930d7aa946e637668d5b41ec43d7b5802837
SHA512
6e7ae98e96c359852db46c3c2ba0fa9796375eea84b6f213fe59cf91fb3d9862effa759051e962daf6fc072579b907233166cd12ff4e9a2d04b62a519a8f9af8
DIST asteval-1.0.3.gh.tar.gz 46346 BLAKE2B
1f0985030d9684db2fbb7f112e32e6d4434f3600a4825c50366aafd9d3a0f1c9a87143e09d6017c69e5ba0987f256162c9b516f2042f872e27469eeb82250214
SHA512
b7dcb52ebb56b114167b05dd743656b427db1bd416c7842fd5ee2ad5c81ff1c62cadcf94b29b218985e4bfbc2111f2ab0b0a6bca172b1092a50edce011fc5e31
+DIST asteval-1.0.4.gh.tar.gz 46374 BLAKE2B
4a3133457a752bc99a68fc4bffeb8aab8b4340ef21f8bae75d9131a5bcaa7eb4d081cacdfa7d9396565cc744a4d997e33516ba9cb0ae290392b06bfbcc608f27
SHA512
cf29562a2792013ed8fc7c14aaa261650b05037ee92ab75f8c79a1a235c59e8ee4768955c03ed615798666bfb62bf2ca37105dc93c1a4f56bcf446a0e4ba01f6
diff --git a/dev-python/asteval/asteval-1.0.4.ebuild
b/dev-python/asteval/asteval-1.0.4.ebuild
new file mode 100644
index 000000000000..5162e3ac4666
--- /dev/null
+++ b/dev-python/asteval/asteval-1.0.4.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=
+}