Skip to content

Commit

Permalink
feat: add [email protected] and freeze rules_poetry at v0.3.6 (#2367)
Browse files Browse the repository at this point in the history
  • Loading branch information
oxidase committed Jul 5, 2024
1 parent 941e81c commit a7c42e8
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 0 deletions.
16 changes: 16 additions & 0 deletions modules/ofiuco/0.3.7/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module(
name = "ofiuco",
version = "0.3.7",
bazel_compatibility = [">=7.0.0"],
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "rules_python", version = "0.33.2")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
use_repo(python, "python_3_11_host")

internal_deps = use_extension("@ofiuco//python:internal_deps.bzl", "internal_deps")
use_repo(internal_deps, "ofiuco_defs", "ofiuco_pip", "ofiuco_poetry_deps")
13 changes: 13 additions & 0 deletions modules/ofiuco/0.3.7/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,6 +1,6 @@
module(
name = "ofiuco",
- version = "0",
+ version = "0.3.7",
bazel_compatibility = [">=7.0.0"],
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.7.1")
32 changes: 32 additions & 0 deletions modules/ofiuco/0.3.7/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
matrix:
platform:
- centos7
- debian10
- ubuntu2004
- macos
bazel:
- 7.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@ofiuco//python/...'
- '@ofiuco//lib/...'
bcr_test_module:
module_path: "examples/transitions"
matrix:
platform:
- debian11
- macos
- ubuntu2004
bazel:
- 7.x
tasks:
run_test_module:
name: Run test module
platform: ${{ platform }}
bazel: ${{ bazel }}
test_targets:
- //...
9 changes: 9 additions & 0 deletions modules/ofiuco/0.3.7/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-AJVDvzazmp9CLNO1DO/lLk+y46CN4sPJzPPZFawDbwg=",
"strip_prefix": "ofiuco-0.3.7",
"url": "https://github.com/oxidase/ofiuco/releases/download/v0.3.7/ofiuco-0.3.7.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-b8qQOU77hTbkymwZKTQr/zkOuuC3XRrPaOCmdyINPkg="
},
"patch_strip": 1
}
17 changes: 17 additions & 0 deletions modules/ofiuco/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/oxidase/ofiuco",
"maintainers": [
{
"email": "[email protected]",
"github": "oxidase",
"name": "Michael Krasnyk"
}
],
"repository": [
"github:oxidase/ofiuco"
],
"versions": [
"0.3.7"
],
"yanked_versions": {}
}

0 comments on commit a7c42e8

Please sign in to comment.