From bdc7b459f8c2003e3a44468891efbc2d8d6b75bf Mon Sep 17 00:00:00 2001 From: Gurchetan Singh Date: Wed, 6 Dec 2023 07:37:11 -0800 Subject: external: Import mako 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 --- Android.bp | 43 +++++++++++++++++++++++++++++++++++++++++++ METADATA | 16 ++++++++++++++++ MODULE_LICENSE_MIT | 0 OWNERS | 1 + 4 files changed, 60 insertions(+) create mode 100644 Android.bp create mode 100644 METADATA create mode 100644 MODULE_LICENSE_MIT create mode 100644 OWNERS 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 diff --git a/OWNERS b/OWNERS new file mode 100644 index 0000000..682a067 --- /dev/null +++ b/OWNERS @@ -0,0 +1 @@ +enh@google.com -- cgit v1.2.3