File tree Expand file tree Collapse file tree 4 files changed +66
-0
lines changed
modules/debian_dependency_bazelizer Expand file tree Collapse file tree 4 files changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ module (
2+ name = "debian_dependency_bazelizer" ,
3+ version = "0.5.0" ,
4+ compatibility_level = 1 ,
5+ )
6+
7+ bazel_dep (name = "rules_python" , version = "0.27.1" )
8+
9+ PYTHON_VERSIONS = [
10+ "3.8" ,
11+ "3.9" ,
12+ "3.10" ,
13+ "3.11" ,
14+ ]
15+
16+ python = use_extension ("@rules_python//python/extensions:python.bzl" , "python" )
17+
18+ [
19+ python .toolchain (
20+ is_default = python_version == PYTHON_VERSIONS [- 1 ],
21+ python_version = python_version ,
22+ )
23+ for python_version in PYTHON_VERSIONS
24+ ]
25+
26+ pip = use_extension ("@rules_python//python/extensions:pip.bzl" , "pip" )
27+
28+ [
29+ pip .parse (
30+ hub_name = "dep_bazelizer_deps" ,
31+ python_version = python_version ,
32+ requirements_lock = "//:requirements.txt" ,
33+ )
34+ for python_version in PYTHON_VERSIONS
35+ ]
36+
37+ use_repo (pip , "dep_bazelizer_deps" )
Original file line number Diff line number Diff line change 1+ bcr_test_module :
2+ module_path : ' '
3+ matrix :
4+ platform : [ ubuntu2004 ]
5+ tasks :
6+ run_tests :
7+ name : Run tests
8+ platform : ${{ platform }}
9+ test_targets : [ //... ]
Original file line number Diff line number Diff line change 1+ {
2+ "url" : " https://github.com/shabanzd/debian_dependency_bazelizer/releases/download/0.5.0/debian_dependency_bazelizer-0.5.0.tar.gz" ,
3+ "integrity" : " sha256-WyM4mf8ZrVujn7gOsE+knrCNE5u39sB3x7TcX/binIg=" ,
4+ "strip_prefix" : " debian_dependency_bazelizer-0.5.0"
5+ }
6+
Original file line number Diff line number Diff line change 1+ {
2+ "homepage" : " https://github.com/shabanzd/debian_dependency_bazelizer" ,
3+ "maintainers" : [
4+ {
5+ 6+ "github" : " shabanzd" ,
7+ "name" : " Ziad Shaban"
8+ }
9+ ],
10+ "repository" : [
11+ " github:shabanzd/debian_dependency_bazelizer"
12+ ],
13+ "versions" : [" 0.5.0" ]
14+ }
You can’t perform that action at this time.
0 commit comments