projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2307d07
)
dev-python/unicodecsv: Avoid dep on unittest2
author
Michał Górny
<mgorny@gentoo.org>
Fri, 1 May 2020 12:10:52 +0000
(14:10 +0200)
committer
Michał Górny
<mgorny@gentoo.org>
Fri, 1 May 2020 12:53:54 +0000
(14:53 +0200)
Closes: https://bugs.gentoo.org/720254
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/unicodecsv/unicodecsv-0.14.1-r1.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/unicodecsv/unicodecsv-0.14.1-r1.ebuild
b/dev-python/unicodecsv/unicodecsv-0.14.1-r1.ebuild
index f679c0c8c603195f6a4fd5ac1f5f2932d75497ba..579d1b8273ce971d9a06ece96f1c7847b3c58502 100644
(file)
--- a/
dev-python/unicodecsv/unicodecsv-0.14.1-r1.ebuild
+++ b/
dev-python/unicodecsv/unicodecsv-0.14.1-r1.ebuild
@@
-16,3
+16,9
@@
SLOT="0"
KEYWORDS="amd64 arm64 hppa ~ppc ~ppc64 sparc x86"
distutils_enable_tests unittest
+
+src_prepare() {
+ # un-depend on unittest2
+ sed -i -e 's:unittest2 as ::' unicodecsv/test.py || die
+ distutils-r1_src_prepare
+}