dev-python/guppy3: remove olds, cleanup, enable pytest

This commit is contained in:
2022-10-16 09:22:29 +02:00
committed by Andreas Billmeier
parent eecbe72086
commit 57207c7c15
4 changed files with 8 additions and 42 deletions

View File

@@ -538,11 +538,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 1628 Ebuilds in total, 1621 of them have in total 1633 (35 different) licenses assigned.
There are 1627 Ebuilds in total, 1620 of them have in total 1632 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|966|
|MIT|965|
|Apache-2.0|317|
|GPL-3|98|
|BSD|94|

View File

@@ -1,5 +1,3 @@
DIST guppy3-3.1.0.tar.gz 334377 BLAKE2B d3386cdd3cc5be2cc827cbe7e89b57284ef059dd22dd362891f8be7a556e6dfac15d4d44091fd6a526f7a3126956f3275f115abce417493a03b6fde1c607667b SHA512 faa07af3d0b1a962425494e7550a051c37f02a95d356b5a03c44b69a9af520031863bdc3730145af357e4e1434106c686f39e72b12690610ce934123a599a1b4
DIST guppy3-3.1.2.tar.gz 335083 BLAKE2B 3fdd26c389111d9ded9664a714bc6179cb6e0528c15efa9a67ad73c1d16bf18638d00e3adc3e1d6658f2aefe3cd90ef50adf7a365bdf799fad483fbfbc683c3b SHA512 f449311b08353870de25bf1856ea69aa7d4f31d175b3c90e6f6fa88f99f2a35d94ac3b7464af2e8c6b9ee3e66535cc9d4316b2069ee707b9bea2cf9c3e896c99
EBUILD guppy3-3.1.0.ebuild 719 BLAKE2B 4067f2b75eb9b05d48d5a84f91e67f8d18f5216bd1eb3e421addabf58d895e5cb768b85e532d67bddc74a80d0c0b81df492e07a744086be9a839d437bd946bf5 SHA512 675816ccedd3eae07db58a6f1f824be990f1781c01b1f2b3cdd23111cfb2dfda540aca92318370420d93544fd003ed05c34289b98d563979ad5f666df97b1439
EBUILD guppy3-3.1.2.ebuild 717 BLAKE2B 1be10699a758cf274a92e16a2b41b6688e493028839106c264af0a14171fa289aa3fa4d5851ff29abbe5b670cbfe2a1de9ae0dd1b2ebaefb56048565e86f4451 SHA512 bb863c5b3167461e8dfcce9e09d86277897b31bae94386629876996c695c5e9ffc715f934f9973630ec98eb209576be2e103a1f2b5080d0cec4e2a36dc0264d5
EBUILD guppy3-3.1.2.ebuild 709 BLAKE2B 55118181c0c6427e335f037444b349c79670fb81403ace90d9aea6e5e3c5027f4884fd9eba4ed3a52b3b3cfd2d50f8bd9b67c491d770aa20d44af79fe9ede6cd SHA512 d9946616d803c6fe63a12358cbbf2b39726398601f8e056b45a24c07bf27935d91f5a707d291ab1966d36e224480cffd59a63c83f2bd26e1e398f9d810fd1420
MISC metadata.xml 450 BLAKE2B c9ddf6db3b8c69525d3145dc2653aeb542b1b3194e360d90c0a8c50dfb11ab85df42b902e4f387d6308bee8f32b22f2479cb0e4b98c0bf91dfe6c26a67429faf SHA512 b622736e950ba36137ef7c2c3a57f63d310f3148226968c5e388688754e92d6ac3095af32eeb3f76cb31b78a7911e52e371c836e5d527ec1c724df45c14e6985

View File

@@ -1,33 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Guppy 3 -- Guppy-PE ported to Python 3"
HOMEPAGE="https://github.com/zhuyifei1999/guppy3/ https://pypi.org/project/guppy3/"
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
}

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,13 +13,12 @@ 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? (
@@ -31,3 +30,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest