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

This commit is contained in:
Andreas Billmeier 2022-10-17 23:36:34 +02:00 committed by Andreas Billmeier
parent 6753d97865
commit 5a0849ba7f
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 5 additions and 43 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 1489 Ebuilds in total, 1482 of them have in total 1493 (34 different) licenses assigned.
There are 1488 Ebuilds in total, 1481 of them have in total 1492 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|871|
|MIT|870|
|Apache-2.0|302|
|GPL-3|91|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST shodan-1.27.0.tar.gz 52507 BLAKE2B 945cfd6d356387dd6d280cb784ada184562ab9027ce95b3a5c28b41a7327f73ad300048fddb1821c10b5f9477e32824191e1a43606ca9dc2d157cc9e432de645 SHA512 0394a1d94bacc3c70035dc7ef37a34f4fe1ebed0791c7bd62b0f3b1981ff9844463766589cfa899e6485d7881378da11e3c3d4dfc9391902ca794b0efa85ff7f
DIST shodan-1.28.0.tar.gz 53522 BLAKE2B 01a1e42d91b3e3fcdad0622bcc235104420586caf22cbe6e42a217c59c90b989fd1e03c3765d533d20130a3b6909d721a6c05ec38c214940400dfcce57ea1090 SHA512 d79c6d3500dc618bbe79d0b8bba46f60638e68a83286a505a5598851d0158b1d29ce9904e38c57b63a25bff52a618aef7d781cbf85a0f5da6bad42cd140327a5
EBUILD shodan-1.27.0.ebuild 900 BLAKE2B 9199b299c7b175feafcf91f2dd922f3c12f56a2a1fbeb1564c7633925ef10de63b3b3a96216ae1546e6c7de2b48495e4340672a315e62374bc79455ce84d2718 SHA512 b94ddd8e6c468220399d0e83c13d24146a98279b8b0bc284eb39e4599d16dd3eff8c21cf4f98301cc9e6455892428a8f5e48d0eb47248b4c6bde3d271a92afd0
EBUILD shodan-1.28.0.ebuild 900 BLAKE2B 9199b299c7b175feafcf91f2dd922f3c12f56a2a1fbeb1564c7633925ef10de63b3b3a96216ae1546e6c7de2b48495e4340672a315e62374bc79455ce84d2718 SHA512 b94ddd8e6c468220399d0e83c13d24146a98279b8b0bc284eb39e4599d16dd3eff8c21cf4f98301cc9e6455892428a8f5e48d0eb47248b4c6bde3d271a92afd0
EBUILD shodan-1.28.0.ebuild 867 BLAKE2B e8bc693ac289aa65a22b6fe493fcc1c80c646cacfef70a13154f6e246cc2833e79c22982c50a93fd02dbc556eea1bc7acb212b27ba03d2a2097c28296597d2da SHA512 4fa153dc3a880cb5a82f5d75874f3b8a7574fabc3b5d3e15f6e79c8f5d899e1e5156f7af979ebcbcff9841ea9140abb6a912872308d7673cff8cdfcb56c28dc9
MISC metadata.xml 447 BLAKE2B 2581c7f6bd7a31b7387145dfca7a0defb2880089ecee4ae4da33d3fbad255dd57d8464bcc98ddd693761c1123fb33bbd253b6625df3f92209a4833ea0312e8d5 SHA512 d726f28c5bbf92acb7741d79b97ca548dea743d0dd453a9cd1b1b90edc46d3b53e532664400eac94fb169e0ea316b2f2daa442399304d6089a5da1e324639252

View File

@ -1,36 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Python library and command-line utility for Shodan (https://developer.shodan.io)"
HOMEPAGE="https://github.com/achillean/shodan-python/ https://pypi.org/project/shodan/"
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.rst"
RDEPEND="dev-python/click[${PYTHON_USEDEP}]
dev-python/click-plugins[${PYTHON_USEDEP}]
dev-python/colorama[${PYTHON_USEDEP}]
>=dev-python/requests-2.2.1[${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

@ -26,11 +26,11 @@ RDEPEND="dev-python/click[${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