sys-apps/portage: модуль синхронизации calculate добавлен во все версии python

mhiretskiy
parent 27db061663
commit 4e8304de34

@ -1 +1 @@
# Calculate path=/usr/#-os_install_lib_path-#/#-os_install_python-#/site-packages/portage/sync/modules
# Calculate append=skip

@ -1,3 +1,10 @@
# Calculate run=/bin/bash
for dn in /usr/#-os_install_lib_path-#/python*/site-packages/portage/sync/modules
do
[[ -d $dn ]] || continue
[[ -d $dn/calculate ]] || mkdir -p $dn/calculate
cat >$dn/calculate/__init__.py <<EOF
# Copyright 2014-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
@ -27,3 +34,5 @@ module_spec = {
}
}
}
EOF
done

@ -1,3 +1,10 @@
# Calculate run=/bin/bash
for dn in /usr/#-os_install_lib_path-#/python*/site-packages/portage/sync/modules
do
[[ -d $dn ]] || continue
[[ -d $dn/calculate ]] || mkdir -p $dn/calculate
cat >$dn/calculate/calculate.py <<EOF
# Copyright 2005-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
@ -46,3 +53,5 @@ class CalculateSync(NewBase):
self.logger(self.xterm_titles, msg)
writemsg_level(msg + "\n", noiselevel=-1, level=logging.ERROR)
return (exitcode, False)
EOF
done

@ -0,0 +1,3 @@
# Calculate format=contents
sys-apps/portage /usr/#-os_install_lib_path-#/python*/site-packages/portage/sync/modules/calculate
sys-apps/portage /usr/#-os_install_lib_path-#/python*/site-packages/portage/sync/modules/calculate/*

@ -0,0 +1,4 @@
# Calculate format=samba name=ini.env ini(overlay-calculate.remerge)<#-cl_pass_file-# merge=sys-apps/portage
[overlay-calculate]
remerge = #-cl_pass_file-#
Loading…
Cancel
Save