2019-12-03 06:51:55 +00:00
|
|
|
load("//benchmarks:defs.bzl", "py_library", "py_test", "requirement")
|
2020-01-15 22:24:55 +00:00
|
|
|
load("@rules_pkg//:pkg.bzl", "pkg_tar")
|
2019-12-03 06:51:55 +00:00
|
|
|
|
|
|
|
package(
|
|
|
|
default_visibility = ["//benchmarks:__subpackages__"],
|
|
|
|
licenses = ["notice"],
|
|
|
|
)
|
|
|
|
|
|
|
|
py_library(
|
|
|
|
name = "iperf",
|
|
|
|
srcs = ["__init__.py"],
|
|
|
|
)
|
|
|
|
|
|
|
|
py_test(
|
|
|
|
name = "iperf_test",
|
|
|
|
srcs = ["iperf_test.py"],
|
|
|
|
python_version = "PY3",
|
|
|
|
deps = [
|
|
|
|
":iperf",
|
|
|
|
requirement("attrs", False),
|
|
|
|
requirement("atomicwrites", False),
|
|
|
|
requirement("more-itertools", False),
|
|
|
|
requirement("pathlib2", False),
|
|
|
|
requirement("pluggy", False),
|
|
|
|
requirement("py", False),
|
|
|
|
requirement("pytest", True),
|
|
|
|
requirement("six", False),
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-01-15 22:24:55 +00:00
|
|
|
pkg_tar(
|
|
|
|
name = "tar",
|
2019-12-03 06:51:55 +00:00
|
|
|
srcs = [
|
|
|
|
"Dockerfile",
|
|
|
|
],
|
|
|
|
)
|