Switched to the new version of new_git_repository
The old one can no longer fetch python-gflags from the correct branch. Unclear
whether this is due to reorganization of the repository on github or the bazel
upgrade.
Change-Id: Iab57de144cedef6869a0a9a15314e9f7858c9528
diff --git a/WORKSPACE b/WORKSPACE
index 7aaff90..58feb69 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -1,5 +1,7 @@
workspace(name = "org_frc971")
+load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository")
+
load(
"//debian:python.bzl",
python_debs = "files",
@@ -84,7 +86,7 @@
new_git_repository(
name = "slycot_repo",
- build_file = "debian/slycot.BUILD",
+ build_file = "@//debian:slycot.BUILD",
commit = "5af5f283cb23cbe23c4dfea4d5e56071bdbd6e70",
remote = "https://github.com/avventi/Slycot.git",
)
@@ -109,7 +111,7 @@
new_git_repository(
name = "python_gflags_repo",
- build_file = "debian/gflags.BUILD",
+ build_file = "@//debian:gflags.BUILD",
commit = "41c4571864f0db5823e07715317e7388e94faabc",
remote = "https://github.com/gflags/python-gflags.git",
)