atoms in a set will be unmerged even if they are depended upon by other
packages
+portage-2.1.4
+==================================
+
+* Visibility filtering is now supported for binary packages, so masking behavior
+ is essentially equivalent to that of ebuilds.
+* There is no need to have a complete portage tree available when installing binary
+ packages or uninstalling packages, but a warning message will still be displayed if
+ it appears that a valid profile is not available.
+* The emerge --search action supports searching of both installed and binary packages
+ The --usepkg and --usepkgonly options control which repositories are searched.
+
portage-2.1.3
==================================
# and functions that could interfere with the current environment.
save_ebuild_env || exit $?
touch "${T}/environment.success" || exit $?
- ) | filter_readonly_variables > "${T}/environment.filtered"
+ ) > "${T}/environment.filtered"
local retval
if [ -e "${T}/environment.success" ] ; then
- mv "${T}/environment.filtered" "${T}/environment"
+ filter_readonly_variables < \
+ "${T}/environment.filtered" > "${T}/environment"
retval=$?
else
retval=1
#!@PYTHON@ -O
-
-import sys, os, time, signal
-from optparse import OptionParser, OptionValueError
+# vim: noet :
+import os
import re
+import signal
+import sys
+import time
+from optparse import OptionParser, OptionValueError
# for an explanation on this logic, see pym/_emerge/__init__.py
import os
import portage
import portage.const, portage.exception, portage.output
+
class WorldHandler(object):
def name():
usage+= "tools and provide a single interface to system health checks."
- parser = OptionParser(usage=usage)
+ parser = OptionParser(usage=usage, version=portage.VERSION)
parser.add_option("-c", "--check", help="check for problems",
action="callback", callback=exclusive, callback_kwargs={"var":"action"})
parser.add_option("-f", "--fix", help="attempt to fix problems",
local utc_time_in_secs="$1"
local part="$2"
- if [[ ${USERLAND} == BSD ]] || ; then
+ if [[ ${USERLAND} == BSD ]] ; then
date -r ${utc_time_in_secs} -u +"${part}"
else
date -d @${utc_time_in_secs} -u +"${part}"
*) abort="yes";;
esac
fi
- if [[ ${abort} == "yes" ]] || ; then
+ if [[ ${abort} == "yes" ]] ; then
echo "Please do not file a Gentoo bug and instead" \
"report the above QA issues directly to the upstream" \
"developers of this software." | fmt -w 70 | \
initialize_logger()
# 14 is the length of DESCRIPTION=""
-max_desc_len = 80 - 14
+max_desc_len = 100
allowed_filename_chars="a-zA-Z0-9._-+:"
allowed_filename_chars_set = {}
map(allowed_filename_chars_set.setdefault, map(chr, range(ord('a'), ord('z')+1)))
"KEYWORDS.stupid":"Ebuilds that use KEYWORDS=-* instead of package.mask",
"LICENSE.missing":"Ebuilds that have a missing or empty LICENSE variable",
"DESCRIPTION.missing":"Ebuilds that have a missing or empty DESCRIPTION variable",
- "DESCRIPTION.toolong":"DESCRIPTION line is over 80 characters",
+ "DESCRIPTION.toolong":"DESCRIPTION is over %d characters" % max_desc_len,
"EAPI.unsupported":"Ebuilds that have an unsupported EAPI version (you must upgrade portage)",
"SLOT.missing":"Ebuilds that have a missing or empty SLOT variable",
"HOMEPAGE.missing":"Ebuilds that have a missing or empty HOMEPAGE variable",
qacats.append(x)
qawarnings.append(x)
-valid_restrict = frozenset(["binchecks", "bindist", "fetch", "mirror",
+valid_restrict = frozenset(["binchecks", "bindist",
+ "fetch", "installsources", "mirror",
"primaryuri", "strip", "test", "userpriv"])
# file.executable
try:
s = os.lstat(path)
except OSError, e:
- if e.errno != errno.ENOENT:
+ if e.errno not in (errno.ENOENT, errno.ENOTDIR):
raise
del e
continue