1 |
commit: c29bbd37d9ef84c0f9be4ca30912be5973554322 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 5 11:05:29 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 5 11:05:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c29bbd37 |
7 |
|
8 |
dev-python/deprecation: Eliminate unittest2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/deprecation/deprecation-2.1.0.ebuild | 10 +++++----- |
13 |
1 file changed, 5 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/deprecation/deprecation-2.1.0.ebuild b/dev-python/deprecation/deprecation-2.1.0.ebuild |
16 |
index 435613b7860..beaa31f1df7 100644 |
17 |
--- a/dev-python/deprecation/deprecation-2.1.0.ebuild |
18 |
+++ b/dev-python/deprecation/deprecation-2.1.0.ebuild |
19 |
@@ -16,11 +16,11 @@ SLOT="0" |
20 |
KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86" |
21 |
|
22 |
RDEPEND="dev-python/packaging[${PYTHON_USEDEP}]" |
23 |
-BDEPEND=" |
24 |
- test? ( |
25 |
- dev-python/unittest2[${PYTHON_USEDEP}] |
26 |
- ) |
27 |
-" |
28 |
|
29 |
distutils_enable_sphinx docs |
30 |
distutils_enable_tests unittest |
31 |
+ |
32 |
+src_prepare() { |
33 |
+ sed -i -e 's:unittest2:unittest:' tests/test_deprecation.py || die |
34 |
+ distutils-r1_src_prepare |
35 |
+} |