diff options
Diffstat (limited to 'dev-python/attrs')
| -rw-r--r-- | dev-python/attrs/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/attrs/attrs-25.4.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/attrs/Manifest b/dev-python/attrs/Manifest index a4795b6a5ff7..db05b715fc3f 100644 --- a/dev-python/attrs/Manifest +++ b/dev-python/attrs/Manifest @@ -1 +1,2 @@ DIST attrs-25.3.0.tar.gz 812032 BLAKE2B a4417e2ccc14a61f1f23cf40bd75c665a081130482484752af46d94d40a6e06679f7adf7d2e8c9b27c8d7ae4bbc1cc835ba0f533d37caa2d7b333ca2158e3d89 SHA512 acf34c38865157c49ba4070b35a162f0eb976ded0a8b8f74afe4c7e7238b8418af6108954cfc92c9721a090505e73ae193225a73a02352ab3bba0d9ace189059 +DIST attrs-25.4.0.tar.gz 934251 BLAKE2B 5d3a4ef1c5821ac8998a401239d73ea8e6fa2508b779c2772eca9240375835193b0ed62c40d0502f5f31c6582fc9b4a62d5505236d6ae5c878695bfecd336ba4 SHA512 945ea1766adf7e8c8cc8b8f8c63c3dca652553522cede6a09d479f9919a41d43539819da2fe6fdc0e0b42822e353c7cb04b79fb9cecfd54bde5e301574a82341 diff --git a/dev-python/attrs/attrs-25.4.0.ebuild b/dev-python/attrs/attrs-25.4.0.ebuild new file mode 100644 index 000000000000..7e9354c1d46d --- /dev/null +++ b/dev-python/attrs/attrs-25.4.0.ebuild @@ -0,0 +1,53 @@ +# 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_{11..14} python3_{13,14}t 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) + $(python_gen_cond_dep ' + dev-python/cloudpickle[${PYTHON_USEDEP}] + ' python3_{11..14}) + $(python_gen_cond_dep ' + dev-python/zope-interface[${PYTHON_USEDEP}] + ' python3_{11..14} pypy3_11) + ) +" + +EPYTEST_PLUGINS=( hypothesis ) +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 + + epytest +} |
