Lines Matching refs:dependencies
42 import pkg.publish.dependencies as dependencies
844 # internal attribute which allows it to know which dependencies
872 The file to be installed in usr/bin/pkg does not specify a specific version of python either in its installed path nor in its text. Such a file cannot be analyzed for dependencies since the version of python it will be used with is unknown. The text of the file is here: {0}/usr/bin/pkg.
968 e.file_dep.attrs[dependencies.files_prefix], "perl")
982 d.attrs[dependencies.type_prefix],
989 d.attrs[dependencies.type_prefix],
997 d.attrs[dependencies.type_prefix],
1019 d.attrs[dependencies.type_prefix],
1023 d.attrs[dependencies.type_prefix],
1039 e.file_dep.attrs[dependencies.files_prefix], "perl")
1053 d.attrs[dependencies.type_prefix],
1060 d.attrs[dependencies.type_prefix],
1068 d.attrs[dependencies.type_prefix],
1239 all types of elf dependencies correctly."""
1287 # Test that FILTER dependencies are treated as needed.
1294 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
1303 # Test that SUNW_FILTER dependencies are treated as needed.
1311 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
1320 # Test that AUXILIARY dependencies are ignored.
1327 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
1336 # Test that SUNW_AUXILIARY dependencies are ignored.
1344 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
1361 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
1377 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
1388 auditing dependencies correctly."""
1414 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
1427 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
1605 dependencies analyzed correctly and that the correct path is
1782 dependencies"""
1805 # No dependencies at all
1815 # dup_variant_deps contains all the dependencies to be resolved.
1831 # v.f=baz and v.n=one. This resolution tests that dependencies
1842 # of each file. This tests that when two dependencies are valid
1849 # v.f=bar and when v.f=baz. This tests that those dependencies
1850 # continue to be reported as separate dependencies.
1862 # that manually added dependencies are propogated correctly.
1937 """Test that -S switch disables resolving dependencies against
1981 # This should produce no dependencies because the text file
2020 """Test that dependencies which involve links in their paths
2021 work correctly. Also tests that dependencies with build
2033 # Test that pkgdep can resolve dependencies through symlinks
2036 dependencies.resolve_deps([a_pth, b_pth], None, [],
2045 self.assertEqual(d.attrs[dependencies.type_prefix],
2054 dependencies.resolve_deps([a_pth], api_obj, ["*"],
2064 dependencies."""
2080 dependencies.resolve_deps(
2092 """Test that variants on files, links and dependencies work
2093 correctly when resolving dependencies."""
2102 dependencies.resolve_deps(
2130 dependencies.resolve_deps(
2142 cause issues resolving dependencies."""
2162 dependencies.resolve_deps([a_var_b_dep_pth, b_file_pth,
2170 self.assertEqual(e.file_dep.attrs[dependencies.files_prefix],
2184 d.attrs[dependencies.type_prefix], "link")
2188 d.attrs[dependencies.type_prefix], "script")
2193 d.attrs[dependencies.type_prefix], "script")
2216 dependencies.resolve_deps(
2244 dependencies.resolve_deps(
2270 dependencies.resolve_deps(
2287 d.attrs[dependencies.type_prefix], "link")
2291 d.attrs[dependencies.type_prefix], "script")
2296 d.attrs[dependencies.type_prefix], "script")
2362 dependencies.resolve_deps([twod_a_pth, twod_b_vw_link_pth,
2374 self.assertEqual(e.file_dep.attrs[dependencies.files_prefix],
2398 d.attrs[dependencies.type_prefix], "link")
2405 d.attrs[dependencies.type_prefix], "script")
2412 d.attrs[dependencies.type_prefix], "script")
2419 d.attrs[dependencies.type_prefix], "link")
2426 d.attrs[dependencies.type_prefix], "script")
2459 dependencies.resolve_deps([a_pth, b_file_pth, b_link_pth],
2470 dependencies.resolve_deps([a_pth, b_file_pth], api_obj,
2480 dependencies.resolve_deps([a_pth], api_obj, ["*"],
2490 dependencies.resolve_deps(
2504 dependencies.resolve_deps([a_pth, c_pth], api_obj, ["*"],
2514 dependencies.resolve_deps([a_pth, b_link_pth, c_pth],
2533 dependencies.resolve_deps([a_pth, c_pth], api_obj, ["*"],
2541 e.file_dep.attrs[dependencies.files_prefix], "perl")
2554 d.attrs[dependencies.type_prefix],
2564 dependencies.resolve_deps([a_pth, b_link_pth, c_pth],
2576 dependencies.resolve_deps([a_pth, bad_b_link_pth, c_pth],
2597 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
2623 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
2630 self.assertEqual(d.attrs[dependencies.files_prefix], ["perl"])
2640 the dependencies have the correct variant tags."""
2660 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
2670 self.assertEqual(d.attrs[dependencies.files_prefix],
2704 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
2711 self.assertEqual(d.attrs[dependencies.files_prefix], ["perl"])
2742 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
2785 dependencies.resolve_deps([p1, p2], None, [],
2795 self.assertEqual(d.attrs[dependencies.type_prefix], "elf")
2820 dependencies analyzed."""
2826 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
2843 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
2875 results in the right set of dependencies."""
2904 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
3092 # Now test that generating dependencies when runpaths