aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-06-19 12:02:44 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-06-19 12:02:44 +0000
commit126b122c30df6d26c92e34984b9950addd6e176b (patch)
tree50ac4be42d5d5d613782e8b97998d856b2a4b85e
parent513ec3d6bb6f7786d02caf51720497a118b8f4be (diff)
parentdfeafb50717e08caed6201f078149f3b9f5b11c4 (diff)
downloadsetuptools-android12-mainline-media-release.tar.gz
Change-Id: Ie901eb130e686657c48b346a64d2c6f765d9920b
-rw-r--r--Android.bp31
-rw-r--r--METADATA1
-rw-r--r--NOTICE19
3 files changed, 32 insertions, 19 deletions
diff --git a/Android.bp b/Android.bp
index 3994a21..8f17fe4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,6 +12,37 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["external_python_setuptools_license"],
+}
+
+// Added automatically by a large-scale-change that took the approach of
+// 'apply every license found to every target'. While this makes sure we respect
+// every license restriction, it may not be entirely correct.
+//
+// e.g. GPL in an MIT project might only apply to the contrib/ directory.
+//
+// Please consider splitting the single license below into multiple licenses,
+// taking care not to lose any license_kind information, and overriding the
+// default license using the 'licenses: [...]' property on targets as needed.
+//
+// For unused files, consider creating a 'fileGroup' with "//visibility:private"
+// to attach the license to, and including a comment whether the files may be
+// used in the current project.
+// See: http://go/android-license-faq
+license {
+ name: "external_python_setuptools_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-BSD",
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
python_library {
name: "py-setuptools",
host_supported: true,
diff --git a/METADATA b/METADATA
index 9556624..cfd0a77 100644
--- a/METADATA
+++ b/METADATA
@@ -12,5 +12,6 @@ third_party {
value: "https://files.pythonhosted.org/packages/a6/5b/f399fcffb9128d642387133dc3aa9bb81f127b949cd4d9f63e5602ad1d71/setuptools-39.1.0.zip"
}
version: "v39.1.0"
+ license_type: NOTICE
last_upgrade_date { year: 2018 month: 5 day: 23 }
}
diff --git a/NOTICE b/NOTICE
deleted file mode 100644
index 6e0693b..0000000
--- a/NOTICE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (C) 2016 Jason R Coombs <jaraco@jaraco.com>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.