summaryrefslogtreecommitdiff
path: root/dev-python/dataclasses
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/dataclasses')
-rw-r--r--dev-python/dataclasses/Manifest3
-rw-r--r--dev-python/dataclasses/dataclasses-0.7.ebuild25
-rw-r--r--dev-python/dataclasses/metadata.xml7
3 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/dataclasses/Manifest b/dev-python/dataclasses/Manifest
new file mode 100644
index 000000000000..5ddbb65e6afc
--- /dev/null
+++ b/dev-python/dataclasses/Manifest
@@ -0,0 +1,3 @@
+DIST dataclasses-0.7.tar.gz 35690 BLAKE2B 8d3c60d1e2ad4c9ceb3c502fa74f8fdae75717e52c698984b6def96e867cae633864de711856a69992df6a207617d17d7116f5e0daa7d757076dc8b97d7e0e9b SHA512 ff921237a99bac21e091ff253824eb07eb09be7e7ec02b869da9c68c35141fc1bee526b3d2942963bac7762827438ea8fdc89fa72404991b78d1d063a3c18661
+EBUILD dataclasses-0.7.ebuild 513 BLAKE2B ecb0d14b9e33b754d01f3c13b740a5687f28df636afc671cca3f3d9d03a07d25fbc0fa5127a0769c7c049297e59aed41e2c8f18a128c2762aa4a0dd88d186cc3 SHA512 1178f7be729d8eb88ee179aa31b172a9e5277127f2fe321722d64c7f558858e48c1cf14cdbce2829f2327e44922bcfcd322f3ea312dd78ccc4f0770df2d83cbb
+MISC metadata.xml 218 BLAKE2B 086fdcf7b63ca7bd6c58e861d717bb375e1cd372eff26d5d2eeeb176d8c5e6f10e653562abafb50eae7d7508f8e3d421b87e6a749acd0490308672828d0da697 SHA512 4558fee4c51117e21b1f42ca3edbdf1195ed297db798d6bfa0e5fbb7019654a187422b0abde7af5d800caffed66d1e55e4280e8be602bad591424d9776c46781
diff --git a/dev-python/dataclasses/dataclasses-0.7.ebuild b/dev-python/dataclasses/dataclasses-0.7.ebuild
new file mode 100644
index 000000000000..fec19caab774
--- /dev/null
+++ b/dev-python/dataclasses/dataclasses-0.7.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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="~amd64 ~x86"
+
+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 000000000000..266e3f19ca59
--- /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>