|
|
@ -3,6 +3,7 @@ import logging
|
|
|
|
import os
|
|
|
|
import os
|
|
|
|
import re
|
|
|
|
import re
|
|
|
|
import time
|
|
|
|
import time
|
|
|
|
|
|
|
|
from enum import IntEnum, unique
|
|
|
|
from urllib.parse import quote
|
|
|
|
from urllib.parse import quote
|
|
|
|
|
|
|
|
|
|
|
|
import apt_pkg
|
|
|
|
import apt_pkg
|
|
|
@ -747,6 +748,15 @@ class PiupartsPolicy(BasePolicy):
|
|
|
|
return summary
|
|
|
|
return summary
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@unique
|
|
|
|
|
|
|
|
class BuildDepResult(IntEnum):
|
|
|
|
|
|
|
|
# relation is satisfied in target
|
|
|
|
|
|
|
|
OK = 1
|
|
|
|
|
|
|
|
# relation can be satisfied by other packages in source
|
|
|
|
|
|
|
|
DEPENDS = 2
|
|
|
|
|
|
|
|
# relation cannot be satisfied
|
|
|
|
|
|
|
|
FAILED = 3
|
|
|
|
|
|
|
|
|
|
|
|
class BuildDependsPolicy(BasePolicy):
|
|
|
|
class BuildDependsPolicy(BasePolicy):
|
|
|
|
|
|
|
|
|
|
|
|
def __init__(self, options, suite_info):
|
|
|
|
def __init__(self, options, suite_info):
|
|
|
|