Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600968 - =sys-apps/portage-2.3.0: duplicate description src_unpack/src_prepare in man 5 ebuild
Summary: =sys-apps/portage-2.3.0: duplicate description src_unpack/src_prepare in man ...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Documentation (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2016-11-27 09:24 UTC by Sergey S. Starikoff
Modified: 2016-11-27 21:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2016-11-27 09:24:49 UTC
Reminding ebuild write skills in man 5 ebuild I was a little bit confused:

man 5 ebuild:
              This function is used to unpack all the sources in A to WORKDIR.  If not defined in the ebuild script
              it calls unpack ${A}. Any patches and other pre configure/compile modifications should be done here.
              Initial working directory: $WORKDIR

              All preparation of source code, such as application of patches, should be done here. This function is
              supported beginning with EAPI 2.
              Initial working directory: $S

Probably src_unpack description should contain notes, that applying patches here should be done only whe using legacy EAPI 0 or EAPI 1. Or completely remove note about applying patches on this phase.

Excuse me my English, that is why I don't suggest patch.