Summary: | dev-python/Djblets: migrate to distutils-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Palimaka (kensington) <kensington> |
Component: | [OLD] Development | Assignee: | Michael Weber (RETIRED) <xmw> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 471186 | ||
Bug Blocks: | |||
Attachments: | Djblets-0.7.14-r1.patch |
any finality on this need await the move from moving pillow to imaging by name +python_install() { + rm -rf "${BUILD_DIR}"/lib/tests tests || die It's better to have tests deleted before getting to install phase. There have been a few packages recently where setup.py is patched in order to not treat a test(s) folder as a 'package', a package being a module that gets installed by distutils' setuptools. The patch's action is to remove tests from packages=(..). Alternately, you can remove the tests folder on completion of running them in python_test, combined with adding {if ! use test then remove tests folder} in the compile phase. local msg="Remove un-needed tests and also avoid file collisions" This is worth keeping and running because NOT ALL test(s) folders on install trigger file collisions like so; 15 Jun 2013; Ian Delaney <idella4@gentoo.org> +Djblets-0.7.15.ebuild, +files/exclude-tests.patch, Djblets-0.6.22.ebuild, Djblets-0.7.14.ebuild: revbump, migrate -> distutils-r1, bump, patch to exclude tests from install, add all req'd deps, closes Bug No.s 470990 473088" The exclusion of tests is made a necessity by distutils-r1 |
Created attachment 348894 [details, diff] Djblets-0.7.14-r1.patch Attached is a suggested patch.