From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dataclasses/
Date: Mon, 27 Apr 2020 08:33:15 +0000 (UTC) [thread overview]
Message-ID: <1587976379.e787986d3d0bde1dab65d2ce13dbd4b249b22acc.mgorny@gentoo> (raw)
commit: e787986d3d0bde1dab65d2ce13dbd4b249b22acc
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 27 08:24:32 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Apr 27 08:32:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e787986d
dev-python/dataclasses: New package
A backport of dataclasses module from Python 3.7, needed by wsproto.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/dataclasses/Manifest | 1 +
dev-python/dataclasses/dataclasses-0.7.ebuild | 25 +++++++++++++++++++++++++
dev-python/dataclasses/metadata.xml | 7 +++++++
3 files changed, 33 insertions(+)
diff --git a/dev-python/dataclasses/Manifest b/dev-python/dataclasses/Manifest
new file mode 100644
index 00000000000..558e8a943c2
--- /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/dataclasses-0.7.ebuild b/dev-python/dataclasses/dataclasses-0.7.ebuild
new file mode 100644
index 00000000000..fec19caab77
--- /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 00000000000..266e3f19ca5
--- /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>
next reply other threads:[~2020-04-27 8:33 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-27 8:33 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-08-27 22:10 [gentoo-commits] repo/gentoo:master commit in: dev-python/dataclasses/ Sergei Trofimovich
2020-08-29 20:04 Sam James
2020-08-30 3:57 Sam James
2020-09-13 3:31 Sam James
2020-09-13 4:55 Sam James
2020-09-13 4:55 Sam James
2020-09-27 6:42 Matt Turner
2020-09-30 20:26 Sam James
2020-10-02 15:22 Sergei Trofimovich
2020-10-02 15:22 Sergei Trofimovich
2020-10-07 1:02 Sam James
2020-11-02 9:47 Sam James
2020-11-25 18:13 Thomas Deutschmann
2020-11-26 13:21 Sam James
2020-11-26 19:08 Sam James
2020-12-02 20:42 Aaron Bauman
2020-12-02 22:39 Sam James
2020-12-14 12:29 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1587976379.e787986d3d0bde1dab65d2ce13dbd4b249b22acc.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox