add uasiren-0.0.1

This commit is contained in:
Andreas Billmeier 2022-05-13 07:35:19 +02:00 committed by Andreas Billmeier
parent a501b4ca70
commit 278d5bf339
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 1731 Ebuilds in total, 1724 of them have in total 1731 (35 different) licenses assigned.
There are 1732 Ebuilds in total, 1725 of them have in total 1732 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1055|
|MIT|1056|
|Apache-2.0|314|
|GPL-3|106|
|BSD|94|

View File

@ -0,0 +1,3 @@
DIST uasiren-0.0.1.tar.gz 3546 BLAKE2B f19f65d8109d0c65bfdc8b319beb0d722149583662402e6650215ab90fd85d850b8af7f10122b6e084e742634611499c56329c4629339683397452ac6c57c52d SHA512 9a4684b78532c483ddbef85a6e55e45e1d63709d8d90dbd23ee89fbfc3660902c04476c9110e27c107bb3e2f28b066f108c8b28585926d7f3cf0aff1f2a90774
EBUILD uasiren-0.0.1.ebuild 844 BLAKE2B 2f01bbaa524781cd9665e375d550d057d18716c0c614b264400d49b5baa2d87a124b2be663ed8cadc4c1acc7a221605f9466354f0969f95ec775d83c2fb81ddd SHA512 220d325938dd0e26a2979785c422beb72917d7c00950cc37639788d7b73cf94003426f09d5c41927b7c5ed81973ba75790514a50283e89063aaa855b62f39fec
MISC metadata.xml 455 BLAKE2B ce0521373ac90c8d1b002c7e1492dbe26af52495a979d7b3fa088f649043dad8a09be35a379e989cbcc7c3d5fcf449ff9bb9537ec0c0fcbcd81d47e1bcee3632 SHA512 d8ef7d27944dd7dc547b1c90624e91549eb341017891c9938f730330240779da8a4c3d59581c946d036b51681b37f72a73d4be7e49c66b4ca4ec8ed61a0ed4b2

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">uasiren</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 siren.pp.ua API - public wrapper for api.ukrainealarm.com API that returns info about Ukraine air-raid alarms."
HOMEPAGE="https://github.com/PaulAnnekov/uasiren https://pypi.org/project/uasiren/"
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
}