Skip to content

Commit

Permalink
Merge pull request #79 from aiuto/feddep
Browse files Browse the repository at this point in the history
Remove deps on abseil.
  • Loading branch information
fweikert authored Aug 16, 2019
2 parents ad8f0f2 + 29e1fac commit cb54c42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 30 deletions.
31 changes: 2 additions & 29 deletions pkg/deps.bzl
Original file line number Diff line number Diff line change
@@ -1,37 +1,10 @@
# Workspace dependencies for rules_pkg/pkg

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

def _maybe(repo, name, **kwargs):
if not native.existing_rule(name):
repo(name = name, **kwargs)
# @federation: BEGIN @rules_pkg


# @federation: BEGIN @rules_pkg
def rules_pkg_dependencies():
# Needed for helper tools
_maybe(
http_archive,
name = "abseil_py",
urls = [
"https://github.com/abseil/abseil-py/archive/pypi-v0.7.1.tar.gz",
],
sha256 = "3d0f39e0920379ff1393de04b573bca3484d82a5f8b939e9e83b20b6106c9bbe",
strip_prefix = "abseil-py-pypi-v0.7.1",
)

# Needed by abseil-py. They do not use deps yet.
_maybe(
http_archive,
name = "six_archive",
urls = [
"http://mirror.bazel.build/pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz",
"https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz",
],
sha256 = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a",
strip_prefix = "six-1.10.0",
build_file = "@abseil_py//third_party:six.BUILD"
)
pass


def rules_pkg_register_toolchains():
Expand Down
2 changes: 1 addition & 1 deletion pkg/pkg.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load(":path.bzl", "compute_data_path", "dest_path")

version = "0.2.1"
version = "0.2.2"

# Filetype to restrict inputs
tar_filetype = [".tar", ".tar.gz", ".tgz", ".tar.xz", ".tar.bz2"]
Expand Down

0 comments on commit cb54c42

Please sign in to comment.