src_install should also do something like dodoc examples/ doc/ to include itrace.py and simple_dbg.py, which are referenced in /usr/share/doc/python-ptrace-0.6/ChangeLog.bz2 Reproducible: Always Steps to Reproduce: 1. emerge '=dev-python/python-ptrace-0.6' 2. equery files python-ptrace| grep itrace.py 3. Actual Results: [no match showed by grep] Expected Results: /usr/share/doc/python-ptrace-0.6/examples/itrace.py src_install should also do something like dodoc examples/ doc/ I do not know if dodoc is recursive on directories.
the fix src_install() { dodir /usr/share/doc/${PF}/examples ls -ld "${ED}"usr/share/doc/${PF}/examples cp -R "${S}/"examples/* "${D}"/usr/share/doc/${PF}/examples dodoc ${DOCS[@]} }
Created attachment 293353 [details, diff] ebuild patch src_install() { dodir usr/share/doc/${PF}/examples docompress -x usr/share/doc/${PF}/examples insinto usr/share/doc/${PF}/examples doins examples/* || die # cp -R "${S}/"examples/* "${D}"/usr/share/doc/${PF}/examples # dodocs is NOT redundant; DOCS defined with 1 unique entry dodoc ${DOCS[@]} } gentoo64 python-ptrace # ls /mnt/gen2/tmpdir/portage/dev-python/python-ptrace-0.6.3/image/usr/share/doc/python-ptrace-0.6.3/examples/ itrace.py simple_dbg.py gentoo64 python-ptrace # ls /mnt/gen2/tmpdir/portage/dev-python/python-ptrace-0.6.3/image/usr/share/doc/python-ptrace-0.6.3/ AUTHORS.bz2 PKG-INFO.bz2 README.bz2 README.cptrace.bz2 TODO.bz2 examples gentoo64 python-ptrace #
Created attachment 293365 [details, diff] revised ebuild patch
Created attachment 293367 [details, diff] revised ebuild patch
Created attachment 293369 [details, diff] revised ebuild patch
(In reply to comment #5) This patch is for already modified ebuild. PKG-INFO is not documentation. It shouldn't be added to DOCS variable.
Created attachment 293423 [details, diff] revised ebuild patch removed it as prompted, has scripts requiring python_convert_shebangs
(In reply to comment #7) Scripts installed by this package already have correct shebangs. Also this package supports Python 3.