forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Michał Górny <[email protected]>
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST asteval-0.9.29.gh.tar.gz 40010 BLAKE2B 1e2570afefc4ca0abd2a19d3498479a947e1634a550bd14f2efe813e00f3ec37b9f0e417616878a087a110d92474a626ba9b2972f8585f528fa492b99b758f03 SHA512 5afd7fe5349b5611112fc15a980f435e359c5fd81ece77041aed84566703f4621ac360dda2f133f0342a8eefe755820f7544fd5eb8195462cc05281ed0eba5dc | ||
DIST asteval-0.9.30.gh.tar.gz 43185 BLAKE2B e25e22eef482877c9a5373a8f5e67d3abbe3e31d44015c4d23731da0b7346c41a92a204da7c71e28ecee6d571d5bdba2c56662ae798d17c08a1569170bc78dd0 SHA512 aebc9e9e6b2b071f52df9aae9b85acf92b16e0559f93603e1e7393e17ae789db6253db767d214e9b391020f8a295017fa37d5630eeadb00fdc823b38018e76ab | ||
DIST asteval-0.9.31.gh.tar.gz 54667 BLAKE2B 9bb4ac81118d5fdf2b7437cb64a571e91f44e34ea17ab9eb55201f9edf7c18e7736b7dbdaf2bdac3e83e28c55fe3f869f01ac3ab9d41b15c043de52227c064f8 SHA512 af70363eba0a08dd91d05faf2ac83020f9e89b927dba8752e5bf00ad3b887cf7b57cdf4c64b231d484d55796a9d203af4fb9860ceac3dbd5d8855baf7ffb1417 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright 1999-2023 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://newville.github.io/asteval/ | ||
https://github.com/newville/asteval/ | ||
https://pypi.org/project/asteval/ | ||
" | ||
SRC_URI=" | ||
https://github.com/newville/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= | ||
} |