dev-python/voluptuous-serialize: remove olds, cleanup, enable pytest

This commit is contained in:
2022-10-18 01:32:10 +02:00
committed by Andreas Billmeier
parent 0f7f126a4a
commit 87ace346dd
4 changed files with 9 additions and 36 deletions

View File

@@ -547,14 +547,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 1453 Ebuilds in total, 1446 of them have in total 1456 (34 different) licenses assigned.
There are 1452 Ebuilds in total, 1445 of them have in total 1455 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|842|
|Apache-2.0|297|
|GPL-3|91|
|BSD|87|
|BSD|86|
|LGPL-3|22|
|GPL-2|19|
|all-rights-reserved|14|

View File

@@ -1,5 +1,3 @@
DIST voluptuous-serialize-2.4.0.tar.gz 3401 BLAKE2B a4c4e0496236a2e8f550c7fe6ca26bbfd24751d7f7ae391d88c355c7e96eb756447cdf275012ab09104d31a81d77f7bb2666f7463778001f5937905f67757e39 SHA512 5a96fe893f0f3450701366fd6bfa3f986847ab1e9952cb0eebc76d4ccf0f9a6aa84abf24b71c08e4c0850707d48d99551941184673c9592f58e8747e892c8ce0
DIST voluptuous-serialize-2.5.0.tar.gz 7450 BLAKE2B a61c17c5724243604695144e5b02c496058eba2b2cca553a96f6d234b0a1f4351f9d1fe0c2333cc97fde4695088960c3b10823f0df718cb1cf12f0f05b75c93d SHA512 566c2820673781a92ddcbd675944be878069d2f281c59f2e456777ba795cd0b3a115708bd602cf041b3d45ddfcae369f94e6cf8eac6ea348b9baf49c845e1418
EBUILD voluptuous-serialize-2.4.0.ebuild 615 BLAKE2B adfb2d4db547964cd4f5581da337fc8f8fddf5d976a6659d5d7ff4b7175167443b407d96d396f1df9fa79d86e8af6f0e6437f9863c1e624e7690b6af0d10cf53 SHA512 8ce402cb4c854ae186db90935b71bb5896d1ca527ca299eb1275ad0e2214ab9f4cd71c4af6d2fce35a95577c8e96914b9f9ea55f138fc222e0003038348f6318
EBUILD voluptuous-serialize-2.5.0.ebuild 776 BLAKE2B 7e5238f3d22b30979dfb5441211034054b79edeb035c3844ba8a9fb09c83954c588c54f1409a6c14416ee0684ab7041eb8353b086161c39d14e8b4d8c27aa504 SHA512 24556fbd6ab23ad90a9f86f5ae1248db62421e985c0d29c19cd996bdca2d4a6209ff63bc56c84bbb869bae20317edb613af489411529202bb3085b08391ece2f
EBUILD voluptuous-serialize-2.5.0.ebuild 728 BLAKE2B 795b551052a92a0855ee7fc75f6d4e0d37cdebefeb384450a0af68369e6c48823ed468010acdc180d53ab62f7d65b5380c24f08e31988abaa9b1f7c9a9bab99f SHA512 a9bdd7a22b8e6dff12a33a2149de78adc1becdb228b2d8d493080b6c10a9cc802e1469f483d61664e17cc54a852fe50b152db1d66f0a5a11c95bd0be6d5d57e5
MISC metadata.xml 474 BLAKE2B cb3272397ea311dd32a80cd901b8dc57c2bd05655ffa1ff770e94460f9c8279e834021ea125ad7f4251fec72c9a6abed4698038bf1d06c403cb33213bb68a563 SHA512 f871c528de5a28e73cd664302e966e9ecc4239fa2e24764bd86ce44f1d0d575c6586ee7c73d68dd2a793b59566759a91a153d675a1e019680a1cee6fd9fed912

View File

@@ -1,25 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Experiment to convert voluptuous schemas to JSON"
HOMEPAGE="https://github.com/balloob/voluptuous-serialize"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86 amd64-linux x86-linux"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=">=dev-python/voluptuous-0.11.1[${PYTHON_USEDEP}]"
python_test() {
unset PYTHONPATH
nosetests -v || die "Tests failed"
}

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@@ -13,21 +13,21 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS=""
DOCS="README.md"
RDEPEND="dev-python/voluptuous[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest