1 |
commit: 760b5fdb397461dfa27c1d1ffdae7046abe38b80 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 23 15:22:26 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 24 22:09:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=760b5fdb |
7 |
|
8 |
dev-python/pytest-flakes: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-flakes/Manifest | 1 - |
13 |
.../files/pytest-flakes-4.0.3-fix-py3.10.patch | 17 --------------- |
14 |
.../pytest-flakes/pytest-flakes-4.0.3.ebuild | 25 ---------------------- |
15 |
3 files changed, 43 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/pytest-flakes/Manifest b/dev-python/pytest-flakes/Manifest |
18 |
index 38db5f1fb820..545b526b2ef0 100644 |
19 |
--- a/dev-python/pytest-flakes/Manifest |
20 |
+++ b/dev-python/pytest-flakes/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST pytest-flakes-4.0.3.tar.gz 7312 BLAKE2B cf62d7e11a0521592325492c76e67cd51384b31d8a6191f10940230014c9a8797b3603e24664c022add5cec18ff7c3b558cd7507af47e8c90a9e90499f39e583 SHA512 ca63d68063cf48789d86dee3707b3ea7c5076fc1f636e17f408ad6f444303fb3a701af8d1e464d49af745e350272bffe8596853a52c01baa0bdb0b6b0c0bb303 |
23 |
DIST pytest-flakes-4.0.4.tar.gz 7271 BLAKE2B aee9b573c1d4e173465d8547a568433eec3a6ab93a05c1a7655d7ecfd3dff2628f50b4f13f2aaa9a8f3ff365552f54cd1a5a3e4c7b347b056615e136fc5c5657 SHA512 f3bc82bef2dad4a1bf145179f1d25330adcb123cb6e2dd9802b0696be56ef66a8c705725a4e05a9fbbdc37d7482af7fe615735e0e94055f66b0893cc4cf15e53 |
24 |
|
25 |
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 |
26 |
deleted file mode 100644 |
27 |
index 35b4809c865b..000000000000 |
28 |
--- a/dev-python/pytest-flakes/files/pytest-flakes-4.0.3-fix-py3.10.patch |
29 |
+++ /dev/null |
30 |
@@ -1,17 +0,0 @@ |
31 |
-From: Arthur Zamarin <arthurzam@g.o> |
32 |
-Date: Fri, 27 Aug 2021 08:23:16 +0300 |
33 |
-Subject: [PATCH] test_syntax_error: fix for python 3.10 |
34 |
- |
35 |
-Signed-off-by: Arthur Zamarin <arthurzam@g.o> |
36 |
---- a/test_flakes.py |
37 |
-+++ b/test_flakes.py |
38 |
-@@ -20,7 +20,8 @@ for x in [] |
39 |
- pass |
40 |
- """) |
41 |
- result = testdir.runpytest("--flakes", "--ignore", testdir.tmpdir) |
42 |
-- assert "1: invalid syntax" in result.stdout.str() |
43 |
-+ assert ("1: invalid syntax" in result.stdout.str() or |
44 |
-+ "1: expected ':'" in result.stdout.str()) |
45 |
- assert 'passed' not in result.stdout.str() |
46 |
- |
47 |
- |
48 |
|
49 |
diff --git a/dev-python/pytest-flakes/pytest-flakes-4.0.3.ebuild b/dev-python/pytest-flakes/pytest-flakes-4.0.3.ebuild |
50 |
deleted file mode 100644 |
51 |
index d3a52d73420f..000000000000 |
52 |
--- a/dev-python/pytest-flakes/pytest-flakes-4.0.3.ebuild |
53 |
+++ /dev/null |
54 |
@@ -1,25 +0,0 @@ |
55 |
-# Copyright 1999-2021 Gentoo Authors |
56 |
-# Distributed under the terms of the GNU General Public License v2 |
57 |
- |
58 |
-EAPI=7 |
59 |
- |
60 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
61 |
-inherit distutils-r1 |
62 |
- |
63 |
-DESCRIPTION="Collection of small Python functions & classes" |
64 |
-HOMEPAGE="https://pypi.org/project/pytest-flakes/" |
65 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
66 |
- |
67 |
-LICENSE="BSD" |
68 |
-SLOT="0" |
69 |
-KEYWORDS="~amd64 ~x86" |
70 |
- |
71 |
-RDEPEND=" |
72 |
- dev-python/pyflakes[${PYTHON_USEDEP}] |
73 |
- dev-python/pytest[${PYTHON_USEDEP}]" |
74 |
- |
75 |
-PATCHES=( |
76 |
- "${FILESDIR}/${P}-fix-py3.10.patch" |
77 |
-) |
78 |
- |
79 |
-distutils_enable_tests pytest |