diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-03-14 07:12:41 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-03-14 07:32:12 +0100 |
| commit | 740253814ca0cc461dd1eb8d2422e080fc3421c3 (patch) | |
| tree | 7c64772682abe6bcfdc135d3c3f2bc4ede91de9e /dev-python/attrs | |
| parent | d2a5b5f43064f0840a75407626b348d823dc2230 (diff) | |
| download | gentoo-740253814ca0cc461dd1eb8d2422e080fc3421c3.tar.gz gentoo-740253814ca0cc461dd1eb8d2422e080fc3421c3.tar.bz2 gentoo-740253814ca0cc461dd1eb8d2422e080fc3421c3.zip | |
dev-python/attrs: Bump to 25.3.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/attrs')
| -rw-r--r-- | dev-python/attrs/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/attrs/attrs-25.3.0.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/attrs/Manifest b/dev-python/attrs/Manifest index 2bec019fc87d..d324b37e2cb8 100644 --- a/dev-python/attrs/Manifest +++ b/dev-python/attrs/Manifest @@ -1 +1,2 @@ DIST attrs-25.1.0.tar.gz 810562 BLAKE2B 9fbc190c38bfdb0dc2f6af962ff7361d7c5e91cbabc71dede8ed053d5fd9b26baff0c04ed3421b533f2b899c9091832619575c1f6b7f05a228b852592593f344 SHA512 706cb41ce86e129bc683dbc92a303494e9ebb87c7e5436dd1418a8dc400f460db9a0ab0e8af3037c035e20caeec4fcbb128314fd939b4286f956277474f7b0bd +DIST attrs-25.3.0.tar.gz 812032 BLAKE2B a4417e2ccc14a61f1f23cf40bd75c665a081130482484752af46d94d40a6e06679f7adf7d2e8c9b27c8d7ae4bbc1cc835ba0f533d37caa2d7b333ca2158e3d89 SHA512 acf34c38865157c49ba4070b35a162f0eb976ded0a8b8f74afe4c7e7238b8418af6108954cfc92c9721a090505e73ae193225a73a02352ab3bba0d9ace189059 diff --git a/dev-python/attrs/attrs-25.3.0.ebuild b/dev-python/attrs/attrs-25.3.0.ebuild new file mode 100644 index 000000000000..de1233c1ff0f --- /dev/null +++ b/dev-python/attrs/attrs-25.3.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Attributes without boilerplate" +HOMEPAGE=" + https://github.com/python-attrs/attrs/ + https://attrs.readthedocs.io/ + https://pypi.org/project/attrs/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + >=dev-python/hatchling-1.26.0[${PYTHON_USEDEP}] + >=dev-python/hatch-fancy-pypi-readme-23.2.0[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/cloudpickle[${PYTHON_USEDEP}] + ' 'python*' pypy3) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3*) + EPYTEST_DESELECT+=( + # https://github.com/python-attrs/attrs/issues/1418 + tests/test_make.py::TestClassBuilder::test_handles_missing_meta_on_class + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |
