Skip to content

Commit

Permalink
feat: add ofiuco@0.3.7 and freeze rules_poetry at v0.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
oxidase committed Jul 4, 2024
1 parent 6d400ff commit 6caf148
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 0 deletions.
15 changes: 15 additions & 0 deletions modules/ofiuco/0.3.7/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module(
name = "ofiuco",
version = "0.3.7",
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")
12 changes: 12 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,12 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,5 +1,5 @@
module(
name = "ofiuco",
- version = "0",
+ version = "0.3.7",
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-Bk7akrxkZrDNEd1lYcOdrXO/agRAYpAPXgdlXyuL9x4=",
"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-lB934likUAiiyr+CFCWFEPp0ZO/S2tDcsd7OGdKPL6Y="
},
"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": "michael.krasnyk@gmail.com",
"github": "oxidase",
"name": "Michael Krasnyk"
}
],
"repository": [
"github:oxidase/ofiuco"
],
"versions": [
"0.3.7"
],
"yanked_versions": {}
}

0 comments on commit 6caf148

Please sign in to comment.