diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
commit | fcc5224904648a8e6eb528d7603154160a20022f (patch) | |
tree | 3bfce096b38a9cea8eed13fc70c1526c456e9abd /dev-python/pytest-flakes | |
parent | 2fd57282f0262ca084e05b0f2c63fbada395d02b (diff) |
gentoo resync : 02.02.2022
Diffstat (limited to 'dev-python/pytest-flakes')
4 files changed, 6 insertions, 47 deletions
diff --git a/dev-python/pytest-flakes/Manifest b/dev-python/pytest-flakes/Manifest index 841e35406d30..0bb152a01f61 100644 --- a/dev-python/pytest-flakes/Manifest +++ b/dev-python/pytest-flakes/Manifest @@ -1,6 +1,3 @@ -AUX pytest-flakes-4.0.3-fix-py3.10.patch 573 BLAKE2B e956207230016083962085749a698d10d5ae7435daf49472b9543c09cf4c7430ea49715432c396675b9f86c65b5ac429abb8dee2df4ab16b6d13c103bfedf7ea SHA512 fdfab1fb712b8b880ea6e0aa32d82dd247dd78381d5ac11031fe06218835f9cded48d08d675f69a834273e84aa7ab3e2bb36c697f79a39d086cb6d1a9e629c4a -DIST pytest-flakes-4.0.3.tar.gz 7312 BLAKE2B cf62d7e11a0521592325492c76e67cd51384b31d8a6191f10940230014c9a8797b3603e24664c022add5cec18ff7c3b558cd7507af47e8c90a9e90499f39e583 SHA512 ca63d68063cf48789d86dee3707b3ea7c5076fc1f636e17f408ad6f444303fb3a701af8d1e464d49af745e350272bffe8596853a52c01baa0bdb0b6b0c0bb303 DIST pytest-flakes-4.0.4.tar.gz 7271 BLAKE2B aee9b573c1d4e173465d8547a568433eec3a6ab93a05c1a7655d7ecfd3dff2628f50b4f13f2aaa9a8f3ff365552f54cd1a5a3e4c7b347b056615e136fc5c5657 SHA512 f3bc82bef2dad4a1bf145179f1d25330adcb123cb6e2dd9802b0696be56ef66a8c705725a4e05a9fbbdc37d7482af7fe615735e0e94055f66b0893cc4cf15e53 -EBUILD pytest-flakes-4.0.3.ebuild 555 BLAKE2B 28f67239209928440a341b8d1171bccb85b60c47b46119af7f1320810598575b597ef85d6376a2f5c00d761178996d0d7dccab2848ee1ad567813d1bb5389069 SHA512 17decf5f132434923a17534af13c7597dcb6ee2e13803d8d916cf17c7ded539581c2f5a59a69ea9b2a7796899d7199067186d0aadbef6414bfea52d74193ef41 -EBUILD pytest-flakes-4.0.4.ebuild 505 BLAKE2B 83f6abdd5ccd70d7a0c2518149439b2dff671049d227a71bfdef4a870c9ff3777216f3c09ca0ae006b158b58e34a636ba2abd48da6efffa74c8ff8767b762beb SHA512 75e07a30179b5f9cbd89ea93dcf28bf61de20df549cef8c2f20969ee2a61465dab6e17b85f25f4c0b44382ababccbf3090e40dbe2840ef7c1a06182791766542 +EBUILD pytest-flakes-4.0.4.ebuild 543 BLAKE2B 867754b17cc9502e1175575442ac613ccf20557ee4378b255f9c2104ef2496f2959215b7c5d117abe301ae1dd38b3974ec01b543a5016f933906b8c5c1fb9805 SHA512 3cbe066578b02601e838482f37e9e0801bb93168da868925bafa1adaec2b46728476e8caa9e5872511d7eceeb82bae22c6acad0f3139eb47090ad5675a651008 MISC metadata.xml 330 BLAKE2B 27326dd6d6687ac291c21cabc5599cc765cd3e42fe3394497b0888c49ccc56cb92f82136f76655ac89e9aef270b9810e0afd5357f306cdc9e217a160f7affa7d SHA512 6728a8a8ae3432c021a9f599aa97a8a4d1ce3ab4aa035b179386f29e80dc98aa6345d3ee2e230bc437a2496feb8823868094c6b1b0444294023af244c35dd6b0 diff --git a/dev-python/pytest-flakes/files/pytest-flakes-4.0.3-fix-py3.10.patch b/dev-python/pytest-flakes/files/pytest-flakes-4.0.3-fix-py3.10.patch deleted file mode 100644 index 35b4809c865b..000000000000 --- a/dev-python/pytest-flakes/files/pytest-flakes-4.0.3-fix-py3.10.patch +++ /dev/null @@ -1,17 +0,0 @@ -From: Arthur Zamarin <arthurzam@gentoo.org> -Date: Fri, 27 Aug 2021 08:23:16 +0300 -Subject: [PATCH] test_syntax_error: fix for python 3.10 - -Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> ---- a/test_flakes.py -+++ b/test_flakes.py -@@ -20,7 +20,8 @@ for x in [] - pass - """) - result = testdir.runpytest("--flakes", "--ignore", testdir.tmpdir) -- assert "1: invalid syntax" in result.stdout.str() -+ assert ("1: invalid syntax" in result.stdout.str() or -+ "1: expected ':'" in result.stdout.str()) - assert 'passed' not in result.stdout.str() - - diff --git a/dev-python/pytest-flakes/pytest-flakes-4.0.3.ebuild b/dev-python/pytest-flakes/pytest-flakes-4.0.3.ebuild deleted file mode 100644 index d3a52d73420f..000000000000 --- a/dev-python/pytest-flakes/pytest-flakes-4.0.3.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Collection of small Python functions & classes" -HOMEPAGE="https://pypi.org/project/pytest-flakes/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/pyflakes[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}]" - -PATCHES=( - "${FILESDIR}/${P}-fix-py3.10.patch" -) - -distutils_enable_tests pytest diff --git a/dev-python/pytest-flakes/pytest-flakes-4.0.4.ebuild b/dev-python/pytest-flakes/pytest-flakes-4.0.4.ebuild index ccb22189a668..2dbe18a13be2 100644 --- a/dev-python/pytest-flakes/pytest-flakes-4.0.4.ebuild +++ b/dev-python/pytest-flakes/pytest-flakes-4.0.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,3 +19,7 @@ RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}]" distutils_enable_tests pytest + +python_test() { + epytest -p flakes +} |