mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
dev-python/dataclasses_json: new package, add 0.5.7
Signed-off-by: James Beddek <telans@posteo.de>
This commit is contained in:
1
dev-python/dataclasses_json/Manifest
Normal file
1
dev-python/dataclasses_json/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST dataclasses_json-0.5.7.tar.gz 39291 BLAKE2B eded21a6da89e1a8785c38cd7facc3e273154a31f34daf99dc0681891bf44cc0f34fc7ab69021cf04052e82a5bd66058b826609ca3ebfc1d75f40720b0b9ce6b SHA512 2dad73f55e0f33d1f9557e1ed3d41cf237204631c044027c41d37cd2e968da003f77e80c9a06db651e689413cbfd7f85eec1b70b02acf0a32f8337c4abb75f7b
|
||||
40
dev-python/dataclasses_json/dataclasses_json-0.5.7.ebuild
Normal file
40
dev-python/dataclasses_json/dataclasses_json-0.5.7.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
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
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/scripts/d' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
8
dev-python/dataclasses_json/metadata.xml
Normal file
8
dev-python/dataclasses_json/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>telans@posteo.de</email>
|
||||
<name>James Beddek</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user