diff options
Diffstat (limited to 'rules/package_info.bzl')
-rw-r--r-- | rules/package_info.bzl | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/rules/package_info.bzl b/rules/package_info.bzl index a8643f8..c0bef0b 100644 --- a/rules/package_info.bzl +++ b/rules/package_info.bzl @@ -75,19 +75,23 @@ def package_info( package_name = None, package_url = None, package_version = None, - visibility = ["//visibility:public"]): + **kwargs): """Wrapper for package_info rule. + @wraps(_package_info) + Args: name: str target name. - package_name : str A human readable name identifying this package. This - may be used to produce an index of OSS packages used by - an application. + package_name: str A human readable name identifying this package. This + may be used to produce an index of OSS packages used by + an application. package_url: str The canoncial URL this package distribution was retrieved from. Note that, because of local mirroring, that might not be the physical URL it was retrieved from. package_version: str A human readable name identifying version of this package. + kwargs: other args. Most are ignored. """ + visibility = kwargs.get("visibility") or ["//visibility:public"] _package_info( name = name, package_name = package_name, |