mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-*: ignore some values in SystemRequirements
GNU make and a C++ compiler are always available, because make and gcc are dependencies of base-devel. The ignored values "C++11", "C++17" and "GNU make" indicate build-time dependencies only.
This commit is contained in:
parent
28979ba757
commit
416dac4abf
46 changed files with 49 additions and 164 deletions
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++17",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++17",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -10,7 +10,6 @@ def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(
|
||||||
_G,
|
_G,
|
||||||
expect_license = "Artistic License 2.0",
|
expect_license = "Artistic License 2.0",
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++17",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -10,7 +10,6 @@ def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(
|
||||||
_G,
|
_G,
|
||||||
expect_license = "MIT + file LICENCE",
|
expect_license = "MIT + file LICENCE",
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -10,7 +10,6 @@ def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(
|
||||||
_G,
|
_G,
|
||||||
expect_license = "file LICENSE",
|
expect_license = "file LICENSE",
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++17",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -10,7 +10,6 @@ def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(
|
||||||
_G,
|
_G,
|
||||||
expect_license = "GPL-3 + file LICENSE",
|
expect_license = "GPL-3 + file LICENSE",
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -10,7 +10,6 @@ def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(
|
||||||
_G,
|
_G,
|
||||||
expect_license = "Apache License 2.0 | file LICENSE",
|
expect_license = "Apache License 2.0 | file LICENSE",
|
||||||
expect_systemrequirements = "C++17",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++17",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -10,7 +10,6 @@ def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(
|
||||||
_G,
|
_G,
|
||||||
expect_license = "BSD_3_clause",
|
expect_license = "BSD_3_clause",
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "GNU make",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++17",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(
|
r_pre_build(_G)
|
||||||
_G,
|
|
||||||
expect_systemrequirements = "C++11",
|
|
||||||
)
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
|
@ -315,8 +315,16 @@ def check_fortran(pkg: Pkgbuild, desc: Description, cfg: CheckConfig):
|
||||||
raise CheckFailed("Unnecessary config 'ignore_fortran_files'")
|
raise CheckFailed("Unnecessary config 'ignore_fortran_files'")
|
||||||
|
|
||||||
def check_systemrequirements(pkg: Pkgbuild, desc: Description, cfg: CheckConfig):
|
def check_systemrequirements(pkg: Pkgbuild, desc: Description, cfg: CheckConfig):
|
||||||
if cfg.expect_systemrequirements != desc.systemrequirements:
|
ignored = [
|
||||||
raise CheckFailed(f"SystemRequirements have changed: {desc.systemrequirements}")
|
"C++11",
|
||||||
|
"C++17",
|
||||||
|
"GNU make",
|
||||||
|
]
|
||||||
|
sysrq = desc.systemrequirements
|
||||||
|
if sysrq in ignored:
|
||||||
|
sysrq = None
|
||||||
|
if cfg.expect_systemrequirements != sysrq:
|
||||||
|
raise CheckFailed(f"SystemRequirements have changed: {sysrq}")
|
||||||
|
|
||||||
def check_license(pkg: Pkgbuild, desc: Description, cfg: CheckConfig):
|
def check_license(pkg: Pkgbuild, desc: Description, cfg: CheckConfig):
|
||||||
if cfg.expect_license is not None:
|
if cfg.expect_license is not None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue