re-add voluptuous-0.12.2 (from main), fixes #276

This commit is contained in:
Andreas Billmeier 2022-05-06 21:31:56 +02:00 committed by Andreas Billmeier
parent a9b2e3cb7b
commit af177283c8
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
5 changed files with 56 additions and 2 deletions

View File

@ -506,14 +506,14 @@ 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 1731 Ebuilds in total, 1724 of them have in total 1728 (35 different) licenses assigned.
There are 1732 Ebuilds in total, 1725 of them have in total 1729 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1050|
|Apache-2.0|318|
|GPL-3|106|
|BSD|92|
|BSD|93|
|LGPL-3|28|
|GPL-2|22|
|LGPL-3+|16|

View File

@ -0,0 +1,4 @@
AUX voluptuous-0.11.5-fix-doctest.patch 193 BLAKE2B 7880210f220cc65a4ac3692da728fe607e2accea6722232dd0bbef2fcc29187e661afb326741caa0d47f9dc96b6b5bb1cfcd064019dae66636054e1b2704f01f SHA512 d261e24685e551de96cdd68e1e0090aa639198f2647ad5d68f7d0d45b834ede99c52e5439ed0b41f3271aaf934519105c8e0820ead288b1748b18b0ee734e977
DIST voluptuous-0.12.2.tar.gz 48477 BLAKE2B c1cc26b3ac87bcd357d522c8a5210397f1a16e68f812727f2e8ab18c6731d12a04c2e9a96735e25926854eb378feaaeb8bafc083f394b7e9c2dfa2a503abeeb9 SHA512 86193294c1c6a593f6556f23a9a2c093690a06cbdabb7e268db135e36af6a15c113e78f3e05d000276b6ff54b8e17a0a01d589e9232da9eb5320500fdb5757e1
EBUILD voluptuous-0.12.2.ebuild 536 BLAKE2B 04f57c2f4664acbe66e367a89382fe5435a41793057485cc0320c0db426b199b7fea8261af7288cfdb265833c5025e1b5e8651a9b2c764761573028990f7e81a SHA512 715d8bd22fe9b3ed4b535e643f890ba70c7cac4b4d2871368585a1a66ab9d18fa4a56746de9f39ca5ca5b362729d4308ed2d99ac707d823be7399b50f942d4e8
MISC metadata.xml 716 BLAKE2B 1298492f8a89ce4babc23481dc56da06e4d9007546ed2804fdf42906f6d90d3b1327ee2d54724fa3621a387429544931d30a0334312a68a17edaeba735c9d7b8 SHA512 80636ea29257b1ff070427dc759f9d0abf02ba2037676725627308c69a1e9bc49353c09507523a739c3f07a4cb284e2df76d3935f4f9dadb64005ad7204ddf60

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,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>prometheanfire@gentoo.org</email>
<name>Matthew Thode</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<longdescription lang="en">
Voluptuous, despite the name, is a Python data validation library. It is primarily intended for validating data coming into Python as JSON, YAML, etc.
</longdescription>
<stabilize-allarches/>
<upstream>
<remote-id type="github">alecthomas/voluptuous</remote-id>
<remote-id type="pypi">voluptuous</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,19 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="A Python data validation library"
HOMEPAGE="https://github.com/alecthomas/voluptuous"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
PATCHES=( "${FILESDIR}"/${PN}-0.11.5-fix-doctest.patch )
distutils_enable_tests nose