Created attachment 399914 [details, diff] diff -u patch of ebuilds p3d-0.4.3.ebuild inherit distutils and require conversion to the new eclass and EAPI upgrade. Patches to be committed if there is no response in 2 weeks. I don't know what happened between the eclasses but S="${WORKDIR}"/fu-${PN}-9128134 was required in the conversion. Odd. use examples is also odd, posing a new scenario I've rarely come across before. There a 2 folders, exampleScripts pdbs, requiring putting into /usr/share/doc/${PF} however the eclass only accounts for 1. We end up with image//usr/share/doc/p3d-0.4.3-r1/examples/{exampleScripts,pdbs} with the content of the 2nd., pdbs, still being compressed. local EXAMPLES=( pdbs/. ) EXAMPLES+=( exampleScripts/. ) installs them all under image//usr/share/doc/p3d-0.4.3-r1/examples/. which to me is all rather trivial. There are a few other options but all are fiddly and inelegant. Edit to your preference. p3d-9999.ebuild will require all changes to be mirrored.
Created attachment 399916 [details, diff] diff -u patch of ebuilds Noted src_prepare() is now redundant without mv fu* ${P} which doesn't work in new eclass.
Comment on attachment 399916 [details, diff] diff -u patch of ebuilds > src_install() { >- distutils_src_install > if use examples; then >- insinto /usr/share/${PN} >- doins -r pdbs exampleScripts || die >+ local EXAMPLES=( pdbs ) >+ EXAMPLES+=( exampleScripts ) > fi >+ distutils-r1_src_install > } This should be done in distutils-r1_python_install_all.
Created attachment 400242 [details, diff] diff -u patch of ebuilds This should be done in distutils-r1_python_install_all. distutils-r1_src_install merely calls distutils-r1_python_install_all. I could expand on this but I think it's neither warranted nor helpful. Both yield the same result. however
commit 9a64979f181d12d3b19c6a0d6f4edaf21a0c6e75 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: Fri Feb 17 23:31:52 2017 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: Fri Feb 17 23:33:08 2017 sci-chemistry/p3d: distutils-r1, git-r3, EAPI=6