From 3036ff70742fcd1c29c0a230f189bd3e58b46edf Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 9 May 2024 14:24:05 +0200 Subject: [PATCH] cctz@2.4 --- modules/cctz/2.4/MODULE.bazel | 22 ++++++++++++++++ .../cctz/2.4/patches/module_dot_bazel.patch | 25 +++++++++++++++++++ modules/cctz/2.4/presubmit.yml | 17 +++++++++++++ modules/cctz/2.4/source.json | 9 +++++++ modules/cctz/metadata.json | 16 ++++++++++++ 5 files changed, 89 insertions(+) create mode 100644 modules/cctz/2.4/MODULE.bazel create mode 100644 modules/cctz/2.4/patches/module_dot_bazel.patch create mode 100644 modules/cctz/2.4/presubmit.yml create mode 100644 modules/cctz/2.4/source.json create mode 100644 modules/cctz/metadata.json diff --git a/modules/cctz/2.4/MODULE.bazel b/modules/cctz/2.4/MODULE.bazel new file mode 100644 index 0000000000..47023e9e5f --- /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 0000000000..3a553a054e --- /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 0000000000..4bfdad9e5a --- /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 0000000000..394a89942d --- /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 0000000000..d406cee780 --- /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": {} +}