From 072b50524565ef21da258d7d9eaab057c5a8db33 Mon Sep 17 00:00:00 2001 From: Carbo Kuo Date: Thu, 31 Oct 2024 09:51:14 -0400 Subject: [PATCH] double-conversion@3.3.0 (#3085) --- modules/double-conversion/3.3.0/MODULE.bazel | 9 +++++ .../3.3.0/patches/module_dot_bazel.patch | 12 +++++++ modules/double-conversion/3.3.0/presubmit.yml | 34 +++++++++++++++++++ modules/double-conversion/3.3.0/source.json | 9 +++++ modules/double-conversion/metadata.json | 17 ++++++++++ 5 files changed, 81 insertions(+) create mode 100644 modules/double-conversion/3.3.0/MODULE.bazel create mode 100644 modules/double-conversion/3.3.0/patches/module_dot_bazel.patch create mode 100644 modules/double-conversion/3.3.0/presubmit.yml create mode 100644 modules/double-conversion/3.3.0/source.json create mode 100644 modules/double-conversion/metadata.json diff --git a/modules/double-conversion/3.3.0/MODULE.bazel b/modules/double-conversion/3.3.0/MODULE.bazel new file mode 100644 index 00000000000..2192e7fb2a3 --- /dev/null +++ b/modules/double-conversion/3.3.0/MODULE.bazel @@ -0,0 +1,9 @@ +"""This project (double-conversion) provides binary-decimal and decimal-binary routines for IEEE doubles.""" + +module( + name = "double-conversion", + version = "3.3.0", + compatibility_level = 3, +) + +bazel_dep(name = "rules_cc", version = "0.0.13") diff --git a/modules/double-conversion/3.3.0/patches/module_dot_bazel.patch b/modules/double-conversion/3.3.0/patches/module_dot_bazel.patch new file mode 100644 index 00000000000..1fa2ffaccb0 --- /dev/null +++ b/modules/double-conversion/3.3.0/patches/module_dot_bazel.patch @@ -0,0 +1,12 @@ +--- MODULE.bazel ++++ MODULE.bazel +@@ -0,0 +1,9 @@ ++"""This project (double-conversion) provides binary-decimal and decimal-binary routines for IEEE doubles.""" ++ ++module( ++ name = "double-conversion", ++ version = "3.3.0", ++ compatibility_level = 3, ++) ++ ++bazel_dep(name = "rules_cc", version = "0.0.13") diff --git a/modules/double-conversion/3.3.0/presubmit.yml b/modules/double-conversion/3.3.0/presubmit.yml new file mode 100644 index 00000000000..151d17376ce --- /dev/null +++ b/modules/double-conversion/3.3.0/presubmit.yml @@ -0,0 +1,34 @@ +matrix: + platform: + - debian10 + - ubuntu2004 + - macos + - macos_arm64 + - windows + bazel: + - 7.x +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - "@double-conversion" +bcr_test_module: + module_path: "" + matrix: + platform: + - debian10 + - ubuntu2004 + - macos + - macos_arm64 + - windows + bazel: + - 7.x + tasks: + run_test_module: + name: Run test module + platform: ${{ platform }} + bazel: ${{ bazel }} + test_targets: + - "@double-conversion//:cctest" diff --git a/modules/double-conversion/3.3.0/source.json b/modules/double-conversion/3.3.0/source.json new file mode 100644 index 00000000000..490bac0f379 --- /dev/null +++ b/modules/double-conversion/3.3.0/source.json @@ -0,0 +1,9 @@ +{ + "url": "https://github.com/google/double-conversion/archive/refs/tags/v3.3.0.tar.gz", + "integrity": "sha256-BOxERhhQq78zgk2oSXgEOyJVSJa1UsX9EanFrktNKW4=", + "strip_prefix": "double-conversion-3.3.0", + "patch_strip": 0, + "patches": { + "module_dot_bazel.patch": "sha256-S+9W9o5Iqqt9SmiI14o+waLL9OAUIG87QGQrJn7NfVc=" + } +} diff --git a/modules/double-conversion/metadata.json b/modules/double-conversion/metadata.json new file mode 100644 index 00000000000..740cdb37fe4 --- /dev/null +++ b/modules/double-conversion/metadata.json @@ -0,0 +1,17 @@ +{ + "homepage": "https://github.com/google/double-conversion", + "maintainers": [ + { + "email": "byvoid@byvoid.com", + "github": "BYVoid", + "name": "Carbo Kuo" + } + ], + "repository": [ + "github:google/double-conversion" + ], + "versions": [ + "3.3.0" + ], + "yanked_versions": {} +}