dev-python/stdlib-list: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-18 00:09:44 +02:00 committed by Andreas Billmeier
parent 7cbf068e13
commit bb859380e0
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 45 deletions

View File

@ -547,11 +547,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 1479 Ebuilds in total, 1472 of them have in total 1482 (34 different) licenses assigned.
There are 1478 Ebuilds in total, 1471 of them have in total 1481 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|861|
|MIT|860|
|Apache-2.0|301|
|GPL-3|91|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST stdlib-list-0.7.0.tar.gz 70492 BLAKE2B afd31b55a921d422191427098b2da4d404b433f170105201f55f7da477ddb7d534239c9d7098a029b13f44600e31db7331b5b3c8273550e95695b647c1dd5512 SHA512 b33255b14b068d185b94d0944d65673cac507b49354627886a787b944ad2fe097238ad391803c7e7ae00d6c25e1a80dbb65875cd11c8b7aa2ad777cd2442a025
DIST stdlib-list-0.8.0.tar.gz 82752 BLAKE2B 3e83a444c9b27e76aae1be0a51c30e9fabe2791743d135eccf951a7dd30d95e2bd814c501587dc0d135dd157f0e172b7ac94d0f1f1dc41ae4d992e202745414a SHA512 0b6d890714353d00834dcf4c3e9b7f4c3de32245fe85c945cf16df9000af31dfee1b1f08de8cca729ffe5785058b0ab1a06efba7548c88883c4a9c4d2d4e1fb9
EBUILD stdlib-list-0.7.0.ebuild 741 BLAKE2B 5d6a9c65d4e295d8dfd68b44499710d1a93c603a038798bd474e89b63008798dbdcfbe629daea071f23ec7a39a89908e68f8224d4bfc87be461f58ef7d79a722 SHA512 39fcba15846cb8a3be38e23b659c48144ee0a97fae21f4723d81b922629c4ba5f0562822b20fc29fcbebcfbbee343bcd71895ed90f2a3f78671930e9775aa496
EBUILD stdlib-list-0.8.0.ebuild 745 BLAKE2B 3020360418f29f0d9ac16d5fc92d92cdd213fbffc39a08197af4e9f0f0f777d1a7cbac50d309378e7b94e50c94a39786143e3607c0d90aa1759aa2868ca0f372 SHA512 46c4407229fd363777b174f60233dc80b1d8968ca93e48e4dbb3ace2f69d31ee886e16a8c21605505b1f378723788eb6b4e2cd905e369536a6a5a3aa62c26f3d
EBUILD stdlib-list-0.7.0.ebuild 640 BLAKE2B f980a8419f4ccddab253e21c15a9a39e260214bd953b18039aa4e1dd2c987db64d5ed924f089f9210d5ce8ceeccc107b12d45b8f33dd5df82461244b8b2db62c SHA512 453a42e641df25307be26e44c830df81bcee7df42676cf361197bbdcde229faf82af39a597d7cb38af4956eeb7f74f064b52050ab5703e2fa35ff62f2b198935
MISC metadata.xml 453 BLAKE2B 7dd9f5393a1fa42fc83b6e052ed5872985057dda68d44eefb65081cfceb7d074ef33562f00562b8954711c68d78bf580d55d846640ecf6960e5d09dd972802bb SHA512 fa8490e778eb1ff796453a36454cfc715c6579d03a41df21c688e44acd02b15b7dbd0359a701720da22991ce914e31cf1bb6ab5deeebac5f2edf2cb810a5f8c6

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="7"
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@ -13,21 +13,18 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=""
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
}

View File

@ -1,33 +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="A list of Python Standard Libraries (2.6-7, 3.2-9)."
HOMEPAGE="https://github.com/jackmaney/python-stdlib-list https://pypi.org/project/stdlib-list/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=""
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
}