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

This commit is contained in:
Andreas Billmeier 2022-10-17 06:20:03 +02:00 committed by Andreas Billmeier
parent 78d9cec7fd
commit 4f5621daca
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 41 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 1539 Ebuilds in total, 1532 of them have in total 1544 (34 different) licenses assigned.
There are 1538 Ebuilds in total, 1531 of them have in total 1543 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|904|
|MIT|903|
|Apache-2.0|308|
|GPL-3|93|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST pynws-1.3.2.tar.gz 9428 BLAKE2B 7efbad182b7de9f621c6a87cc91a81d73fbb890ad204cb1037d7b25e0cdcdd7899c7c64c36130ae1c4600781743e9ea429e18e72e75ad8e018157402a65c8196 SHA512 c17cfd80bd1e3bb3583d8eeca5187bbef870d1554ff1299c3789f258c92e2784affc065066ddf898f263bff6da531a149076174595258d631f94bdde027ce34b
DIST pynws-1.4.1.tar.gz 13581 BLAKE2B 4a46c073e2d2f0ccd681a2b4721654815e58b3ece08d2232005578001072b5f255767044197b8680c43e6372e10fb1c6c90d0c9079738a1c9481c9c9c8ea90ca SHA512 a843b70353763baf358ebd8a1ad6f53f4caffeb04b905b518b3316c28422a48b8f32f8138385ffd3250bd32724f0be565d56aaed60ecb872759fde1a02fc73e9
EBUILD pynws-1.3.2.ebuild 818 BLAKE2B 08c71e14c5fe0b63f8ecc17eb8c43c02375af556092850f55e30e0e4fdc00762cb260f7dd392e14f7107c44a9b46664d48ed07876e0d91401fa368ae91e68308 SHA512 80914b04b1b097cafdfbeae4cc4fa6d333c3dd10f58bbf9b8103b0036f0c876423c184e81a61a7ad0d9495e604d45a8d74e19faf979c5b7013c77c60ec7f5515
EBUILD pynws-1.4.1.ebuild 818 BLAKE2B 4c1c1bfc36df0780e34c48a2a4ff5b9eb6de66e80ccb4c0b211ba8f79eb5cb716caee7f5772af675d8be9dd4ea184b57c81500b53aa503d4c2a2bac0a8a63f27 SHA512 1c4e6dc1c9a6b1c715975306ed1a2361fd0166973b7483c5394bbf1533efd23925b70f4edab747b995796ff8a20973b8e856dd055c528ac74d6fff5337b23355
EBUILD pynws-1.4.1.ebuild 825 BLAKE2B 6bfc7ef0261b339f77672c47be91396f4ab8ccaae8f9ddc6ec6ee541b32cb7c0e398d5de81a60fa3796368199df5c58b10515969c69366d886437b1046497a3a SHA512 72440171fceac8b8542595916a636a4916663d00e9f35c67f738266b83cbad4693a5f250548eed20f4a71227bb1c3307a2173747fb3a4a74b87d69a5460f68c0
MISC metadata.xml 454 BLAKE2B 27091f845abce336c7701e56a7892c1493751d39c3c728c135bf8f55ae2ed1b310214242acaae39685d753514e3f8d780fdfa6ec4649f3ae134da529f48deec9 SHA512 b83d847ade88e8fe9ac0485d5fcfce27e6e3e36c0f546e60da509a9b96a2a043d0431c399b9374e0bd1cf0c364055c961ccc97ff572c0565ba608ead6c60dbae

View File

@ -1,34 +0,0 @@
# Copyright 1999-2021 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 library to retrieve observations and forecasts from NWS/NOAA"
HOMEPAGE="https://github.com/MatthewFlamm/pynws https://pypi.org/project/pynws/"
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="dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/python-metar[${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
@ -13,7 +13,7 @@ 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 )"
@ -32,3 +32,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest