mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
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
This commit is contained in:
committed by
Mike Gilbert
parent
e77cee6619
commit
97e585761e
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user