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 A0C311382C5 for ; Mon, 14 Dec 2020 12:29:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBB41E0AC2; Mon, 14 Dec 2020 12:29:10 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C5764E0AC2 for ; Mon, 14 Dec 2020 12:29:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 71FEC3413B5 for ; Mon, 14 Dec 2020 12:29:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C4445C0 for ; Mon, 14 Dec 2020 12:29:04 +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: <1607948936.ae57b819c699cde5779b0dc03f95c445e015a524.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.8.ebuild X-VCS-Directories: dev-python/dataclasses/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ae57b819c699cde5779b0dc03f95c445e015a524 X-VCS-Branch: master Date: Mon, 14 Dec 2020 12:29:04 +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: 47812124-da4f-4cf3-a3b9-797440801893 X-Archives-Hash: 54dbec67b855f5bfc0725eb61f4dc03f commit: ae57b819c699cde5779b0dc03f95c445e015a524 Author: Michał Górny gentoo org> AuthorDate: Mon Dec 14 12:17:46 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Dec 14 12:28:56 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae57b819 dev-python/dataclasses: Bump to 0.8 Closes: https://bugs.gentoo.org/759943 Signed-off-by: Michał Górny gentoo.org> dev-python/dataclasses/Manifest | 1 + dev-python/dataclasses/dataclasses-0.8.ebuild | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/dev-python/dataclasses/Manifest b/dev-python/dataclasses/Manifest index 558e8a943c2..9610838fc5f 100644 --- a/dev-python/dataclasses/Manifest +++ b/dev-python/dataclasses/Manifest @@ -1 +1,2 @@ DIST dataclasses-0.7.tar.gz 35690 BLAKE2B 8d3c60d1e2ad4c9ceb3c502fa74f8fdae75717e52c698984b6def96e867cae633864de711856a69992df6a207617d17d7116f5e0daa7d757076dc8b97d7e0e9b SHA512 ff921237a99bac21e091ff253824eb07eb09be7e7ec02b869da9c68c35141fc1bee526b3d2942963bac7762827438ea8fdc89fa72404991b78d1d063a3c18661 +DIST dataclasses-0.8.tar.gz 36581 BLAKE2B fb4cad844f00157a8affc85a0c5d949d7d44fd67ca8083262247af46d93be189628c4ab7b37d34dea983059615603342d50d8b9d0ab75f5365463a337d312b6a SHA512 81b27dd10077084ca82b0a3cbbcee428a5c5cb2e6ade5de46a39731507c2d6f93f9038b704e6555c850044683516a0d130b95a14c91881d04b0bd2c496ca8d6a diff --git a/dev-python/dataclasses/dataclasses-0.8.ebuild b/dev-python/dataclasses/dataclasses-0.8.ebuild new file mode 100644 index 00000000000..3637681c4e0 --- /dev/null +++ b/dev-python/dataclasses/dataclasses-0.8.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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +src_test() { + cd test || die + distutils-r1_src_test +} + +distutils_enable_tests unittest