diff --git a/README.md b/README.md index c4957e7a5..d2367ae02 100644 --- a/README.md +++ b/README.md @@ -548,11 +548,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 1505 Ebuilds in total, 1498 of them have in total 1507 (34 different) licenses assigned. +There are 1506 Ebuilds in total, 1499 of them have in total 1508 (34 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|877| +|MIT|878| |Apache-2.0|304| |GPL-3|95| |BSD|88| diff --git a/dev-python/zamg/Manifest b/dev-python/zamg/Manifest new file mode 100644 index 000000000..75a96563d --- /dev/null +++ b/dev-python/zamg/Manifest @@ -0,0 +1,3 @@ +DIST zamg-0.1.1.tar.gz 6684 BLAKE2B 901b4282f9762304d6e23a1517ad38e2235784cb46bce96d9e4e96396b321ca4b60934eccee2fd1f9aaa148fe5efbcb3798de776534fc0f840927b1e0e824aff SHA512 3ccf3cf3928e1bd1bb2e365c17aea0720092f7a3e9f4f1913d8bdfc8d49c0f78c2a06a04cee86b41e11eb979ee718de2064e757db5ca3eb912215759e1727a12 +EBUILD zamg-0.1.1.ebuild 844 BLAKE2B 925aec4b72374129be9425f97e73c30c8b1277e714bba48425412e22aad431a393227f4537f5dd780b4f1ead6ab0f591283469fd40775c4dd9e5a94033162113 SHA512 66861b64802bd053133f4f0c5ee5843a074f67203d3d09b0dde1e608b82ec5a8486e7d197c295a68e18ce7a6dbecf14e63eb3335663a2ddc6346a58280fd4418 +MISC metadata.xml 445 BLAKE2B ec32ec964411ef9c46cd2ec73515712daa0649c2ec5cf314df5472fd6bbbff3069c77c0d85afa5a90557105ef2f2fcaee0dca88eada85b9c9c11273cb897b77e SHA512 6f2aeaf1553ee496e21a2c9a025b00faa6c7c8f56e0e20a2bbbe79d053563cc3808b5126da732f574359cd64eeae6babe78dabe3faa318c22da3abff1ee90397 diff --git a/dev-python/zamg/metadata.xml b/dev-python/zamg/metadata.xml new file mode 100644 index 000000000..048608b2b --- /dev/null +++ b/dev-python/zamg/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + zamg + + killer007@gmx.at + Daniel Gangl + + + diff --git a/dev-python/zamg/zamg-0.1.1.ebuild b/dev-python/zamg/zamg-0.1.1.ebuild new file mode 100644 index 000000000..739e1c86d --- /dev/null +++ b/dev-python/zamg/zamg-0.1.1.ebuild @@ -0,0 +1,36 @@ +# 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="Asynchronous Python client for ZAMG weather data." +HOMEPAGE="https://github.com/killer0071234/python-zamg https://pypi.org/project/zamg/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/aiohttp-3.8.0[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/aresponses[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest