Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 705116

Summary: dev-python/ndg-httpsclient-0.4.0 install warning *-nspkg.pth files were found and it may break namespaces in Python 3.5+
Product: Gentoo Linux Reporter: Yevgeny Dyatlov <subscribe>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: log

Description Yevgeny Dyatlov 2020-01-10 16:10:54 UTC
Created attachment 602926 [details]
log

* python3_6: running distutils-r1_run_phase distutils-r1_python_install_all
 * The following *-nspkg.pth files were found installed:
 * 
 *   /usr/lib64/python3.6/site-packages/ndg_httpsclient-0.4.0-py3.6-nspkg.pth
 *   /usr/lib64/python2.7/site-packages/ndg_httpsclient-0.4.0-py2.7-nspkg.pth
 * 
 * The presence of those files may break namespaces in Python 3.5+. Please
 * read our documentation on reliable handling of namespaces and update
 * the ebuild accordingly:
 * 
 *   https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages
----------------
dev-python/ndg-httpsclient/ndg-httpsclient-0.4.0.ebuild haven't *.pth file removal snippet
python_install_all() {
  distutils-r1_python_install_all
  find "${ED}" -name '*.pth' -delete || die
}

Maybe  it needs to be add this removal snippet to ebuild as it already has been done in ndg-httpsclient-0.4.2-r1.ebuild.