Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312943 - Section about src_unpack could be updated
Summary: Section about src_unpack could be updated
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Devmanual (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Quality Assurance Team
URL: http://devmanual.gentoo.org/ebuild-wr...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-03 11:06 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2010-07-18 16:59 UTC (History)
1 user (show)

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


Attachments
proposed fix (src_prepare.patch,536 bytes, patch)
2010-07-16 09:08 UTC, Markos Chandras (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-04-03 11:06:46 UTC
With EAPI=2 we can move many things suggested to be done in src_unpack to src_prepare instead.

Additionally, it would be nice to mention using ${DISTDIR} when a plain-text file is in SRC_URI (unpack would ignore it).
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2010-04-03 11:09:06 UTC
Actually we should just add a note that with EAPI 2 and it's rarely needed to use src_unpack. With plain text files if they aren't used for building they can just directly be installed to the target system in src_install or then you should use src_prepare. 
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2010-07-16 09:08:14 UTC
Created attachment 239037 [details, diff]
proposed fix

Yet src_prepare lacks a description on devmanual.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-07-18 16:59:18 UTC
Fixed