Revert "dev-python/dataclasses_json: treeclean"

This reverts commit 5ed0801048.

No longer in ::gentoo.

Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2024-04-22 08:47:38 +03:00
parent c0ea18661b
commit 27c5e3a90e
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST dataclasses_json-0.5.14.tar.gz 72513 BLAKE2B f45ca18030388efcc21ca9c939bf2298f891de66d62dc0f8042a3d0e26cc0bae63c7c5a02c839b07282c3110d6e5752979e3abea361b215b86b354984901c77c SHA512 5ec21843ef29a8e6e9511922698f42c115c7e641ca9ae5e47a58c6f0697a51928fd462f6342190263469baa70b76a302ad1d27954f50b9457b97149586f35703

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
DESCRIPTION="Easily serialize Data Classes to and from JSON"
HOMEPAGE="https://github.com/lidatong/dataclasses-json"
SRC_URI="https://github.com/lidatong/dataclasses-json/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P/_/-}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/marshmallow-3.3.0[${PYTHON_USEDEP}]
>=dev-python/marshmallow_enum-1.5.1[${PYTHON_USEDEP}]
>=dev-python/typing_inspect-0.4.0[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
>=dev-python/mypy-0.710[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">lidatong/dataclasses-json</remote-id>
</upstream>
</pkgmetadata>