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

This commit is contained in:
Andreas Billmeier 2022-10-17 21:17:02 +02:00 committed by Andreas Billmeier
parent 8ff920ca4b
commit 5f597d5757
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 51 additions and 2 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 1515 Ebuilds in total, 1508 of them have in total 1519 (34 different) licenses assigned.
There are 1516 Ebuilds in total, 1509 of them have in total 1520 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|888|
|MIT|889|
|Apache-2.0|307|
|GPL-3|93|
|BSD|89|

View File

@ -0,0 +1,3 @@
DIST python-engineio-3.14.2.tar.gz 40741 BLAKE2B bd84ccb043479459390084cae8afb6d29906199c867484df6706bf88039e1f7eac2db7bb02d86fb671c6580f4988d83296315638ccad08ad2d611f920493dc06 SHA512 2af5b6b768a0e44037848b3e3bcd759e891270b3dbd476d8b29865a583a51ea694709788ff9c578d6602c67fd298301e191405ca5d063705db98eb58417a7bf7
EBUILD python-engineio-3.14.2.ebuild 844 BLAKE2B b8244affeb946529d57e71a6279decd1999adf5f460ca0e08ce3b3ea7fbf0a9201284f22143f3164864f74a8866b3c8bcd1d48b320d698abaefab348d043d55c SHA512 377e0c4ccdc06b7e201fae25e24fbd8debecf2419883657234becd41adaf4a7baf93057e06e57b142a4e2922053f8d7d2a2427b0314c592d3e333db98580b0e1
MISC metadata.xml 525 BLAKE2B 5579b1fda9b09d98653c33a7c97318a2127fce8fd0bc53f867d346ce73f1c4220a40c8ec36efe4e2a6115eb548fb32ff64cf9e0bd66424ef7bc1cd9452ecd40e SHA512 f45d23ce08d33c7ba78dce923ca6062086a2a14952a947e181faf0e0e3b28c8341becb4e7d613b53f62353f8f6de8cf0ebb313239e5bb68dc4b59d741873a811

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">python-engineio</remote-id>
<doc>https://pythonhosted.org/python-engineio/</doc>
<maintainer status="unknown">
<email>miguel.grinberg@gmail.com</email>
<name>Miguel Grinberg</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,30 @@
# 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 implementation of the Engine.IO realtime server."
HOMEPAGE="https://python-engineio.readthedocs.org/ https://github.com/miguelgrinberg/python-engineio/ https://pypi.org/project/python-engineio/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
DOCS="README.rst"
RDEPEND=">=dev-python/six-1.9.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.4[${PYTHON_USEDEP}]
>=dev-python/requests-2.21.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
# pypi tarball does not contain tests
RESTRICT="test"
python_test() {
esetup.py test || die "Tests failed under ${EPYTHON}"
}