summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sautier.louis@gmail.com>2017-06-09 17:48:01 +0200
committerMike Gilbert <floppym@gentoo.org>2017-06-10 13:17:35 -0400
commit97e585761ef4fcea2d5f50918e3abe7be213331a (patch)
tree4078c02d0bd18bbe32ce9d71d0537e99b8ca70d2 /dev-python/backports-functools-lru-cache
parentdev-python/backports-ssl-match-hostname: skip build in install phase (diff)
downloadgentoo-97e585761ef4fcea2d5f50918e3abe7be213331a.tar.gz
gentoo-97e585761ef4fcea2d5f50918e3abe7be213331a.tar.bz2
gentoo-97e585761ef4fcea2d5f50918e3abe7be213331a.zip
dev-python/backports-functools-lru-cache: remove conflicting bytecode files
Package-Manager: Portage-2.3.6, Repoman-2.3.2 Gentoo-Bug: 621196 Closes: https://github.com/gentoo/gentoo/pull/4894
Diffstat (limited to 'dev-python/backports-functools-lru-cache')
-rw-r--r--dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.4-r1.ebuild (renamed from dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.4.ebuild)9
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.4.ebuild b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.4-r1.ebuild
index a91b8b0f4d9..ec0e2e47b42 100644
--- a/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.4.ebuild
+++ b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.4-r1.ebuild
@@ -24,8 +24,8 @@ DEPEND="
>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
doc? (
>=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}]
- dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/rst-linker[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
)
test? (
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
@@ -46,9 +46,8 @@ python_test() {
PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}"
}
-python_install_all() {
- distutils-r1_python_install_all
-
+python_install() {
# avoid a collision with dev-python/backports
- find "${D}" -path '*/backports/__init__.py' -delete || die
+ rm "${BUILD_DIR}"/lib/backports/__init__.py || die
+ distutils-r1_python_install --skip-build
}