diff options
Diffstat (limited to 'dev-python/executing')
-rw-r--r-- | dev-python/executing/Manifest | 3 | ||||
-rw-r--r-- | dev-python/executing/executing-2.0.1.ebuild | 2 | ||||
-rw-r--r-- | dev-python/executing/files/executing-2.0.1-additional-slow-tests.patch | 38 |
3 files changed, 42 insertions, 1 deletions
diff --git a/dev-python/executing/Manifest b/dev-python/executing/Manifest index a714f94c1205..02032f2fb8d6 100644 --- a/dev-python/executing/Manifest +++ b/dev-python/executing/Manifest @@ -1,7 +1,8 @@ +AUX executing-2.0.1-additional-slow-tests.patch 1244 BLAKE2B 9f490c63925a3eabc13d39cb552fb29b9f7514ef5069662fab22290f086cdd4074f6f2f83b32ddd3feaa7313a249a6d335d0c12ad942cb1b44106366cdd407b9 SHA512 6fb2f329946fb2697922b8dce0de1be82f4f958889c44e346db8894fbf4a6e0a418849218a2daafcc228ef11f291c75c37ac7fa9b3defd516459d4486765396b DIST executing-1.2.0.gh.tar.gz 663650 BLAKE2B ba9420bfcf3805223e6b7e84d65499f3a73ef3156480586d2c5ffde4e438fcf8474f4f02c123953d04ee253de7a6a3a1b2587e57fcae546f3dae7af70a1aaa98 SHA512 c841958cc499b2d78c94570bf0556933d4a58ca5541f7a59e591be6036926ab79d5ae86bb95bbf649f3c3fb729109fe50cf04fbc72692e0cfe12edaa995ea0a6 DIST executing-2.0.0.gh.tar.gz 837310 BLAKE2B d402a605ce80170e1789e7eec65e89da64fcbb70bbc7fcf9fb86dd6e4575312154fd969d3126ed7d88f7f9d0303304969544ad39c2161524e4157d7d1658a0bf SHA512 5c02ffafaa6993b783d013c1be0c92651af598bf872a10c3f6ea84c5e709cd1b22d9c37a778e5aaccfb05533b3c88395031c50ca722e1f780fc828256e8b201e DIST executing-2.0.1.gh.tar.gz 837355 BLAKE2B 7d38890eb322809c2b705f51731fe7537f81a0775d99bebb4b4ae67453930daedd947b249385babbc2373969344b643f288441fc28f3588264e4ebc23e1c389d SHA512 8a753aab42ea2d3b61764ee77de3bb52ea7fcc2818298281180ffc47c7b22ee84974ee98b2137250f722ad559be92e72e8fc01d7b2d38ab6a01512618b65d4f3 EBUILD executing-1.2.0.ebuild 1116 BLAKE2B 360a470d2fad1a84d832358d16e88af29df6fed0d6d4e4e707598a03d02c14ffbb90b25bd5bad3f13a9475bb7c3d4ca165390c620fb933f896cdd92e53b38f5a SHA512 02e157ec5365c5c0b25dcdaf1f6fec858fa13b4ac26ccb6b7cd953981dff5e0b69886e2e0a5574d3b721508ac2d6490afe4a1e2281847360b1b303f1e8b03410 EBUILD executing-2.0.0.ebuild 1334 BLAKE2B a83ac6039c475dc7f09867c5bccdbb3f3a15fdfbeea711e02a7bba24b078ab36e2d84fb748b8ad13cb080aef21f00c579fcc4e0876220828fa65fe1d4b3b949c SHA512 d4deb166a2e935624cfbee276041a4a765bf5052d2dfb95dcd9dd3128800725bf4f9524132ad75fe7866c523ec1f82a9684a7f21bca84b1c177ffd67d1479784 -EBUILD executing-2.0.1.ebuild 1334 BLAKE2B a83ac6039c475dc7f09867c5bccdbb3f3a15fdfbeea711e02a7bba24b078ab36e2d84fb748b8ad13cb080aef21f00c579fcc4e0876220828fa65fe1d4b3b949c SHA512 d4deb166a2e935624cfbee276041a4a765bf5052d2dfb95dcd9dd3128800725bf4f9524132ad75fe7866c523ec1f82a9684a7f21bca84b1c177ffd67d1479784 +EBUILD executing-2.0.1.ebuild 1401 BLAKE2B ec423128b2c86180f16a2c1430da5f34dfad94587a5056bd92c413220f272f97ed96e342f380246cb423b3c718ecb6b0e2d2390275367d8c4f6b7e10e8db1ea0 SHA512 c13ad3fb1cc3559ef3d0914e885da4b4c41e6db168f8868b1246b3ce41d7127b4d8833219ca21d42e542778dc45311f62ba137023c357ed6e43c2ef0ce56bcc8 MISC metadata.xml 351 BLAKE2B 3e64042e3da09377bd27bcf09b9984eef77bbbc18e84f1e849571ff628cd15068fa680560cfc6c3650bf545e5869c6e3d6be0b4d2fc00f35c5fc58dcc3194eb1 SHA512 de199443767adf299da6c7d857c182071746b2ccf7b84015e9649675451ff336fdb7ac1df2d15951ae708ddf0529f2f1c9c19a2959f45c0dc30db1f341fb8d0f diff --git a/dev-python/executing/executing-2.0.1.ebuild b/dev-python/executing/executing-2.0.1.ebuild index a5e4ed0cc8c8..3e29d488d602 100644 --- a/dev-python/executing/executing-2.0.1.ebuild +++ b/dev-python/executing/executing-2.0.1.ebuild @@ -32,6 +32,8 @@ BDEPEND=" ) " +PATCHES=( "${FILESDIR}/${PN}-2.0.1-additional-slow-tests.patch" ) + distutils_enable_tests pytest export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/executing/files/executing-2.0.1-additional-slow-tests.patch b/dev-python/executing/files/executing-2.0.1-additional-slow-tests.patch new file mode 100644 index 000000000000..36346e7363fb --- /dev/null +++ b/dev-python/executing/files/executing-2.0.1-additional-slow-tests.patch @@ -0,0 +1,38 @@ +https://bugs.gentoo.org/show_bug.cgi?id=909738 +https://github.com/alexmojaki/executing/pull/78 + +From 9990d20a28d46e8a911c370a019f9231cad977f0 Mon Sep 17 00:00:00 2001 +From: matoro <matoro@users.noreply.github.com> +Date: Sun, 5 Nov 2023 19:54:34 -0500 +Subject: [PATCH] Add many_calls tests to EXECUTING_SLOW_TESTS + +--- + tests/test_main.py | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/tests/test_main.py b/tests/test_main.py +index 7e33247..bc015cd 100644 +--- a/tests/test_main.py ++++ b/tests/test_main.py +@@ -279,6 +279,10 @@ def test_future_import(self): + print(1 / 2) + tester(4) + ++ @pytest.mark.skipif( ++ not os.getenv("EXECUTING_SLOW_TESTS"), ++ reason="These tests are very slow, enable them explicitly", ++ ) + def test_many_calls(self): + node = None + start = time.time() +@@ -290,6 +294,10 @@ def test_many_calls(self): + self.assertIs(node, new_node) + self.assertLess(time.time() - start, 1) + ++ @pytest.mark.skipif( ++ not os.getenv("EXECUTING_SLOW_TESTS"), ++ reason="These tests are very slow, enable them explicitly", ++ ) + def test_many_source_for_filename_calls(self): + source = None + start = time.time() |