dev-python/Events: new package, add 0.4

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2022-10-30 17:43:12 +01:00 committed by Andreas Billmeier
parent 1ee7fe57c6
commit 7d99226fa7
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 53 additions and 3 deletions

View File

@ -548,14 +548,14 @@ 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 1495 Ebuilds in total, 1488 of them have in total 1497 (34 different) licenses assigned.
There are 1497 Ebuilds in total, 1490 of them have in total 1499 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|872|
|MIT|873|
|Apache-2.0|302|
|GPL-3|93|
|BSD|87|
|BSD|88|
|LGPL-3|23|
|GPL-2|19|
|GPL-3+|14|

View File

@ -0,0 +1,32 @@
# 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="Bringing the elegance of C# EventHandler to Python"
HOMEPAGE="http://github.com/pyeve/events https://pypi.org/project/Events/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest

View File

@ -0,0 +1,3 @@
DIST Events-0.4.tar.gz 5558 BLAKE2B 61ee7427f06ca69ff301c877ad4a53cb8dfa2fd74aa9436af5ca7efe6773b7049d951d705b06c41295eb1a11b023566a66a84984ef1c97a00df7f2411ec11228 SHA512 3c0bed23d02b7c737bb034573ff04dab0ce7016aa2c738f6054f56703aacfed7fb5f1e713a7849c2d7c149f7108ac97827f70c01ef99076caa8c027949cbca9b
EBUILD Events-0.4.ebuild 649 BLAKE2B a8e4a6980aa654e5daca9cc0e4e5f853225091077a36fbbcd9beb08381062cb3f8c9ca3df6d268711d4245cf94db09a3b3973d55fbed5311269cbf6304361a49 SHA512 978102c5975c46265cba3127555b76b9787b7fdf936a1d4e6f98198c643d25fc78080f75c41740ce5b53d3bb14484281748d8cb708c6ddc4aa265bf6957eefbe
MISC metadata.xml 457 BLAKE2B 297113506c7754e622304734a27665380572ab0bfaa48dc6dbc111271c39388691d2d4108f6a8006428efbb412cbdfc18013f9597debaaae6dbe68921b81d4e9 SHA512 306e78f7102381f08cd42bd00ca268926f1747b98527a4da2e44c83c606905271c2152cf429ae0de6156406817bec6975a9d0e7661939b2acd4b079c79724034

View File

@ -0,0 +1,15 @@
<?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">Events</remote-id>
<maintainer status="unknown">
<email>nicola@nicolaiarocci.com</email>
<name>Nicola Iarocci</name>
</maintainer>
</upstream>
</pkgmetadata>