mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
dev-python/cattrs: Bump to 1.9.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST cattrs-1.7.1.gh.tar.gz 85853 BLAKE2B 36c411ffa92eb263b85d48c81daeea1deea10d5779c6cd1f57988792ef5ec68bedc20b59620077e6500c2e41bb91e83f110467083f90219be7e2419c3880ed94 SHA512 a72370541cbec8928f9e1ae0c130c94e71d826ac522eb39062840d4b78a7f6aacd13395b677f6ff1453e327af31a71af0e5f81893f57ba33edbb53b7683835b2
|
||||
DIST cattrs-1.9.0.gh.tar.gz 102241 BLAKE2B 89cc71de97e1e63d3cfe3a4169c20e44d9fb8b85c6f939a0503d569dbf521d97ac325ead7c8bd58d4d32b6c6097a70effdf58553e334300639d6ef6c26b40bc7 SHA512 e1e4e59f802baf63cf931b3798bf39e4f18d5ab12a9aea000c2b649d34905d29ccb94f9ccdc5b2c52e48114fb9b292e59ab86da4c747243cae8a9d9ba25e768c
|
||||
|
||||
47
dev-python/cattrs/cattrs-1.9.0.ebuild
Normal file
47
dev-python/cattrs/cattrs-1.9.0.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 2021 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
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
<email>python@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Tinche/cattrs</remote-id>
|
||||
<remote-id type="github">python-attrs/cattrs</remote-id>
|
||||
<remote-id type="pypi">cattrs</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user