| # Copyright 2025 The Bazel Authors. All rights reserved. |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| module( |
| name = "test_external_project", |
| version = "0", |
| compatibility_level = 0, |
| ) |
| |
| local_path_override( |
| module_name = "rules_pkg", |
| path = "../../../", |
| ) |
| |
| bazel_dep(name = "rules_license", version = "1.0.0") |
| bazel_dep(name = "rules_python", version = "1.0.0") |
| bazel_dep(name = "bazel_skylib", version = "1.7.1") |
| |
| ######################################### |
| # Do not update to newer versions until you need a specific new feature. |
| |
| # Only for development |
| #bazel_dep(name = "platforms", version = "0.0.10", dev_dependency = True) |
| #bazel_dep(name = "rules_cc", version = "0.0.17", dev_dependency = True) |
| #bazel_dep(name = "stardoc", version = "0.7.2", dev_dependency = True) |
| # |
| ## Find the system rpmbuild if one is available. |
| #find_rpm = use_extension("//toolchains/rpm:rpmbuild_configure.bzl", "find_system_rpmbuild_bzlmod", dev_dependency = True) |
| #use_repo(find_rpm, "rules_pkg_rpmbuild") |
| # |
| #register_toolchains( |
| # "@rules_pkg_rpmbuild//:all", |
| # dev_dependency = True, |
| #) |