package/python-pure-eval: new package

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Romain Naour 2023-05-28 21:01:08 +02:00 committed by Peter Korsgaard
parent 91b7bd01ec
commit c8e93f4a6b
4 changed files with 28 additions and 0 deletions

View File

@ -1190,6 +1190,7 @@ menu "External python modules"
source "package/python-psycopg2/Config.in"
source "package/python-ptyprocess/Config.in"
source "package/python-pudb/Config.in"
source "package/python-pure-eval/Config.in"
source "package/python-py/Config.in"
source "package/python-pyaes/Config.in"
source "package/python-pyalsa/Config.in"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_PURE_EVAL
bool "python-pure-eval"
help
Safely evaluate AST nodes without side effects.
http://github.com/alexmojaki/pure_eval

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/pure_eval/json
md5 212fd27ca2c58d9effddec69748d738a pure_eval-0.2.2.tar.gz
sha256 2b45320af6dfaa1750f543d714b6d1c520a1688dec6fd24d339063ce0aaa9ac3 pure_eval-0.2.2.tar.gz
# Locally computed sha256 checksums
sha256 a476a2cb0ef4c41450340a577a28b91ac4c7f669136b2ee148047fabd5fc4181 LICENSE.txt

View File

@ -0,0 +1,16 @@
################################################################################
#
# python-pure-eval
#
################################################################################
PYTHON_PURE_EVAL_VERSION = 0.2.2
PYTHON_PURE_EVAL_SOURCE = pure_eval-$(PYTHON_PURE_EVAL_VERSION).tar.gz
PYTHON_PURE_EVAL_SITE = https://files.pythonhosted.org/packages/97/5a/0bc937c25d3ce4e0a74335222aee05455d6afa2888032185f8ab50cdf6fd
PYTHON_PURE_EVAL_SETUP_TYPE = setuptools
PYTHON_PURE_EVAL_LICENSE = MIT
PYTHON_PURE_EVAL_LICENSE_FILES = LICENSE.txt
PYTHON_PURE_EVAL_DEPENDENCIES = host-python-setuptools-scm
$(eval $(python-package))