dev-python/dataclasses-json: new package, add 0.6.3
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
6a3b5d1267
commit
c639ce7a9f
@ -612,11 +612,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
|
||||
|
||||
## Licenses
|
||||
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
|
||||
There are 1662 Ebuilds in total, 1651 of them have in total 1672 (43 different) licenses assigned.
|
||||
There are 1664 Ebuilds in total, 1653 of them have in total 1674 (43 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|971|
|
||||
|MIT|973|
|
||||
|Apache-2.0|342|
|
||||
|BSD|96|
|
||||
|GPL-3|95|
|
||||
|
3
dev-python/dataclasses-json/Manifest
Normal file
3
dev-python/dataclasses-json/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST dataclasses_json-0.6.3.tar.gz 31777 BLAKE2B b00d371afe211898f8a6c7fe7aaa3bafe6325e0ebb4d090500f083156ff32313a357f5de5fe76dca9262d5318285192919874927cef66b7709d3706a9caf6da4 SHA512 6dd3354dd2bca21711c4e6da7c3b67fa9e61ea35306ad0a394ea5cd1de717532c5456138dc06da634878da19d3b25698346be317619006c8a943cd5a897c66bb
|
||||
EBUILD dataclasses-json-0.6.3.ebuild 994 BLAKE2B 7cc0086639cf5d562700d47691152992fa053f00db17fdc2d0fa55aa877dc20e887d833267e70081cd9ac09783ced34b8c124f71d617b0a07e413bd655b77eeb SHA512 9346707b4501646f65735d2efcd730cd29c308930cbc9e7ae8919539e0255b409f8a6ca4946ab3f2e8006c5cb1e896df8447156af7252f7caa7696a32fea72dc
|
||||
MISC metadata.xml 529 BLAKE2B 0ec409dc3a7e36902ec6f872d56922d45e2c44541ff017e4015327cae73c5841eb91bd8c6e06f65af193a85fba8b426ca389aba792c6ac58076f02e56a29e70a SHA512 4a5c899745028550e84baead6ead2f8448b39e711b0be9955c1f6b5eff68871d3733608e0edc699df407e30928e20fa8cd068c54ddec1680fe2cf44c1afa16aa
|
40
dev-python/dataclasses-json/dataclasses-json-0.6.3.ebuild
Normal file
40
dev-python/dataclasses-json/dataclasses-json-0.6.3.ebuild
Normal file
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Easily serialize dataclasses to and from JSON."
|
||||
HOMEPAGE="https://github.com/lidatong/dataclasses-json https://pypi.org/project/dataclasses-json/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND="dev-python/typing-inspect[${PYTHON_USEDEP}]
|
||||
dev-python/marshmallow[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# remove unsupported dynamic-versioning plugin
|
||||
sed 's/0.0.0/${PV}/g' -i pyproject.toml || die
|
||||
sed 's/, "poetry-dynamic-versioning"//g' -i pyproject.toml || die
|
||||
sed 's/poetry_dynamic_versioning.backend/poetry.core.masonry.api/g' -i pyproject.toml || die
|
||||
eapply_user
|
||||
}
|
16
dev-python/dataclasses-json/metadata.xml
Normal file
16
dev-python/dataclasses-json/metadata.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">dataclasses-json</remote-id>
|
||||
<remote-id type="github">lidatong/dataclasses-json</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>charles.dt.li@gmail.com</email>
|
||||
<name>Charles Li</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user