Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions distro/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ py_test(
"packaging_test.py",
":release_version.py",
],
imports = [".."],
data = [
"testdata/BUILD.tpl",
":distro",
Expand Down
2 changes: 2 additions & 0 deletions pkg/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ starlark_library(
py_binary(
name = "make_rpm",
srcs = ["make_rpm.py"],
imports = [".."],
python_version = "PY3",
srcs_version = "PY3",
target_compatible_with = select({
Expand All @@ -84,6 +85,7 @@ py_binary(
py_library(
name = "make_rpm_lib",
srcs = ["make_rpm.py"],
imports = [".."],
srcs_version = "PY3",
visibility = [
"//experimental:__subpackages__",
Expand Down
4 changes: 4 additions & 0 deletions pkg/private/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ py_library(
srcs = [
"build_info.py",
],
imports = ["../.."],
srcs_version = "PY3",
visibility = [
"//:__subpackages__",
Expand All @@ -78,6 +79,7 @@ py_library(
"__init__.py",
"archive.py",
],
imports = ["../.."],
srcs_version = "PY3",
visibility = [
"//:__subpackages__",
Expand All @@ -91,6 +93,7 @@ py_library(
"__init__.py",
"helpers.py",
],
imports = ["../.."],
srcs_version = "PY3",
visibility = [
"//:__subpackages__",
Expand All @@ -101,6 +104,7 @@ py_library(
py_library(
name = "manifest",
srcs = ["manifest.py"],
imports = ["../.."],
srcs_version = "PY3",
visibility = ["//visibility:public"],
)
2 changes: 2 additions & 0 deletions pkg/private/deb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ exports_files(
py_binary(
name = "make_deb",
srcs = ["make_deb.py"],
imports = ["../../.."],
python_version = "PY3",
visibility = ["//visibility:public"],
deps = [
Expand All @@ -58,6 +59,7 @@ py_binary(
py_library(
name = "make_deb_lib",
srcs = ["make_deb.py"],
imports = ["../../.."],
srcs_version = "PY3",
visibility = ["//tests/deb:__pkg__"],
deps = [
Expand Down
2 changes: 2 additions & 0 deletions pkg/private/tar/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ exports_files(
py_binary(
name = "build_tar",
srcs = ["build_tar.py"],
imports = ["../../.."],
python_version = "PY3",
srcs_version = "PY3",
visibility = ["//visibility:public"],
Expand All @@ -62,6 +63,7 @@ py_library(
srcs = [
"tar_writer.py",
],
imports = ["../../.."],
srcs_version = "PY3",
visibility = [
"//tests:__subpackages__",
Expand Down
1 change: 1 addition & 0 deletions pkg/private/zip/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ exports_files(
py_binary(
name = "build_zip",
srcs = ["build_zip.py"],
imports = ["../../.."],
python_version = "PY3",
srcs_version = "PY3",
visibility = ["//visibility:public"],
Expand Down
2 changes: 2 additions & 0 deletions pkg/releasing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ py_library(
"__init__.py",
"release_tools.py",
],
imports = ["../.."],
srcs_version = "PY3",
)

Expand All @@ -44,6 +45,7 @@ py_binary(
srcs = [
"print_rel_notes.py",
],
imports = ["../.."],
python_version = "PY3",
deps = [
":release_utils",
Expand Down
2 changes: 2 additions & 0 deletions tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ py_test(
srcs = [
"archive_test.py",
],
imports = [".."],
data = [
"//tests:testdata/empty.ar",
"//tests:testdata/a_ab.ar",
Expand Down Expand Up @@ -124,6 +125,7 @@ cc_binary(
py_test(
name = "helpers_test",
srcs = ["helpers_test.py"],
imports = [".."],
python_version = "PY3",
srcs_version = "PY3",
deps = [
Expand Down
2 changes: 2 additions & 0 deletions tests/deb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ py_test(
srcs = [
"pkg_deb_test.py",
],
imports = ["../.."],
data = [
# The target includes both the .deb and .changes files in DefaultInfo
":test_deb",
Expand All @@ -119,6 +120,7 @@ py_test(
srcs = [
"control_field_test.py",
],
imports = ["../.."],
python_version = "PY3",
deps = [
"//pkg/private/deb:make_deb_lib",
Expand Down
1 change: 1 addition & 0 deletions tests/install/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ py_test(
name = "install_test",
srcs = ["test.py"],
args = ["-v"],
imports = ["../.."],
data = [
":test_installer",
],
Expand Down
1 change: 1 addition & 0 deletions tests/mappings/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ package(default_applicable_licenses = ["//:license"])
py_library(
name = "manifest_test_lib",
srcs = ["manifest_test_lib.py"],
imports = ["../.."],
srcs_version = "PY3",
deps = [
"@bazel_tools//tools/python/runfiles",
Expand Down
1 change: 1 addition & 0 deletions tests/rpm/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ diff_test(
py_library(
name = "rpm_util",
srcs = ["rpm_util.py"],
imports = ["../.."],
visibility = [":__subpackages__"],
)

Expand Down
2 changes: 2 additions & 0 deletions tests/tar/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ py_test(
srcs = [
"tar_writer_test.py",
],
imports = ["../.."],
data = [
":compressor",
":test_tar_compression",
Expand Down Expand Up @@ -339,6 +340,7 @@ py_test(
srcs = [
"pkg_tar_test.py",
],
imports = ["../.."],
data = [
":test-tar-empty_dirs.tar",
":test-tar-empty_files.tar",
Expand Down
1 change: 1 addition & 0 deletions tests/zip/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ py_library(
srcs = [
"zip_test_lib.py",
],
imports = ["../.."],
srcs_version = "PY3",
deps = [
"@bazel_tools//tools/python/runfiles",
Expand Down