summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraiuto <aiuto@google.com>2024-02-08 15:43:00 -0500
committerGitHub <noreply@github.com>2024-02-08 15:43:00 -0500
commit52996b06c3013ab349cbbd88f9e009d75a6d18d7 (patch)
treed7672b195f127048a541414f71a3fafacd6f6a92
parent37cccd4f77042445810b50ca68b2786078808885 (diff)
downloadbazelbuild-rules_pkg-52996b06c3013ab349cbbd88f9e009d75a6d18d7.tar.gz
Temporarily restore //mappings.bzl and //pkg.bzl (#817)
* Restore mappings.bzl and pkg.bzl as a stopgap until https://github.com/protocolbuffers/protobuf/issues/15779 is fixed. * bump version number for upcoming patch release
-rw-r--r--mappings.bzl41
-rw-r--r--pkg.bzl21
-rw-r--r--version.bzl2
3 files changed, 63 insertions, 1 deletions
diff --git a/mappings.bzl b/mappings.bzl
new file mode 100644
index 0000000..194529c
--- /dev/null
+++ b/mappings.bzl
@@ -0,0 +1,41 @@
+# Copyright 2021 The Bazel Authors. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+load(
+ "//pkg:mappings.bzl",
+ _filter_directory = "filter_directory",
+ _pkg_attributes = "pkg_attributes",
+ _pkg_filegroup = "pkg_filegroup",
+ _pkg_files = "pkg_files",
+ _pkg_mkdirs = "pkg_mkdirs",
+ _pkg_mklink = "pkg_mklink",
+ _strip_prefix = "strip_prefix",
+ _REMOVE_BASE_DIRECTORY = "REMOVE_BASE_DIRECTORY",
+)
+
+REMOVE_BASE_DIRECTORY = _REMOVE_BASE_DIRECTORY
+
+filter_directory = _filter_directory
+
+pkg_attributes = _pkg_attributes
+
+pkg_filegroup = _pkg_filegroup
+
+pkg_files = _pkg_files
+
+pkg_mkdirs = _pkg_mkdirs
+
+pkg_mklink = _pkg_mklink
+
+strip_prefix = _strip_prefix
diff --git a/pkg.bzl b/pkg.bzl
new file mode 100644
index 0000000..8468062
--- /dev/null
+++ b/pkg.bzl
@@ -0,0 +1,21 @@
+# Copyright 2021 The Bazel Authors. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+load("//pkg:deb.bzl", _pkg_deb = "pkg_deb")
+load("//pkg:tar.bzl", _pkg_tar = "pkg_tar")
+load("//pkg:zip.bzl", _pkg_zip = "pkg_zip")
+
+pkg_deb = _pkg_deb
+pkg_tar = _pkg_tar
+pkg_zip = _pkg_zip
diff --git a/version.bzl b/version.bzl
index 97a72f5..7e93127 100644
--- a/version.bzl
+++ b/version.bzl
@@ -13,4 +13,4 @@
# limitations under the License.
"""The version of rules_pkg."""
-version = "0.10.0"
+version = "0.10.1"