dataclasses: upgraded package to upstream

Upgraded dev-python/dataclasses to version 0.7 on amd64

This is required for black compatibility on Python 3.6.  Note the
package is in the Python standard library from 3.7 onwards, so we can
delete the package if we upgrade Python.

BUG=b:192389533
TEST=with follow-up, test black

Change-Id: Ibb1f600534d42f7eb4817682b0aea25816fa9666
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/portage-stable/+/2998369
Tested-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
diff --git a/dev-python/dataclasses/Manifest b/dev-python/dataclasses/Manifest
new file mode 100644
index 0000000..558e8a9
--- /dev/null
+++ b/dev-python/dataclasses/Manifest
@@ -0,0 +1 @@
+DIST dataclasses-0.7.tar.gz 35690 BLAKE2B 8d3c60d1e2ad4c9ceb3c502fa74f8fdae75717e52c698984b6def96e867cae633864de711856a69992df6a207617d17d7116f5e0daa7d757076dc8b97d7e0e9b SHA512 ff921237a99bac21e091ff253824eb07eb09be7e7ec02b869da9c68c35141fc1bee526b3d2942963bac7762827438ea8fdc89fa72404991b78d1d063a3c18661
diff --git a/dev-python/dataclasses/OWNERS b/dev-python/dataclasses/OWNERS
new file mode 100644
index 0000000..3d2e096
--- /dev/null
+++ b/dev-python/dataclasses/OWNERS
@@ -0,0 +1 @@
+include chromiumos/platform/ec:/OWNERS
diff --git a/dev-python/dataclasses/dataclasses-0.7.ebuild b/dev-python/dataclasses/dataclasses-0.7.ebuild
new file mode 100644
index 0000000..88bd90a
--- /dev/null
+++ b/dev-python/dataclasses/dataclasses-0.7.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# this is a backport. do not add extra impls
+PYTHON_COMPAT=( python3_6 )
+inherit distutils-r1
+
+DESCRIPTION="A backport of the dataclasses module for Python 3.6"
+HOMEPAGE="
+	https://pypi.org/project/dataclasses/
+	https://github.com/ericvsmith/dataclasses"
+SRC_URI="
+	mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="*"
+
+src_test() {
+	cd test || die
+	distutils-r1_src_test
+}
+
+distutils_enable_tests unittest
diff --git a/dev-python/dataclasses/metadata.xml b/dev-python/dataclasses/metadata.xml
new file mode 100644
index 0000000..266e3f1
--- /dev/null
+++ b/dev-python/dataclasses/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>python@gentoo.org</email>
+	</maintainer>
+</pkgmetadata>
diff --git a/metadata/md5-cache/dev-python/dataclasses-0.7 b/metadata/md5-cache/dev-python/dataclasses-0.7
new file mode 100644
index 0000000..7db4571
--- /dev/null
+++ b/metadata/md5-cache/dev-python/dataclasses-0.7
@@ -0,0 +1,14 @@
+BDEPEND=python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_python3_6(-)?,-python_single_target_python3_6(-)] dev-python/setuptools[python_targets_python3_6(-)?,-python_single_target_python3_6(-)]
+DEFINED_PHASES=compile configure install prepare test
+DESCRIPTION=A backport of the dataclasses module for Python 3.6
+EAPI=7
+HOMEPAGE=https://pypi.org/project/dataclasses/ https://github.com/ericvsmith/dataclasses
+IUSE=python_targets_python3_6
+KEYWORDS=*
+LICENSE=Apache-2.0
+RDEPEND=python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_python3_6(-)?,-python_single_target_python3_6(-)]
+REQUIRED_USE=|| ( python_targets_python3_6 )
+SLOT=0
+SRC_URI=mirror://pypi/d/dataclasses/dataclasses-0.7.tar.gz
+_eclasses_=distutils-r1	198e3b9ddb55ae36b2a50b07ca2877ef	multibuild	40fe59465edacd730c644ec2bc197809	multilib	2477ebe553d3e4d2c606191fe6c33602	multiprocessing	c3cf317581e5bd068a4b851f03dd8cba	python-r1	79e26ce8f853c9daebe9a4956e37cc1b	python-utils-r1	157a6a7a3e99c7dbdf81acc9dd4f57cd	toolchain-funcs	605c126bed8d87e4378d5ff1645330cb
+_md5_=5c23c0fc3dbe53dce81a1b7491e023d9