From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 726F6138350 for ; Mon, 27 Apr 2020 08:33:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2139E0B18; Mon, 27 Apr 2020 08:33:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 695EBE0B18 for ; Mon, 27 Apr 2020 08:33:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 100B334FC0E for ; Mon, 27 Apr 2020 08:33:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 916BA1F5 for ; Mon, 27 Apr 2020 08:33:15 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1587976379.e787986d3d0bde1dab65d2ce13dbd4b249b22acc.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dataclasses/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/dataclasses/Manifest dev-python/dataclasses/dataclasses-0.7.ebuild dev-python/dataclasses/metadata.xml X-VCS-Directories: dev-python/dataclasses/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e787986d3d0bde1dab65d2ce13dbd4b249b22acc X-VCS-Branch: master Date: Mon, 27 Apr 2020 08:33:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 04654a46-db91-4d3d-bd12-370102785ed5 X-Archives-Hash: 621de1ff9715a6f9e4d37c7ec456bac6 commit: e787986d3d0bde1dab65d2ce13dbd4b249b22acc Author: Michał Górny gentoo org> AuthorDate: Mon Apr 27 08:24:32 2020 +0000 Commit: Michał Górny gentoo 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 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 @@ + + + + + python@gentoo.org + +