Skip to content

Commit

Permalink
Add rules_pkg 1.0.1 (was 1.0.0) (#2180)
Browse files Browse the repository at this point in the history
Add rules_pkg 1.0.1 

1.0.0 was a failed attempt because of a dependency loop.
  • Loading branch information
aiuto authored Jul 9, 2024
1 parent e5445b4 commit 69e58a4
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 21 deletions.
25 changes: 25 additions & 0 deletions modules/rules_pkg/1.0.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module(
name = "rules_pkg",
version = "1.0.1", # Must sync with version.bzl.
compatibility_level = 1,
repo_name = "rules_pkg",
)

# Do not update to newer versions until you need a specific new feature.
bazel_dep(name = "rules_license", version = "0.0.7")
bazel_dep(name = "rules_python", version = "0.31.0")
bazel_dep(name = "bazel_skylib", version = "1.4.2")

# Only for development
bazel_dep(name = "platforms", version = "0.0.9", dev_dependency = True)
bazel_dep(name = "rules_cc", version = "0.0.9", dev_dependency = True)
bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True)

# Find the system rpmbuild if one is available.
find_rpm = use_extension("//toolchains/rpm:rpmbuild_configure.bzl", "find_system_rpmbuild_bzlmod", dev_dependency = True)
use_repo(find_rpm, "rules_pkg_rpmbuild")

register_toolchains(
"@rules_pkg_rpmbuild//:all",
dev_dependency = True,
)
19 changes: 19 additions & 0 deletions modules/rules_pkg/1.0.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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:
- '@rules_pkg//...'
- '-@rules_pkg//toolchains/...'
- '-@rules_pkg//pkg:make_rpm'
4 changes: 4 additions & 0 deletions modules/rules_pkg/1.0.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"url": "https://github.com/bazelbuild/rules_pkg/releases/download/1.0.1/rules_pkg-1.0.1.tar.gz",
"integrity": "sha256-0gyVGWDtd8t7NBwqWUiFNOSU1a0dMMSBjHNtV3cqn+8="
}
43 changes: 22 additions & 21 deletions modules/rules_pkg/metadata.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
{
"homepage": "https://github.com/bazelbuild/rules_pkg.git",
"maintainers": [
{
"email": "[email protected]",
"name": "No Maintainer Specified"
}
],
"repository": [
"github:bazelbuild/rules_pkg"
],
"versions": [
"0.5.1",
"0.7.0",
"0.8.1",
"0.9.0",
"0.9.1",
"0.10.0",
"0.10.1"
],
"yanked_versions": {}
}
"homepage": "https://github.com/bazelbuild/rules_pkg.git",
"maintainers": [
{
"email": "[email protected]",
"name": "No Maintainer Specified"
}
],
"repository": [
"github:bazelbuild/rules_pkg"
],
"versions": [
"0.5.1",
"0.7.0",
"0.8.1",
"0.9.0",
"0.9.1",
"0.10.0",
"0.10.1",
"1.0.1"
],
"yanked_versions": {}
}

0 comments on commit 69e58a4

Please sign in to comment.