Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
8d373f599c | |||
17ef7eee8e |
@ -119,6 +119,9 @@ def is_system_package(atom, eclasses):
|
|||||||
log.debug(f"{name} is a sys-boot package")
|
log.debug(f"{name} is a sys-boot package")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
if eclasses is True:
|
||||||
|
return True
|
||||||
|
|
||||||
# libc-packages should be considered system-packages as they generally
|
# libc-packages should be considered system-packages as they generally
|
||||||
# requires the system to be restarted. Not sure if there is a better way
|
# requires the system to be restarted. Not sure if there is a better way
|
||||||
# then just checking for specific packages here, but as far as I know there
|
# then just checking for specific packages here, but as far as I know there
|
||||||
@ -140,7 +143,7 @@ def is_system_package(atom, eclasses):
|
|||||||
def get_eclasses(atom):
|
def get_eclasses(atom):
|
||||||
log = logging.getLogger(sau.LOGNAME)
|
log = logging.getLogger(sau.LOGNAME)
|
||||||
eclasses = []
|
eclasses = []
|
||||||
name=re.sub(r'^[<=>]*(.*?)(?:-\d)?(?:::\w+)?$', r'\1', atom)
|
name=re.sub(r'^[<=>]*(.*?)(?:-\d+)?(?:::\w+)?$', r'\1', atom)
|
||||||
test_re = re.compile(r'^\s*inherit\s+')
|
test_re = re.compile(r'^\s*inherit\s+')
|
||||||
cmd=[ EQUERY_PATH, 'w', name ]
|
cmd=[ EQUERY_PATH, 'w', name ]
|
||||||
ret, out, err = sau.helpers.exec_cmd(cmd)
|
ret, out, err = sau.helpers.exec_cmd(cmd)
|
||||||
@ -312,7 +315,7 @@ def pkg_upgrade():
|
|||||||
log.warning(line)
|
log.warning(line)
|
||||||
|
|
||||||
# rebuild rust
|
# rebuild rust
|
||||||
if any([x in rebuild_packages for x in ('dev-lang/rust', 'dev-lang/rust-bin'):
|
if any([x in rebuild_packages for x in ('dev-lang/rust', 'dev-lang/rust-bin')]):
|
||||||
log.info("Running rust-rebuild due to update of rust")
|
log.info("Running rust-rebuild due to update of rust")
|
||||||
cmd = [
|
cmd = [
|
||||||
EMERGE_PATH,
|
EMERGE_PATH,
|
||||||
|
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ from setuptools import setup, find_packages
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='sau',
|
name='sau',
|
||||||
version='1.4.4',
|
version='1.4.5',
|
||||||
description='Tool for auto-updating OS and packages',
|
description='Tool for auto-updating OS and packages',
|
||||||
author='Feffe',
|
author='Feffe',
|
||||||
author_email='feffe@fulh.ax',
|
author_email='feffe@fulh.ax',
|
||||||
|
Loading…
Reference in New Issue
Block a user