dev-python/voluptuous: new package, add 0.13.1-r1

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2023-12-10 15:57:28 +01:00
committed by Andreas Billmeier
parent 0dd045494b
commit 32f52c6ea5
5 changed files with 59 additions and 2 deletions

View File

@@ -612,14 +612,14 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses ## 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. 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 1758 Ebuilds in total, 1747 of them have in total 1768 (43 different) licenses assigned. There are 1759 Ebuilds in total, 1748 of them have in total 1769 (43 different) licenses assigned.
|License| Ebuilds using it| |License| Ebuilds using it|
|-------|-----| |-------|-----|
|MIT|1027| |MIT|1027|
|Apache-2.0|368| |Apache-2.0|368|
|GPL-3|106| |GPL-3|106|
|BSD|99| |BSD|100|
|GPL-2|24| |GPL-2|24|
|LGPL-3|24| |LGPL-3|24|
|all-rights-reserved|15| |all-rights-reserved|15|

View File

@@ -0,0 +1,4 @@
AUX voluptuous-0.11.5-fix-doctest.patch 193 BLAKE2B 7880210f220cc65a4ac3692da728fe607e2accea6722232dd0bbef2fcc29187e661afb326741caa0d47f9dc96b6b5bb1cfcd064019dae66636054e1b2704f01f SHA512 d261e24685e551de96cdd68e1e0090aa639198f2647ad5d68f7d0d45b834ede99c52e5439ed0b41f3271aaf934519105c8e0820ead288b1748b18b0ee734e977
DIST voluptuous-0.13.1.gh.tar.gz 42466 BLAKE2B ee66abe131d5ed6f49fb6ecc0227c6108617cadc694132826c88abf33b83538db1c97d38451983d2fb1191d5e7066491194fb01399e920b21a9e75d54df2d3fa SHA512 874960bdd3fce213e46f8017fbc56ede02133de6f8cb439d810db38ca06d9c5fcf5496150ef4c73fd19d9e06489ba08a510fd96aa16b8825564a52fd01cc3f4f
EBUILD voluptuous-0.13.1-r1.ebuild 543 BLAKE2B b2fb74005a4ee215fcc13752b9aae8c2fcc40bd3ddb360d07c2d198b7d0549123db51daecd54b8523c7583d5c46269c0072ebaec5b9a233669c8a66aa7edddc7 SHA512 0238faa4b6fc639d745f075cb357f9a4cdb7375df06f44663e7adc0437f88dc21d16eef31b4b914e5016acb92320668ed16eca132460dd8fad7296c7cf8e8fa5
MISC metadata.xml 513 BLAKE2B 6f3af2fc470a8b2fcaef02a267a05b34df3018659e1970478d0cde6f8b8ed189fd21390d73e774844de3ceb682eb06ab4eabbef11abba80a29e823a3810bcb13 SHA512 e7001419b7003c471351ac697e0033ffc4ea8433e549f7bee0eba5d2316948ab9d204acaf407f8e8a8bcea5eaab4d8349c08e2b93f39efd56f5e037d79deae2b

View File

@@ -0,0 +1,11 @@
--- a/voluptuous/util.py
+++ b/voluptuous/util.py
@@ -87,7 +87,7 @@
>>> s = Schema(validators.Any(int, SetTo(42)))
>>> s(2)
2
- >>> s("foo")
+ >>> s(42)
42
"""

View 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">voluptuous</remote-id>
<remote-id type="github">alecthomas/voluptuous</remote-id>
<maintainer status="unknown">
<email>alec@swapoff.org</email>
<name>Alec Thomas</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,26 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="A Python data validation library"
HOMEPAGE="https://github.com/alecthomas/voluptuous/"
SRC_URI="
https://github.com/alecthomas/voluptuous/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
PATCHES=(
"${FILESDIR}"/${PN}-0.11.5-fix-doctest.patch
)
distutils_enable_tests pytest