dev-python/pyformance: exclude tests package (bug 664206)
authorZac Medico <zmedico@gentoo.org>
Tue, 21 Aug 2018 18:49:31 +0000 (11:49 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 21 Aug 2018 18:49:36 +0000 (11:49 -0700)
Closes: https://bugs.gentoo.org/664206
Package-Manager: Portage-2.3.48, Repoman-2.3.10

dev-python/pyformance/pyformance-0.4.ebuild

index 67ffb16e602cf52efb68ebeb2957dc452773d37b..0955be5db178114109435e3a4c8f9c9fc412bdf5 100644 (file)
@@ -23,7 +23,7 @@ DEPEND="
 RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
 
 python_prepare() {
-       sed -i -e "s/find_packages()/find_packages(exclude=['tests'])/"
+       sed -i -e "s/find_packages()/find_packages(exclude=['tests'])/" setup.py || die
 }
 
 python_test() {