mirror of
https://github.com/resf/distro-tools.git
synced 2024-11-13 08:41:26 +00:00
36 lines
819 B
Python
36 lines
819 B
Python
|
load("@aspect_rules_py//py:defs.bzl", "py_binary", "py_library")
|
||
|
|
||
|
py_library(
|
||
|
name = "rpmworker_lib",
|
||
|
srcs = [
|
||
|
"repomd.py",
|
||
|
"rh_matcher_activities.py",
|
||
|
"rh_matcher_workflows.py",
|
||
|
"temporal.py",
|
||
|
],
|
||
|
imports = ["../.."],
|
||
|
visibility = ["//:__subpackages__"],
|
||
|
deps = [
|
||
|
"//apollo/db:db_lib",
|
||
|
"//common:common_lib",
|
||
|
"@pypi_aiohttp//:pkg",
|
||
|
"@pypi_pyyaml//:pkg",
|
||
|
"@pypi_temporalio//:pkg",
|
||
|
"@pypi_tortoise_orm//:pkg",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
py_binary(
|
||
|
name = "rpmworker",
|
||
|
srcs = ["__main__.py"],
|
||
|
imports = ["../.."],
|
||
|
main = "__main__.py",
|
||
|
visibility = ["//:__subpackages__"],
|
||
|
deps = [
|
||
|
":rpmworker_lib",
|
||
|
"//common:common_lib",
|
||
|
"@pypi_click//:pkg",
|
||
|
"@pypi_temporalio//:pkg",
|
||
|
],
|
||
|
)
|