mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/cattrs: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
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
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
# 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 x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user