public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cattrs/
Date: Thu, 21 Apr 2022 15:19:45 +0000 (UTC)	[thread overview]
Message-ID: <1650554379.3674cb86c0fe46c877d976c464f6f571ae61a40e.mgorny@gentoo> (raw)

commit:     3674cb86c0fe46c877d976c464f6f571ae61a40e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 14:48:35 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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
+}


             reply	other threads:[~2022-04-21 15:19 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-21 15:19 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-01  3:19 [gentoo-commits] repo/gentoo:master commit in: dev-python/cattrs/ Michał Górny
2025-07-17  9:12 Sam James
2025-07-04 19:23 Sam James
2025-06-22  0:30 Sam James
2025-06-21  8:29 Sam James
2025-06-21  8:29 Sam James
2025-06-21  7:44 Sam James
2025-06-05  3:42 Michał Górny
2025-06-01  2:36 Michał Górny
2025-04-13 17:45 Michał Górny
2025-04-13 17:17 Sam James
2025-04-12  7:41 Michał Górny
2025-04-12  7:30 Michał Górny
2025-04-12  7:30 Michał Górny
2025-04-12  7:30 Michał Górny
2025-03-26  6:35 Michał Górny
2024-11-13 11:43 Michał Górny
2024-11-13  6:55 Michał Górny
2024-11-13  1:54 Sam James
2024-11-13  1:54 Sam James
2024-10-26 13:51 Michał Górny
2024-10-12  8:13 Michał Górny
2024-10-12  7:52 Michał Górny
2024-10-12  7:52 Michał Górny
2024-10-12  7:28 Michał Górny
2024-09-28 10:33 Michał Górny
2024-09-24 15:09 Arthur Zamarin
2024-09-23  3:48 Michał Górny
2024-09-11 18:39 Michał Górny
2024-08-29 16:29 Michał Górny
2024-08-29 16:29 Michał Górny
2024-06-19  5:24 Arthur Zamarin
2024-06-15  6:18 Viorel Munteanu
2024-06-10 13:07 Michał Górny
2024-05-17 13:05 Sam James
2023-12-09 15:30 Michał Górny
2023-12-09 15:13 Michał Górny
2023-12-09 14:30 Michał Górny
2023-12-09 14:10 Michał Górny
2023-12-09 14:00 Michał Górny
2023-12-01  5:39 Michał Górny
2023-11-21 19:05 Michał Górny
2023-11-20 17:03 Michał Górny
2023-11-18  6:42 Michał Górny
2023-10-24 17:51 Michał Górny
2023-10-01 18:18 Arthur Zamarin
2023-10-01 18:18 Arthur Zamarin
2023-10-01 18:18 Arthur Zamarin
2023-09-10  5:27 WANG Xuerui
2023-08-20 17:53 Arthur Zamarin
2023-08-17  8:42 Arthur Zamarin
2023-08-14 17:57 Jakov Smolić
2023-08-14  4:43 Michał Górny
2023-08-13 19:34 Arthur Zamarin
2023-08-13 16:10 Arthur Zamarin
2023-08-13 16:07 Arthur Zamarin
2023-08-13 16:07 Arthur Zamarin
2023-08-13  6:37 Joonas Niilola
2023-08-12 14:29 Arthur Zamarin
2023-07-30 17:31 Arthur Zamarin
2023-06-23  9:26 Michał Górny
2023-06-02  8:28 Michał Górny
2023-05-31  6:33 Michał Górny
2022-11-04  8:38 Michał Górny
2022-11-04  8:16 Agostino Sarubbo
2022-11-03 22:04 Sam James
2022-10-03 19:55 Michał Górny
2022-06-22  7:57 Michał Górny
2022-06-22  6:53 Agostino Sarubbo
2022-06-22  5:50 Agostino Sarubbo
2022-04-27 11:21 Jakov Smolić
2022-04-26 10:56 Michał Górny
2022-02-13 13:00 Michał Górny
2022-02-13 10:38 Agostino Sarubbo
2022-02-13  8:41 Jakov Smolić
2022-01-27 17:07 Michał Górny
2022-01-27 15:13 Jakov Smolić
2022-01-27  9:21 Agostino Sarubbo
2022-01-26 20:55 Michał Górny
2022-01-04 22:15 Arthur Zamarin
2021-12-06  7:01 Michał Górny
2021-09-18 12:28 Agostino Sarubbo
2021-08-29 17:57 Sam James
2021-07-10 17:46 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=1650554379.3674cb86c0fe46c877d976c464f6f571ae61a40e.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