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

This commit is contained in:
Andreas Billmeier 2022-10-16 07:55:53 +02:00 committed by Andreas Billmeier
parent 54629d1566
commit dc955d8b33
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 5 additions and 39 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 1644 Ebuilds in total, 1637 of them have in total 1649 (35 different) licenses assigned.
There are 1643 Ebuilds in total, 1636 of them have in total 1648 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|976|
|MIT|975|
|Apache-2.0|321|
|GPL-3|99|
|BSD|94|

View File

@ -1,5 +1,3 @@
DIST enturclient-0.2.3.tar.gz 8456 BLAKE2B 84df2383e2106957993f27d9dc3d5e8a87a39328ac01515991aff7278ce840a668599e0ea791c55e0e616a0c5fdef452dfd613e353289c6f88858caf5a0e3296 SHA512 8a85cab95fb42ff99280543010419432860effb28cb12e01ba4f2772c5c98771a3abe9f800d559c1c11e3c222df098e31277397d679e1438f5cd4e2374a9e66b
DIST enturclient-0.2.4.tar.gz 8452 BLAKE2B 9c0564fa55d18764c87341fcf8b41f7d20239807a3372574642ba3593788ca5a2cd1401f7006e551d17543e7f036f063ded42e718e3419301e7835e83fb2b1ec SHA512 5ef12113c6ee99bf41441717c2b7c3a077bd619dd9d6919bb95444563f29ca7fccd38108fa11075bf920a6554c36b50fb7c385819d6a17bbe83420b7e8639aea
EBUILD enturclient-0.2.3.ebuild 806 BLAKE2B 8641a7f9d861efa71fabfed41a16763b4a8b143838371cb83600958f1bc27e67fcbdf4a26f531b51bc61eb0fffc69558449ac9c0da3faa2c256883301dbe1c60 SHA512 61eab7887fab3c6bdb7236ad1ba837817d248a0b8385c027b8bdb6570adc37e8be12e8f0802b2c88e2273602c43cc532142982e1e72cc402b316c4db55f52a7f
EBUILD enturclient-0.2.4.ebuild 806 BLAKE2B 8641a7f9d861efa71fabfed41a16763b4a8b143838371cb83600958f1bc27e67fcbdf4a26f531b51bc61eb0fffc69558449ac9c0da3faa2c256883301dbe1c60 SHA512 61eab7887fab3c6bdb7236ad1ba837817d248a0b8385c027b8bdb6570adc37e8be12e8f0802b2c88e2273602c43cc532142982e1e72cc402b316c4db55f52a7f
EBUILD enturclient-0.2.4.ebuild 837 BLAKE2B b91e0557050909324d379698efbe890a1ce07514191fc612349ede0619775769fe5451ed27f2ed00155995fc561840ed795b2cb9ae1911a911fd280627d2f6ec SHA512 8fbb71746482a3be478a51cd3ed9685faa1a92f766e72739c421baa05377b5826c9a9d2f6ba70c33746579b86dd032944b3505b32edaf02890dd334e769411bb
MISC metadata.xml 476 BLAKE2B 8e7b89cfcdd65ae7782e14c0630d33738a641a601dc630db4319cca69a94cb35b37290223a6113026b484cb4a3e3ce9d8096d4f5b9f60b684109c9806948c6b9 SHA512 b973beb8c5514c2ed3e1b6be9b6135e1c2fd6d3ee4530b37072d22acfededd2f46e5786a906a8c6f59b4df5dfb84c2a60931e85948c61c50db37642b7bc16ddb

View File

@ -1,34 +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="An API client for public transport data from Entur."
HOMEPAGE="https://github.com/hfurubotten/enturclient https://pypi.org/project/enturclient/"
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/aiohttp-3.7.4[${PYTHON_USEDEP}]
>=dev-python/async-timeout-3.0.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

@ -32,3 +32,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest