Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414813 - [Future EAPI] REPOSITORY variable set in ebuild environment
Summary: [Future EAPI] REPOSITORY variable set in ebuild environment
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: PMS/EAPI
Depends on:
Blocks: future-eapi
  Show dependency tree
Reported: 2012-05-06 02:49 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2019-03-04 07:49 UTC (History)
1 user (show)

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 Arfrever Frehtes Taifersar Arahesis 2012-05-06 02:49:59 UTC
REPOSITORY variable should be set in ebuild environment, similarly to CATEGORY and PN variables. REPOSITORY variable would have value from ${repository_path}/profiles/repo_name.
Comment 1 Ulrich Müller gentoo-dev 2012-05-06 08:57:19 UTC
Comment 2 Arfrever Frehtes Taifersar Arahesis 2012-05-06 14:13:47 UTC
Such a knowledge might be useful for some ebuilds in overlays. It does not matter if it would be useful in gentoo-x86.
Comment 3 Ulrich Müller gentoo-dev 2012-08-14 07:40:26 UTC
The same arguments as in bug 414815 apply here. Ebuilds shouldn't change their behaviour if moved to a different repository. Therefore they shouldn't need to know in what repository they are located.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2012-09-11 17:44:31 UTC
Portage commit:;a=commit;h=0d9ea2752aa7819e5b26b47920c09218d9f5b7c2
Comment 5 Ulrich Müller gentoo-dev 2019-03-04 07:49:03 UTC
Closing per comment #3.