dev-python/hko: new package, add 0.3.2

Closes: #2795
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-02-18 09:56:56 +01:00
parent d823c62fc2
commit 0450c8179a
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 48 additions and 2 deletions

View File

@ -617,11 +617,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 1780 Ebuilds in total, 1769 of them have in total 1788 (42 different) licenses assigned.
There are 1781 Ebuilds in total, 1770 of them have in total 1789 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1014|
|MIT|1015|
|Apache-2.0|393|
|GPL-3|118|
|BSD|101|

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

@ -0,0 +1,3 @@
DIST hko-0.3.2.tar.gz 3643 BLAKE2B bea0c2c8d52e5c6d93e8106c42a2fb16a1d77e478c1410de2a94c8909249cb36e3fc29d556ab0dac2cffca933c281d6ccff0c1659dc8b9ca4645f8597f1583a7 SHA512 554936530b6f5e7b493767a7465c0d1f753317fa4f228528a0edc98685db4a87da600c3cdf3017b45012e46d7315cac51955df7010931bc728f5be8a31d9fd19
EBUILD hko-0.3.2.ebuild 631 BLAKE2B 15df9e1b0936b8676df81d5bdd01a5fc810f8796ac1e3b0734c79b1f6bc3d269dff4e5539daa6116dd2f66b1618e821903e1182594485d0fa4cdd315cd872cec SHA512 27443094ef4f467b6823993dc18a6cd7113c149ccfbcb79f98a719fbd3620cde33d4cd2e90f663fb26e7ab5f482789519311bfe0a6bc799c98a02a8844a788ea
MISC metadata.xml 514 BLAKE2B 376bf2abbbc4e9a16505614dea55a42a508467b2c8ffa307912aa6947f6ef51cfb218c9a33863387f371d98a5c488677845b2058fac8ec7a18390f91b8c0ae30 SHA512 fb7315437f19fdb9b4cd07ee810a1ee0cacd59b8f57cb527b5c829f70de4cb9a11f69bdeffd4d7bd2768670f1bbd0198fc2921b97a336cb164332d0a230a389c

View File

@ -0,0 +1,27 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 pypi
DESCRIPTION="An unofficial Python wrapper for public API of Hong Kong Observatory"
HOMEPAGE="https://github.com/MisterCommand/python-hko https://pypi.org/project/hko/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest

View File

@ -0,0 +1,16 @@
<?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">hko</remote-id>
<remote-id type="github">MisterCommand/python-hko</remote-id>
<maintainer status="unknown">
<email>anthony.h@gmail.com</email>
<name>MisterCommand</name>
</maintainer>
</upstream>
</pkgmetadata>