summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGurchetan Singh <gurchetansingh@google.com>2023-12-06 07:37:11 -0800
committerGurchetan Singh <gurchetansingh@google.com>2023-12-13 13:55:32 -0800
commitbdc7b459f8c2003e3a44468891efbc2d8d6b75bf (patch)
treed682d5d42a5167f52b471cc56c0989750f98b2e2
parent51505647100b7cf20a79b496bc12dec379ac9cdc (diff)
downloadmako-upstream.tar.gz
external: Import makoupstream
Third-Party Import of: https://github.com/sqlalchemy/mako Request Document: go/android3p For CL Reviewers: go/android3p#cl-review For Build Team: go/ab-third-party-imports Bug: http://b/312187805 Test: compile Change-Id: Ic42492d0a01a157ad0e3f529ea7c072df444d78f
-rw-r--r--Android.bp43
-rw-r--r--METADATA16
-rw-r--r--MODULE_LICENSE_MIT0
-rw-r--r--OWNERS1
4 files changed, 60 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..bf56fe6
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,43 @@
+// Copyright (C) 2023 The Android Open Source Project
+//
+// 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.
+
+package {
+ default_applicable_licenses: ["external_python_mako_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_python_mako_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
+python_library {
+ name: "mako",
+ host_supported: true,
+ srcs: [
+ "mako/*.py",
+ "mako/ext/*.py",
+ ],
+ libs: [
+ "py-setuptools",
+ "py-markupsafe",
+ ]
+}
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..846d94a
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,16 @@
+name: "mako"
+description:
+ "Mako is a template library written in Python. It provides a familiar, "
+ "non-XML syntax which compiles into Python modules for maximum performance."
+
+third_party {
+homepage: "https://github.com/sqlalchemy/mako"
+ identifier {
+ type: "Git"
+ value: "https://github.com/sqlalchemy/mako"
+ primary_source: true
+ }
+ version: "rel_1_3_0"
+ last_upgrade_date { year: 2023 month: 12 day: 6 }
+ license_type: NOTICE
+}
diff --git a/MODULE_LICENSE_MIT b/MODULE_LICENSE_MIT
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_MIT
diff --git a/OWNERS b/OWNERS
new file mode 100644
index 0000000..682a067
--- /dev/null
+++ b/OWNERS
@@ -0,0 +1 @@
+enh@google.com