dev-python/zamg: new package, add 0.1.1

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2022-10-30 18:17:58 +01:00 committed by Andreas Billmeier
parent 408da45a08
commit c2dfb6a785
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 56 additions and 2 deletions

View File

@ -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|

3
dev-python/zamg/Manifest Normal file
View File

@ -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

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">zamg</remote-id>
<maintainer status="unknown">
<email>killer007@gmx.at</email>
<name>Daniel Gangl</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -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