diff --git a/modules/cctz/2.4/MODULE.bazel b/modules/cctz/2.4/MODULE.bazel new file mode 100644 index 00000000000..47023e9e5f2 --- /dev/null +++ b/modules/cctz/2.4/MODULE.bazel @@ -0,0 +1,22 @@ +module( + name = "cctz", + version = "2.4", + compatibility_level = 1, + repo_name = "com_googlesource_code_cctz", +) + +bazel_dep( + name = "platforms", + version = "0.0.9", +) + +bazel_dep( + name = "google_benchmark", + version = "1.8.3", + repo_name = "com_github_google_benchmark", +) +bazel_dep( + name = "googletest", + version = "1.11.0", + repo_name = "com_google_googletest", +) diff --git a/modules/cctz/2.4/patches/module_dot_bazel.patch b/modules/cctz/2.4/patches/module_dot_bazel.patch new file mode 100644 index 00000000000..3a553a054e4 --- /dev/null +++ b/modules/cctz/2.4/patches/module_dot_bazel.patch @@ -0,0 +1,25 @@ +--- MODULE.bazel ++++ MODULE.bazel +@@ -0,0 +1,22 @@ ++module( ++ name = "cctz", ++ version = "2.4", ++ compatibility_level = 1, ++ repo_name = "com_googlesource_code_cctz", ++) ++ ++bazel_dep( ++ name = "platforms", ++ version = "0.0.9", ++) ++ ++bazel_dep( ++ name = "google_benchmark", ++ version = "1.8.3", ++ repo_name = "com_github_google_benchmark", ++) ++bazel_dep( ++ name = "googletest", ++ version = "1.11.0", ++ repo_name = "com_google_googletest", ++) diff --git a/modules/cctz/2.4/presubmit.yml b/modules/cctz/2.4/presubmit.yml new file mode 100644 index 00000000000..4bfdad9e5ab --- /dev/null +++ b/modules/cctz/2.4/presubmit.yml @@ -0,0 +1,17 @@ +matrix: + platform: + - debian10 + - ubuntu2004 + - macos + - macos_arm64 + - windows + bazel: + - 7.x + - 6.x +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - '@cctz//...' diff --git a/modules/cctz/2.4/source.json b/modules/cctz/2.4/source.json new file mode 100644 index 00000000000..394a89942df --- /dev/null +++ b/modules/cctz/2.4/source.json @@ -0,0 +1,9 @@ +{ + "url": "https://github.com/google/cctz/archive/refs/tags/v2.4.tar.gz", + "integrity": "sha256-4aAJV9RyBEgIokom8boCDzbcJpSaacIUVi2Wt0CTrbM=", + "strip_prefix": "cctz-2.4", + "patch_strip": 0, + "patches": { + "module_dot_bazel.patch": "sha256-CSS39BKI9a8AVhwx2HtXQaYB35vYf44ZR4wmJEI2RzY=" + } +} diff --git a/modules/cctz/metadata.json b/modules/cctz/metadata.json new file mode 100644 index 00000000000..d406cee7801 --- /dev/null +++ b/modules/cctz/metadata.json @@ -0,0 +1,16 @@ +{ + "homepage": "https://github.com/google/cctz", + "maintainers": [ + { + "email": "bcr-maintainers@bazel.build", + "name": "No Maintainer Specified" + } + ], + "repository": [ + "github:google/cctz" + ], + "versions": [ + "2.4" + ], + "yanked_versions": {} +}