summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-01-22 12:41:48 -0500
committerMike Gilbert <floppym@gentoo.org>2016-01-22 12:41:58 -0500
commit9cb36112ae4e50d81844f62d8c043cc75963f7e4 (patch)
treedee8ae275e049d6c804915f614c163c0635a0f59 /dev-python/backports-ssl-match-hostname
parentwww-apache/mod_perl: Remove old (diff)
downloadgentoo-9cb36112ae4e50d81844f62d8c043cc75963f7e4.tar.gz
gentoo-9cb36112ae4e50d81844f62d8c043cc75963f7e4.tar.bz2
gentoo-9cb36112ae4e50d81844f62d8c043cc75963f7e4.zip
dev-python/backports-ssl-match-hostname: Fix file collison
Bug: https://bugs.gentoo.org/572610 Package-Manager: portage-2.2.27_p47
Diffstat (limited to 'dev-python/backports-ssl-match-hostname')
-rw-r--r--dev-python/backports-ssl-match-hostname/backports-ssl-match-hostname-3.5.0.1-r1.ebuild (renamed from dev-python/backports-ssl-match-hostname/backports-ssl-match-hostname-3.5.0.1.ebuild)8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-python/backports-ssl-match-hostname/backports-ssl-match-hostname-3.5.0.1.ebuild b/dev-python/backports-ssl-match-hostname/backports-ssl-match-hostname-3.5.0.1-r1.ebuild
index 14196a44a603..89628b3fb95b 100644
--- a/dev-python/backports-ssl-match-hostname/backports-ssl-match-hostname-3.5.0.1.ebuild
+++ b/dev-python/backports-ssl-match-hostname/backports-ssl-match-hostname-3.5.0.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -30,8 +30,8 @@ python_install_all() {
}
python_install() {
- distutils-r1_python_install
-
# main namespace provided by dev-python/backports
- rm "${ED}$(python_get_sitedir)"/backports/__init__.py* || die
+ rm "${BUILD_DIR}"/lib/backports/__init__.py || die
+ rm -f backports/__init__.py || die
+ distutils-r1_python_install
}