diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-python/executing | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-python/executing')
-rw-r--r-- | dev-python/executing/Manifest | 2 | ||||
-rw-r--r-- | dev-python/executing/executing-0.6.0.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/executing/Manifest b/dev-python/executing/Manifest index af4f280cdcd2..b2e093023a53 100644 --- a/dev-python/executing/Manifest +++ b/dev-python/executing/Manifest @@ -1,3 +1,5 @@ DIST executing-0.5.4.gh.tar.gz 330687 BLAKE2B 10f526dfb3a9f72dda788af97547e011425a56d1af73c30f5704fb8d348beb4e4538e118355dd415ec6125507ca9b2b015c02dc0bd81a2ef732a60aafb89f12a SHA512 3953ee1f6667c32fea28f964b395d53e99fa7869e27495a241f70179577865ec430ddfa07776995b6b1aaddd660adf6c6b61a8e8931589c0faeea94743fbc209 +DIST executing-0.6.0.gh.tar.gz 330731 BLAKE2B f6a86072907c5140aefb45beb46bcc8c6e3e242e2e821046e59f0eafe1d5c16efe3c08dd1b19b1ce85388fd9cc4757bfe586b95fb490a594cfee4f5e69b5a0af SHA512 5d2f621ff4cbfd55ac43b555f771b129ade5d20f882f4e5d6a060a1a099abad73cc4128c9e6bd32fccc40c4c85c51c28b3be40ab16f163e1ceaaad07f1936ab7 EBUILD executing-0.5.4.ebuild 1085 BLAKE2B 34ead6a0101c73ae23e14513f52253ff0ede0e9c7bd5d927bb31116971edcf049854fce417861ad4accd0f10516d072e0766f48929beba4bf44bdfa516dfaeca SHA512 ac479051c079ed6ad1b4337cbb593224e81f1d8c5e62791e8f6387a0d4e8f9bb686bc0442dafd1250986c843651ada922fec6455ddb80c2b58832c7901c0de86 +EBUILD executing-0.6.0.ebuild 971 BLAKE2B ddec539f63d652620a046bddbe6c86f3239c0418a4e859db341407d85c77b0b9d8a1af8b573696e2b262442b930284919ae0ea21683ff9d4d5bb82d4156c6b03 SHA512 b35f23f39f2a92389204b04efd48dd3d356704a3e558da1977d4c726ccda22e4e6fc82e965f4562226bca44d83f5a0ad293d2ee9130600f522edde4708906191 MISC metadata.xml 350 BLAKE2B d128d36a837974853f5e51c64b03ca8eb749eaba54e5049033153e1c3671eef5a91490855820a47ce718f28e2aa45dd9d26df75e81fd923d7f119d546b6d9b61 SHA512 ff4ae4abcc417476ba024f7e9ff8f8de8c57d70f34c36bd2a4adae498c01489c16bf315ff174616ac9d65de3431983c35da66edae60668c9e526ada2a026555a diff --git a/dev-python/executing/executing-0.6.0.ebuild b/dev-python/executing/executing-0.6.0.ebuild new file mode 100644 index 000000000000..63116e793bef --- /dev/null +++ b/dev-python/executing/executing-0.6.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 + +DESCRIPTION="Get information about what a Python frame is currently doing" +HOMEPAGE=" + https://github.com/alexmojaki/executing/ + https://pypi.org/project/executing/" +SRC_URI=" + https://github.com/alexmojaki/executing/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" + +# asttokens is optional runtime dep +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + # this test explodes when collected by pytest + "${EPYTHON}" tests/test_main.py || die "Tests failed with ${EPYTHON}" + pytest -vv tests/test_pytest.py || die "Tests failed with ${EPYTHON}" +} |