add ukrainealarm-0.0.1

This commit is contained in:
Andreas Billmeier 2022-05-09 18:34:15 +02:00 committed by Andreas Billmeier
parent a12a0b945b
commit 9c7a38660a
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 53 additions and 2 deletions

View File

@ -517,11 +517,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 1729 Ebuilds in total, 1722 of them have in total 1729 (35 different) licenses assigned.
There are 1730 Ebuilds in total, 1723 of them have in total 1730 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1053|
|MIT|1054|
|Apache-2.0|314|
|GPL-3|106|
|BSD|94|

View File

@ -0,0 +1,3 @@
DIST ukrainealarm-0.0.1.tar.gz 3524 BLAKE2B 7f366b2ab22ae749f1a7082f853650c0258bb9982677d17419686f1e966b42cb371e96e1e326b0aa628bcb9c8aff4ca575fee95e621f82c2f2169035009425d9 SHA512 2757bce78b91360616cb61d32794510ae2b0c5ba462aff4bbe6d3e01691de228dc06db8c814278b0e6c185fe01e629bea8ee4b60ac7fb68ccac272051884baae
EBUILD ukrainealarm-0.0.1.ebuild 817 BLAKE2B 029cd01d8d5e625b0e8603988323b6b3ce15ac55cc43799923c9e578b0592c611dde69b829276ba68c85b37195ceec2e7c48374a856ddab912eb3ebbe096240a SHA512 57a8db226b9f657aa2bde84981dc61ab0278503c4a8c313c7bda09efdbb0eb73bba6a7d64a37c5e0ab162eb5d45f86f9a4dbb89699cb49f22ddf272615aa23a6
MISC metadata.xml 460 BLAKE2B 8fa7e25368f41df3c95665a62cc9308de7ef9f0b679387be22b31ea1067fa4e5f627568a7c9640f42dcdf87033bbe1a165054c98d12438716679065f6f6038b1 SHA512 f2f7df93ee0336e20d2c1beb2207a842f2d70acf7d9b3e74e51cedeb3ab882d38515ce3b8862a698a7c014ee2b1f0c13511ac98e632203d2fcfd6e58e8269a64

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">ukrainealarm</remote-id>
<maintainer status="unknown">
<email>paul.annekov@gmail.com</email>
<name>Pavlo Annekov</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,33 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Implements api.ukrainealarm.com API that returns info about Ukraine air raid alarms."
HOMEPAGE="https://github.com/PaulAnnekov/ukrainealarm https://pypi.org/project/ukrainealarm/"
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.md"
RDEPEND=">=dev-python/aiohttp-3.8.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
}