dev-python/opensensemap-api: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-16 14:42:28 +02:00 committed by Andreas Billmeier
parent 00313738ac
commit c886eb6ac0
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 1584 Ebuilds in total, 1577 of them have in total 1589 (34 different) licenses assigned.
There are 1583 Ebuilds in total, 1576 of them have in total 1588 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|939|
|MIT|938|
|Apache-2.0|312|
|GPL-3|95|
|BSD|90|

View File

@ -1,5 +1,3 @@
DIST opensensemap-api-0.1.5.tar.gz 3812 BLAKE2B 22d3ef7f2f8c7eb15aff8967b84806b4d066dac896e6f735ec4af45ab34cd404d79b69653829a0e7d6f7b4d6c020aaab56a539c2934e70b52087200df9a7f076 SHA512 04f1a5806eae9b8791ebd89f3dc9e41e263f4e978bf66beedd49a4eb9c12788a2eabfd77114d5a4ff6bc4474f6efd01caf7825b2af34e2d08d06ff54e8e65271
DIST opensensemap-api-0.2.0.tar.gz 3973 BLAKE2B fa635f13290517f781d46a037192c7a1b6707f76b21d81b21185241310e26a1470cf7b1d1186dbd58c2256d0fceb2a235ccf3f65e96d8ea4fdad64e1f1dca342 SHA512 cf7361680de8b16f786b20c8d7a7b9d88813cd64f21cb3751368f6257d957b69ed2b2038aae970fe48a6904a1d31efc3e45552088f95f06bab29ec0473bfc41a
EBUILD opensensemap-api-0.1.5.ebuild 842 BLAKE2B 99a667c05355dd6dcbb3aa01a4e475db58208c299a5b89f2f8aacd298bcad87234a7439513ee3bf99bc07ee349b45a89ab3059cf945e130dca34653cea12614d SHA512 2dd03bc05e5665277a2475551173f7b32bb09cb26cbbba769027c9195d67ea360fe645b6a663d784008209d49720340d5622d80ee9fd8b55fccafcb0ee6fcf01
EBUILD opensensemap-api-0.2.0.ebuild 858 BLAKE2B 664170d51469358ab03cd0697cd871dc362ae88fc0123ea40e651ffc1b99d193d2a069e2b132b4f3d3fffcd0c12c04343bbb6ffce0e6a4d3ddff1028d9036eec SHA512 55397412c4b94ca076502f97d3be159d1cff6ef7662b6c277a1a8008d207759b2f42b2839ff335f818607b891ee561417a72b9a2d168846509a3563dc8bde24b
EBUILD opensensemap-api-0.2.0.ebuild 865 BLAKE2B 6aa8676d3eaab7c5a18e585ef9bbd0ad843e0b5b15950162043ee70bf4e5378c9a63062c6c2464bfa9ffbb70e6205bb80b6bca25046368679291ffc2fc3772d6 SHA512 05fb12dba44a8f540100c9a9bea8a021cb08cbdec36bbce5f92b6f8bbb9700144fc2759bdf0d2d1e98def5aeccb8ab9c756fd3cf7953d03ab12977a1e350a1a6
MISC metadata.xml 474 BLAKE2B 99632de4da0cf2007be4cb99aefd144b10f66b04c5f06d959074da4121dab16d841a542d4eb58cf6a787eaa4dc39598c405d05730e4537f78eb8c3dffdf30783 SHA512 aa9af6a5637f17e33475319e8d85fe17736171c764ec7e5acc3fc003246f78a9ac3d3a4efeeb70d87101665c01bd927c649b81329549da4921294425a6ed3661

View File

@ -1,34 +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="Python client for interacting with the openSenseMap API."
HOMEPAGE="https://github.com/fabaff/python-opensensemap-api https://pypi.org/project/opensensemap-api/"
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.rst"
RDEPEND=">=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}]
dev-python/async-timeout[${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