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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E2ACF15808D for ; Thu, 21 Apr 2022 15:19:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 357F1E0921; Thu, 21 Apr 2022 15:19:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 19D3AE0920 for ; Thu, 21 Apr 2022 15:19:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3C52F3411B8 for ; Thu, 21 Apr 2022 15:19:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 96A493BF for ; Thu, 21 Apr 2022 15:19:45 +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: <1650554379.3674cb86c0fe46c877d976c464f6f571ae61a40e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cattrs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cattrs/Manifest dev-python/cattrs/cattrs-22.1.0.ebuild X-VCS-Directories: dev-python/cattrs/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3674cb86c0fe46c877d976c464f6f571ae61a40e X-VCS-Branch: master Date: Thu, 21 Apr 2022 15:19:45 +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: 78186f2d-29cd-48ba-bfe8-081c631194c1 X-Archives-Hash: 01e24e45ff805b87bd9cd1f41e958768 commit: 3674cb86c0fe46c877d976c464f6f571ae61a40e Author: Michał Górny gentoo org> AuthorDate: Thu Apr 21 14:48:35 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Apr 21 15:19:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3674cb86 dev-python/cattrs: Bump to 22.1.0 Signed-off-by: Michał Górny gentoo.org> dev-python/cattrs/Manifest | 1 + dev-python/cattrs/cattrs-22.1.0.ebuild | 60 ++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-python/cattrs/Manifest b/dev-python/cattrs/Manifest index b44f49d62b20..a5aee28ff19c 100644 --- a/dev-python/cattrs/Manifest +++ b/dev-python/cattrs/Manifest @@ -1 +1,2 @@ DIST cattrs-1.10.0.gh.tar.gz 100657 BLAKE2B b0475644bdd31e12dabf7b969e1890932309497e66b45a311e97d56062e99837af11677c24e33c6d1bed6ec2c6373eab6535874115960ed450f52804a6e5d73e SHA512 51cda84d30627f9d0eb6842c45f7c91dd2f3d9a21b1a635ad21d0648d409b576f52e6127392d60bdd1b6a803f8f897f970706b9cc64b703c06387bc85cd3740e +DIST cattrs-22.1.0.gh.tar.gz 108033 BLAKE2B 823e3ab466fd73385a4aaefb547b3457ee9cd100f38b6778c26bbe3d93e23ed9a00f071d6a5d7626da91e6660e2a8118e70cfa53a5960d550b9038fffec58eef SHA512 db1effb8d632dc3843d38b18bcd439c35d8bae0e4379b075417eaedbc130f6426186c0d299bc5b5d68a7354d7c5e53927ba5e0e989d498841a73237c588febb8 diff --git a/dev-python/cattrs/cattrs-22.1.0.ebuild b/dev-python/cattrs/cattrs-22.1.0.ebuild new file mode 100644 index 000000000000..5f09a67c0719 --- /dev/null +++ b/dev-python/cattrs/cattrs-22.1.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Composable complex class support for attrs and dataclasses" +HOMEPAGE=" + https://pypi.org/project/cattrs/ + https://github.com/python-attrs/cattrs/ +" +SRC_URI=" + https://github.com/python-attrs/cattrs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/immutables[${PYTHON_USEDEP}] + ) +" +# test_preconf: +# dev-python/bson[${PYTHON_USEDEP}] +# dev-python/msgpack[${PYTHON_USEDEP}] +# dev-python/orjson[${PYTHON_USEDEP}] +# dev-python/pyyaml[${PYTHON_USEDEP}] +# dev-python/tomlkit[${PYTHON_USEDEP}] +# dev-python/ujson[${PYTHON_USEDEP}] + +distutils_enable_tests pytest + +src_prepare() { + sed -e 's:--benchmark.*::' \ + -e '/addopts/d' \ + -i pyproject.toml || die + # backport pyproject.toml fix (50ba769c8349f5891b157d2bb7f06602822ac0a3) + sed -e 's:group.dev.dependencies:dev-dependencies:' \ + -i pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + # unpackaged deps, see above + epytest tests --ignore tests/test_preconf.py +}