Remove support for python2, which was EOL two years ago.

Test: treehugger
Change-Id: Ie4ad9892db4b1461867302f677c25cfe28855d69
diff --git a/Android.bp b/Android.bp
index f8f188f..2f4dfa8 100644
--- a/Android.bp
+++ b/Android.bp
@@ -43,32 +43,6 @@
 }
 
 python_test {
-  name: "py2-funcsigs-tests",
-  // use _ instead of . in the name to avoid error:
-  //   error: external/python/funcsigs/Android.bp:18:7: module "py2-funcsigs-tests" variant
-  //   "linux_glibc_x86_64_PY2": srcs: the path "Android.tests.py" contains invalid token "Android.tests".
-  main: "Android_tests.py",
-  srcs: [
-      // important: the tests must be run as if they were in the 'tests' module
-      // (i.e. from external/python/funcsigs) otherwise one of the tests will fail.
-      "tests/*.py",
-      "Android_tests.py",
-  ],
-  host_supported: true,
-  libs: ["py-funcsigs"],
-  version: {
-    py2: {
-      enabled: true,
-    },
-    py3: {
-      enabled: false,
-    },
-  },
-  // required for tests.test_funcsigs.TestFunctionSignatures
-  data: ["README.rst"],
-}
-
-python_test {
   name: "py3-funcsigs-tests",
   main: "Android_tests.py",
   srcs: [
@@ -77,13 +51,5 @@
   ],
   host_supported: true,
   libs: ["py-funcsigs"],
-  version: {
-    py2: {
-      enabled: false,
-    },
-    py3: {
-      enabled: true,
-    },
-  },
   data: ["README.rst"],
 }
diff --git a/funcsigs/Android.bp b/funcsigs/Android.bp
index dd3e9b6..74882e7 100644
--- a/funcsigs/Android.bp
+++ b/funcsigs/Android.bp
@@ -27,13 +27,5 @@
   srcs: [
       "*.py",
   ],
-  version: {
-        py2: {
-            enabled: true,
-        },
-        py3: {
-            enabled: true,
-        },
-  },
   pkg_path: "funcsigs",
 }