Skip to content

Commit

Permalink
dev-python/nyt-games: new package, add 0.4.3
Browse files Browse the repository at this point in the history
Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/3895
Signed-off-by: Andreas Billmeier <b@edevau.net>
  • Loading branch information
onkelbeh committed Oct 22, 2024
1 parent e6926f8 commit 75f8b75
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -606,12 +606,12 @@ 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 2048 Ebuilds in total, 2037 of them have in total 2065 (42 different) licenses assigned.
There are 2049 Ebuilds in total, 2038 of them have in total 2066 (42 different) licenses assigned.

|License| Ebuilds using it|
|-------|-----|
|MIT|1188|
|Apache-2.0|458|
|Apache-2.0|459|
|GPL-3|124|
|BSD|110|
|LGPL-3|24|
Expand Down
3 changes: 3 additions & 0 deletions dev-python/nyt-games/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DIST nyt_games-0.4.3.tar.gz 6538 BLAKE2B 50eeaa8e4b5efe3972f6274218355044fd5fc909025b8310d1b096762c5bada4ab3e9da6799e8fd94f4ec5d8843b59f2c18b3c5e43d1a2d1dae04311344b0ac9 SHA512 78c98312b1cae8cf733842f0e318ea47f3c7babec60bd494a46f4577dad13b0f4fb527c913725146a0b4adfb2cf51772cf268adfc918bb5287f0575b803bfaf7
EBUILD nyt-games-0.4.3.ebuild 754 BLAKE2B 7ba458ef8b4aebfc9054461bb4a9f73fdde1cebdcd9067144b58390e9f75ec0b33abec550dd916146198cc5948e9d2e3a5814fb0b305d53935fe69e427063842 SHA512 d09cce906c92a7fdf41be2991cd11a6677257aea08bfbbf46d481db7ef4acdc3d203d591ce9ccd9e909eb2b341ce51c29a9fa9f5e38463cd16d04998f31eec1c
MISC metadata.xml 527 BLAKE2B 9217d8776f3a8a0a09c9ecf6a39d80c3f8bc4b97ce73138d6a39f9d175f3e3fb998a6b62ffb9b92592083b20ee483780fedc7e3b96e69b2d30a08844bc169d0a SHA512 c5628d8b0a4e7baf0ed60c5282cbb8f100e6cb22f4dbd6953c284c63254e77ab5cf3090b6a4b6f1b82f4bbb40ad247638b8c792b7e2a2cbb2439c1aa6241f161
16 changes: 16 additions & 0 deletions dev-python/nyt-games/metadata.xml
Original file line number Diff line number Diff line change
@@ -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">nyt-games</remote-id>
<remote-id type="github">joostlek/python-nyt-games</remote-id>
<maintainer status="unknown">
<email>joostlek@outlook.com</email>
<name>Joost Lekkerkerker</name>
</maintainer>
</upstream>
</pkgmetadata>
30 changes: 30 additions & 0 deletions dev-python/nyt-games/nyt-games-0.4.3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 pypi

DESCRIPTION="Asynchronous Python client for NYT games."
HOMEPAGE="https://github.com/joostlek/python-nyt-games https://pypi.org/project/nyt-games/"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"

DOCS="README.md"

RDEPEND=">=dev-python/aiohttp-3.0.0[${PYTHON_USEDEP}]
>=dev-python/yarl-1.6.0[${PYTHON_USEDEP}]
>=dev-python/mashumaro-3.11[${PYTHON_USEDEP}]
>=dev-python/orjson-3.9.0[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
)"

distutils_enable_tests pytest

0 comments on commit 75f8b75

Please sign in to comment.