2. /var/cache/edb/world is now /var/lib/portage/world.
3. /etc/portage/profile/virtuals is _USER_ configs only.
+ 27 Sep 2005; Brian Harring <ferringb@gentoo.org> bin/ebuild.sh:
+ No more portageq in the global scope.
+ Instant die.
+
27 Sep 2005; Brian Harring <ferringb@gentoo.org> bin/ebuild.sh:
Tweak to make EAPI work for existing vdb entries.
has_version() {
if [ "${EBUILD_PHASE}" == "depend" ]; then
- echo -n "QA Notice: has_version() in global scope: " >&2
- if [ ${ECLASS_DEPTH} -gt 0 ]; then
- echo "eclass ${ECLASS}" >&2
- else
- echo "${CATEGORY}/${PF}" >&2
- fi
+ die "portageq calls (has_version calls portageq) are not allowed in the global scope"
fi
# return shell-true/shell-false if exists.
# Takes single depend-type atoms.
portageq() {
if [ "${EBUILD_PHASE}" == "depend" ]; then
- echo -n "QA Notice: portageq in global scope: " >&2
- if [ ${ECLASS_DEPTH} -gt 0 ]; then
- echo "eclass ${ECLASS}" >&2
- else
- echo "${CATEGORY}/${PF}" >&2
- fi
+ die "portageq calls are not allowed in the global scope"
fi
/usr/lib/portage/bin/portageq "$@"
}
best_version() {
if [ "${EBUILD_PHASE}" == "depend" ]; then
- echo -n "QA Notice: best_version() in global scope: " >&2
- if [ ${ECLASS_DEPTH} -gt 0 ]; then
- echo "eclass ${ECLASS}" >&2
- else
- echo "${CATEGORY}/${PF}" >&2
- fi
+ die "portageq calls (best_version calls portageq) are not allowed in the global scope"
fi
# returns the best/most-current match.
# Takes single depend-type atoms.