dev-python/aiohttp-sse-client2: new package, add 0.3.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-10-19 11:32:37 +02:00
parent 1109bdabcb
commit 4fdb4fba56
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 55 additions and 4 deletions

View File

@ -606,12 +606,12 @@ 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 2015 Ebuilds in total, 2004 of them have in total 2032 (42 different) licenses assigned.
There are 2017 Ebuilds in total, 2006 of them have in total 2034 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1166|
|Apache-2.0|448|
|Apache-2.0|450|
|GPL-3|119|
|BSD|113|
|GPL-2|25|
@ -653,9 +653,9 @@ There are 2015 Ebuilds in total, 2004 of them have in total 2032 (42 different)
|GPL-2+|1|
|GPL-2-with-linking-exception|1|
(Last counted: 18/10/2024)
(Last counted: 19/10/2024)
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
A big thanks goes to Iris for reviewing this README.
Last updated: 18/10/2024
Last updated: 19/10/2024

View File

@ -0,0 +1,3 @@
DIST aiohttp-sse-client2-0.3.0.tar.gz 15027 BLAKE2B 69a0e4a34d9b806707fcf1b852f2676d91fa7fabcf89adabf198f4f797024352dc3135fc7922bc37326cd25e38cc38b3567e4c97414c97f045075e17907b2c21 SHA512 6bdf02849fe0d83eeaec90f608e08da0636c1997c26c980f74f6466b0725e504ac8e3a24d2613fe09a194a3518cc91aaff2efbea5b3b29cf211e806df6e9e493
EBUILD aiohttp-sse-client2-0.3.0.ebuild 816 BLAKE2B 4484cfc9146aa1b9fd0c1e5232143c7e84025d9831cb1fbacde9c332248111def6a6e43a981b3c169a642f7d168c8ebc6994acfc350f7ee316fe846329b237b5 SHA512 4c8461af8a51e4ae122e99179aeab42b1635551cbd610e9b2d71ed976bd82451bf662e29338d0eb31778bcf70b378a3d6cbde1fa362b94b6d2977dee8d2e254b
MISC metadata.xml 533 BLAKE2B f765b7908217150c3b1e2f725319fce21a19e6849fa38935b1aeb58158f62c3e1d87dd62ad7b41e289097a12b891793f482c0feda8c7d5992140ab3d3b019681 SHA512 ad9625d56584891e05868baaa23faa9f28347646bef214dcf88b17a8b6f6595651a511e2e437dabff84bdf5da6d1194589aad995f446c85fb145e243cf44259c

View File

@ -0,0 +1,32 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="A Server-Sent Event python client base on aiohttp"
HOMEPAGE="https://github.com/JelleZijlstra/aiohttp-sse-client2 https://pypi.org/project/aiohttp-sse-client2/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/multidict[${PYTHON_USEDEP}]
dev-python/yarl[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/pytest-runner[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest

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">aiohttp-sse-client2</remote-id>
<remote-id type="github">JelleZijlstra/aiohttp-sse-client2</remote-id>
<maintainer status="unknown">
<email>awaregit@gmail.com</email>
<name>Jason Hu</name>
</maintainer>
</upstream>
</pkgmetadata>