summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-03-04 07:23:50 +0100
committerMichał Górny <mgorny@gentoo.org>2024-03-04 07:31:21 +0100
commit36b0dde030d9df212452c2711321cf620ac7a509 (patch)
treefc554078281bbec92790f37a3270970b3c0532d2 /dev-python/asteval
parentdev-python/trove-classifiers: Bump to 2024.3.3 (diff)
downloadgentoo-36b0dde030d9df212452c2711321cf620ac7a509.tar.gz
gentoo-36b0dde030d9df212452c2711321cf620ac7a509.tar.bz2
gentoo-36b0dde030d9df212452c2711321cf620ac7a509.zip
dev-python/asteval: Bump to 0.9.32
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-0.9.32.ebuild36
-rw-r--r--dev-python/asteval/metadata.xml2
3 files changed, 38 insertions, 1 deletions
diff --git a/dev-python/asteval/Manifest b/dev-python/asteval/Manifest
index 87e55d9fc935..b161e448f2d4 100644
--- a/dev-python/asteval/Manifest
+++ b/dev-python/asteval/Manifest
@@ -1 +1,2 @@
DIST asteval-0.9.31.gh.tar.gz 54667 BLAKE2B 9bb4ac81118d5fdf2b7437cb64a571e91f44e34ea17ab9eb55201f9edf7c18e7736b7dbdaf2bdac3e83e28c55fe3f869f01ac3ab9d41b15c043de52227c064f8 SHA512 af70363eba0a08dd91d05faf2ac83020f9e89b927dba8752e5bf00ad3b887cf7b57cdf4c64b231d484d55796a9d203af4fb9860ceac3dbd5d8855baf7ffb1417
+DIST asteval-0.9.32.gh.tar.gz 54542 BLAKE2B 367c25c6099538e7457aa17a7224bb3112558a7183f948dcec01fe5cb6ef689e9fc6ef34a1c45cd668c84b8d7647e55c15457d34f5aeb5885b03515730ad03d1 SHA512 b8975cedff0680c4581b1a2053b4d7f55cd0fa6e970dfc65c21047f9c919c2fd44ff0a747e1a1cf97ddb69212f564e8d2d1dc705f864563f21684c68c98b5a8c
diff --git a/dev-python/asteval/asteval-0.9.32.ebuild b/dev-python/asteval/asteval-0.9.32.ebuild
new file mode 100644
index 000000000000..db9c4073802e
--- /dev/null
+++ b/dev-python/asteval/asteval-0.9.32.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..12} )
+
+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=
+}
diff --git a/dev-python/asteval/metadata.xml b/dev-python/asteval/metadata.xml
index 2a634211c954..b6cd0e636df0 100644
--- a/dev-python/asteval/metadata.xml
+++ b/dev-python/asteval/metadata.xml
@@ -9,7 +9,7 @@
<name>Python</name>
</maintainer>
<upstream>
- <remote-id type="github">newville/asteval</remote-id>
+ <remote-id type="github">lmfit/asteval</remote-id>
<remote-id type="pypi">asteval</remote-id>
</upstream>
</pkgmetadata>