Skip to content

Commit

Permalink
rules_appimage@1.12.1 (#2506)
Browse files Browse the repository at this point in the history
Release: https://github.com/lalten/rules_appimage/releases/tag/v1.12.1

_Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_

Co-authored-by: Laurenz <null>
  • Loading branch information
publish-to-bcr-bot[bot] authored Jul 30, 2024
1 parent 778a559 commit a12dae4
Show file tree
Hide file tree
Showing 5 changed files with 109 additions and 1 deletion.
70 changes: 70 additions & 0 deletions modules/rules_appimage/1.12.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
"""AppImage rules for Bazel."""

module(
name = "rules_appimage",
version = "1.12.1",
)

bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "rules_python", version = "0.34.0")
bazel_dep(name = "squashfs-tools", version = "4.6.1")
bazel_dep(name = "zstd", version = "1.5.6")

bazel_dep(name = "rules_testing", version = "0.6.0", dev_dependency = True)
bazel_dep(name = "with_cfg.bzl", version = "0.4.0", dev_dependency = True)

rules_appimage = use_extension("//:extensions.bzl", "appimage_ext_dependencies")
use_repo(
rules_appimage,
"appimage_runtime_aarch64",
"appimage_runtime_armv7e-m",
"appimage_runtime_i386",
"appimage_runtime_x86_64",
)

register_toolchains("//appimage:all")

_DEFAULT_PYTHON = "3.12"

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
is_default = True,
python_version = _DEFAULT_PYTHON,
)
use_repo(python, "python_" + _DEFAULT_PYTHON.replace(".", "_"), "python_versions", "pythons_hub")

register_toolchains("@pythons_hub//:all")

dev_pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip", dev_dependency = True)
dev_pip.parse(
hub_name = "rules_appimage_py_deps",
python_version = _DEFAULT_PYTHON,
requirements_lock = "//:requirements.txt",
)
use_repo(dev_pip, "rules_appimage_py_deps")

bazel_dep(name = "container_structure_test", version = "1.19.1", dev_dependency = True)
bazel_dep(name = "rules_oci", version = "1.8.0", dev_dependency = True)
bazel_dep(name = "rules_pycross", version = "0.6.1", dev_dependency = True)
bazel_dep(name = "rules_pkg", version = "1.0.1", dev_dependency = True)

lock_import = use_extension("@rules_pycross//pycross/extensions:lock_import.bzl", "lock_import", dev_dependency = True)
lock_import.import_pdm(
lock_file = "//tests/rules_pycross:pdm.lock",
project_file = "//tests/rules_pycross:pyproject.toml",
repo = "pdm_deps",
)

lock_repos = use_extension("@rules_pycross//pycross/extensions:lock_repos.bzl", "lock_repos", dev_dependency = True)
use_repo(lock_repos, "pdm_deps")

oci = use_extension("@rules_oci//oci:extensions.bzl", "oci", dev_dependency = True)
oci.pull(
name = "python3-slim",
digest = "sha256:afc139a0a640942491ec481ad8dda10f2c5b753f5c969393b12480155fe15a63", # "3-slim" as of 2023-06-01
image = "docker.io/library/python",
platforms = ["linux/amd64"],
)
use_repo(oci, "python3-slim")
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,9 +1,9 @@
"""AppImage rules for Bazel."""

module(
name = "rules_appimage",
- version = "0.0.0",
+ version = "1.12.1",
)

bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "platforms", version = "0.0.10")
14 changes: 14 additions & 0 deletions modules/rules_appimage/1.12.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
bcr_test_module:
module_path: ''
matrix:
bazel: [6.x, 7.x]
tasks:
run_tests_ubuntu2204:
platform: ubuntu2204
bazel: ${{ bazel }}
test_targets: [//...]
run_tests_macos:
platform: macos
bazel: ${{ bazel }}
test_targets: [//..., -//tests/rules_pycross/...]
9 changes: 9 additions & 0 deletions modules/rules_appimage/1.12.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-wyCFcni8s3yiGtkOSLEonliUf/rEl2qrJH1OO0yGUJo=",
"strip_prefix": "rules_appimage-1.12.1",
"url": "https://github.com/lalten/rules_appimage/releases/download/v1.12.1/rules_appimage-1.12.1.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-8dORPZPnlsEt+BfPxKU4F2FJ+vXyB/HiPZwFOe4TNKE="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_appimage/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"1.9.0",
"1.10.0",
"1.11.0",
"1.12.0"
"1.12.0",
"1.12.1"
],
"yanked_versions": {}
}

0 comments on commit a12dae4

Please sign in to comment.