diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-26 15:08:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-26 15:08:09 +0100 |
commit | 2ad011cd42b40aebf90105be4521fb1727266d1d (patch) | |
tree | d9dc4f7c1665a6ba336ba8a9fa773f1292895b76 /dev-python/executing | |
parent | e0dcb1c4ea48292b379fadd53f55f1df42cf7eab (diff) |
gentoo auto-resync : 26:09:2022 - 15:08:08
Diffstat (limited to 'dev-python/executing')
-rw-r--r-- | dev-python/executing/Manifest | 2 | ||||
-rw-r--r-- | dev-python/executing/executing-1.1.0.ebuild | 43 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/executing/Manifest b/dev-python/executing/Manifest index eae50eb354f3..f756124a47af 100644 --- a/dev-python/executing/Manifest +++ b/dev-python/executing/Manifest @@ -1,5 +1,7 @@ DIST executing-0.10.0.gh.tar.gz 507523 BLAKE2B 5ab17adb1d40b83b0cf294aba350faf124a810b4c95e408e9bd2ba80d918154cb41d8b4d4748cd7d897d47e085883a30f431dedd595b00506beb5038e084f473 SHA512 f1ee25679cd1f88f273ee68e8e926a6e98b749a50d063ea3aa73f35ac0d7ea65b13364269f01265f164dba1d775a742cd7cf3594558e06efb39fb1157b3b9f5c DIST executing-1.0.0.gh.tar.gz 507720 BLAKE2B 601ddbd4c7dacd6b72317e9f07d8b8566d14b1c805bb7a2768449d51bf75818945f3b61b67dd0402d1d6171bd74165107ef98e835910529d82b8858bd016ac6d SHA512 912cea61ddb2ef12034432d68fa7239daad3c6365dbcbed72f08121b9fdc07e614b5c2233c53f5f7ee3472fca4f690af3db0944a0ed2c83623de8d682cff0a61 +DIST executing-1.1.0.gh.tar.gz 782214 BLAKE2B 56c97b1c0b6617db90a90f562409b406d0838e187fed4e45642506df85ae5e54824a393eb38982902bdb1c67fda2299bac282a5b260f3537cd06145b1c5b992e SHA512 090705c90051fdbf53310293fbb2e06bd2c2144cf83d3d02528768303c70871bd8b3a3d236705e29f8a9fc3132ca94bcb3375fe8834529a684b10b7c879faff0 EBUILD executing-0.10.0.ebuild 992 BLAKE2B a52d276ea72ec7d34187b09af70d9480c5337927ce4a146ab08e396c0fd25901b2035bab4423ddaed7bcb898d5e43a005821168fbd5ee34f56ed75e4e5a8d000 SHA512 888739c7a6e7f8c656be8ea984bbde47ea8dae2e1469baf8657d2a266e1e34375dc53960da03ab11488f5ab73bc634ec4614770235e88e4f28802498a87d7c10 EBUILD executing-1.0.0.ebuild 1069 BLAKE2B 8d69b8cb3b3a8cf5173d001c0088cac7131ff1b32bd1736652dae95ce039d278878e26a0e5bb03fb87ac25980bdb8149182f3b271767220840e3c502404054e9 SHA512 be23fd7a6738de506341232dbc6edaa15018314f59ceb675bbdd70718cd513358150ac2e8e45535a5a181a390e4f5b6b8c18a7eeff18989ac49ee5b4aad41c16 +EBUILD executing-1.1.0.ebuild 1036 BLAKE2B 10df93fe68048fe963ab102c4940e9dfe94cf4afb816babc829c73ff5d2c5c8c284d90a1d2f256aa956727b5f5a0a58130982703b76e4e47828be570f2880bfc SHA512 2b04201dd014c747221f5167048a1041735ffc95dc8487afd102f354359134f3f84986a7d22e0c6babbaa46296ff874eee85fcb35c1b5ad1dc5cf66cd15ce6e1 MISC metadata.xml 351 BLAKE2B 3e64042e3da09377bd27bcf09b9984eef77bbbc18e84f1e849571ff628cd15068fa680560cfc6c3650bf545e5869c6e3d6be0b4d2fc00f35c5fc58dcc3194eb1 SHA512 de199443767adf299da6c7d857c182071746b2ccf7b84015e9649675451ff336fdb7ac1df2d15951ae708ddf0529f2f1c9c19a2959f45c0dc30db1f341fb8d0f diff --git a/dev-python/executing/executing-1.1.0.ebuild b/dev-python/executing/executing-1.1.0.ebuild new file mode 100644 index 000000000000..26b7519766f7 --- /dev/null +++ b/dev-python/executing/executing-1.1.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +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 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# asttokens is optional runtime dep +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/littleutils[${PYTHON_USEDEP}] + dev-python/rich[${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}" + epytest tests/test_pytest.py +} |