dev-python/flatbuffers: Add python-flatbuffers

This library allows us to use flatbuffers in python.

Source:
https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/flatbuffers

BUG=b:211717735
TEST=sudo emerge dev-python/flatbuffers

Change-Id: I5ceb094412412ea65e16d047f6e9b37477b15313
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/portage-stable/+/3351693
Reviewed-by: Maksim Ivanov <emaxx@chromium.org>
Reviewed-by: Leo Lai <cylai@google.com>
Commit-Queue: Yi Chou <yich@google.com>
Tested-by: Yi Chou <yich@google.com>
diff --git a/dev-python/flatbuffers/Manifest b/dev-python/flatbuffers/Manifest
new file mode 100644
index 0000000..65babce
--- /dev/null
+++ b/dev-python/flatbuffers/Manifest
@@ -0,0 +1 @@
+DIST flatbuffers-2.0.tar.gz 22462 BLAKE2B a07f1d27afd71aaa23ba26a061267f95bbb7e0ced8b2c110b3d60fdb9d922fd4b339d7abc63068a030e08e6d824871c61110a665edd6781ac54dd5ef8613975a SHA512 76636449c107f1b2d1a1f395dfbb04c89c25946d8a731a257475ff2517f9667095f3527280b87fdd4081fd5a9f7aa0a112d5daae742c1575d29abb69da595b6d
diff --git a/dev-python/flatbuffers/OWNERS b/dev-python/flatbuffers/OWNERS
new file mode 100644
index 0000000..56084ac
--- /dev/null
+++ b/dev-python/flatbuffers/OWNERS
@@ -0,0 +1 @@
+include chromiumos/platform2:/cryptohome/OWNERS
diff --git a/dev-python/flatbuffers/flatbuffers-2.0.ebuild b/dev-python/flatbuffers/flatbuffers-2.0.ebuild
new file mode 100644
index 0000000..3a48681
--- /dev/null
+++ b/dev-python/flatbuffers/flatbuffers-2.0.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+inherit distutils-r1
+
+DESCRIPTION="RFC 7049 - Concise Binary Object Representation"
+HOMEPAGE="https://github.com/google/flatbuffers https://pypi.org/project/flatbuffers/"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="*"
diff --git a/dev-python/flatbuffers/metadata.xml b/dev-python/flatbuffers/metadata.xml
new file mode 100644
index 0000000..c3d770d
--- /dev/null
+++ b/dev-python/flatbuffers/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>dolsen@gentoo.org</email>
+		<name>Brian Dolbec</name>
+	</maintainer>
+	<stabilize-allarches/>
+	<upstream>
+		<remote-id type="pypi">flatbuffers</remote-id>
+		<remote-id type="github">google/flatbuffers</remote-id>
+	</upstream>
+</pkgmetadata>