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

This commit is contained in:
2022-10-18 01:39:46 +02:00
committed by Andreas Billmeier
parent 9c51fc9d36
commit fa8e655230
4 changed files with 6 additions and 42 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 1452 Ebuilds in total, 1445 of them have in total 1455 (34 different) licenses assigned.
There are 1451 Ebuilds in total, 1444 of them have in total 1454 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|842|
|MIT|841|
|Apache-2.0|297|
|GPL-3|91|
|BSD|86|

View File

@@ -1,5 +1,3 @@
DIST whois-0.9.13.tar.gz 9161 BLAKE2B f4ffa19a248e30d420aa2f7f4e7eef174dfb0491c7e64d2661e1013ed96422e904a0c024ce1fd106450dfbb445b76c4879c0ed818beb6b3c87b10ffa889c6a60 SHA512 5ee37d239b616076049f9d25fe47a5e820dcb4ade6276792a217e284bccc8a4aa8f34a6727da3c0e620eb06c453f736fecb405237be61ad143ffbdc199c00b70
DIST whois-0.9.16.tar.gz 16864 BLAKE2B df0b2ad415611e0197a29fd73c9a300af44b775a14722cbc886bd3de82bce9bb2bb6e24f15b8299ff14bf7c874305d0d7996b82b84071bb0555757f0ee5e9210 SHA512 6295f773d05def5c873859612e1f56bf784a79409adac3513cfc01f154d5dddb4d64f565896ccffea6405e55b9077b2f5b1072d07656124650384c43bf2a9c4f
EBUILD whois-0.9.13-r1.ebuild 755 BLAKE2B 7bb1d5e1d761641e4ae9e8b98317a85cf7d6d991893d7d15a10d436827338ed787fcc9647967a154904ffe06e6d84345c1c3a39064f82bc9081b72c10d1ecceb SHA512 e262d4a79a5c4f478c0b8ac6fdbb6380cdd56b93a887ba9dd5221020e4ae9b31d7eb91b2061c10ed6b34e25c0ed1918d0595d04a3874f62ae0532784a767b4c8
EBUILD whois-0.9.16.ebuild 755 BLAKE2B 7bb1d5e1d761641e4ae9e8b98317a85cf7d6d991893d7d15a10d436827338ed787fcc9647967a154904ffe06e6d84345c1c3a39064f82bc9081b72c10d1ecceb SHA512 e262d4a79a5c4f478c0b8ac6fdbb6380cdd56b93a887ba9dd5221020e4ae9b31d7eb91b2061c10ed6b34e25c0ed1918d0595d04a3874f62ae0532784a767b4c8
EBUILD whois-0.9.16.ebuild 669 BLAKE2B 72dac12cd8830ba5183d9d7c5e8d723bcc4eba32ef8278b6159ac9d1bc02124f14a80af3b3e74f125509f944f1b5e8002eac868bb71e45958f7e9a97b593e378 SHA512 dfbefe6cad01d3b80b0e5994cd544e2e6ed9440430a6eeb59468d6806306db9f7e295234652668f352bf64a08811d438cd8ebce40e4efaca5d3907289d28259e
MISC metadata.xml 444 BLAKE2B 4a955ec6172dd6f44f6a91d14578ed2696c6bc87e72cae600d6b1639d1ea91f58a8c7cfa135f541dc3a14494114bd5fdfb7a2563752a6562d186a5fddb6cf50c SHA512 2bb4948f019c33faf2869b5bcc439442bdd028ab99396108aae04ca7c782990a69257dd67a6affcb69eeeda06583db8b520aaca828c2b3251db690a5986e3d91

View File

@@ -1,33 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Python package for retrieving WHOIS information of domains."
HOMEPAGE="https://github.com/DannyCork/python-whois/ https://pypi.org/project/whois/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
#DOCS="README.md"
RDEPEND="!dev-python/python-whois[${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
}

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@@ -19,15 +19,14 @@ RESTRICT="!test? ( test )"
#DOCS="README.md"
RDEPEND="!dev-python/python-whois[${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