dev-python/cattrs: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-02-13 13:57:32 +01:00
parent 430606a2a0
commit 0da0442be9
3 changed files with 0 additions and 95 deletions

View File

@@ -1,2 +1 @@
DIST cattrs-1.10.0.gh.tar.gz 100657 BLAKE2B b0475644bdd31e12dabf7b969e1890932309497e66b45a311e97d56062e99837af11677c24e33c6d1bed6ec2c6373eab6535874115960ed450f52804a6e5d73e SHA512 51cda84d30627f9d0eb6842c45f7c91dd2f3d9a21b1a635ad21d0648d409b576f52e6127392d60bdd1b6a803f8f897f970706b9cc64b703c06387bc85cd3740e
DIST cattrs-1.9.0.gh.tar.gz 102241 BLAKE2B 89cc71de97e1e63d3cfe3a4169c20e44d9fb8b85c6f939a0503d569dbf521d97ac325ead7c8bd58d4d32b6c6097a70effdf58553e334300639d6ef6c26b40bc7 SHA512 e1e4e59f802baf63cf931b3798bf39e4f18d5ab12a9aea000c2b649d34905d29ccb94f9ccdc5b2c52e48114fb9b292e59ab86da4c747243cae8a9d9ba25e768c

View File

@@ -1,47 +0,0 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
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
distutils-r1_src_prepare
}
python_test() {
# unpackaged deps, see above
epytest tests --ignore tests/test_preconf.py
}

View File

@@ -1,47 +0,0 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
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 -i -e 's:--benchmark.*::' setup.cfg || die
distutils-r1_src_prepare
}
python_test() {
# unpackaged deps, see above
epytest tests --ignore tests/test_preconf.py
}