Skip to content

Commit

Permalink
dev-python/pyopenweathermap: new package, add 0.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
onkelbeh committed Jun 16, 2024
1 parent 70d7554 commit 1d31212
Show file tree
Hide file tree
Showing 4 changed files with 47 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,11 +606,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 1895 Ebuilds in total, 1884 of them have in total 1907 (42 different) licenses assigned.
There are 1896 Ebuilds in total, 1885 of them have in total 1908 (42 different) licenses assigned.

|License| Ebuilds using it|
|-------|-----|
|MIT|1085|
|MIT|1086|
|Apache-2.0|427|
|GPL-3|110|
|BSD|108|
Expand Down
3 changes: 3 additions & 0 deletions dev-python/pyopenweathermap/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DIST pyopenweathermap-0.0.9.tar.gz 3798 BLAKE2B c548ad45b7e5a24afab30c0638c15e408d911d7f2ff7314f942db327cdef012609b92a484eb391c07aad73438184427bc01f6c7ad0843594bd7c03f31f8c32e8 SHA512 83871844b2c9c18ca0a5c41fa244def3508071996811be0590420964c40df0cc8a71448284841122b83566fdf91cd7d294a0c59e1d65283f78cdfcebb408cb89
EBUILD pyopenweathermap-0.0.9.ebuild 581 BLAKE2B 9858fe86acc1866f7166c8b382e1025e3f35dbe146f088de86b6fef6359b535f56c0ee2d8cb30d529538f2d7cd92a16407cb4454db87a3c24d67f975784c2355 SHA512 8e346684d573557fc2c90ed7cc73f3dc04e4f757af3ab7f607239bd420153f66613e1d8167a186cf2de6880b09d5806a8ace4ab30fe96509d5504afbf3e2bdfe
MISC metadata.xml 451 BLAKE2B 203d165021eb47c3646920282feba4a042cd46ef8f6f7c5d47b874bd4a8db9b3216a5f567adffb7c4255eb7bf0d27ced04756ae0b05a744f59b36aa4612e463c SHA512 1a0b33f25a7d55262c0918b71e88fbfd0aac0182c2253469655677acebfd25e44536ba34b7b45b3283fdc6f296c9fa392366a1bfda8951a16eacfe613fdc76e3
15 changes: 15 additions & 0 deletions dev-python/pyopenweathermap/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">pyopenweathermap</remote-id>
<maintainer status="unknown">
<email>[email protected]</email>
<name>Evgeny</name>
</maintainer>
</upstream>
</pkgmetadata>
27 changes: 27 additions & 0 deletions dev-python/pyopenweathermap/pyopenweathermap-0.0.9.ebuild
Original file line number Diff line number Diff line change
@@ -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_{11..13} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 pypi

DESCRIPTION="lib for OpenWeatherMap for Home Assistant"
HOMEPAGE="https://pypi.org/project/pyopenweathermap/"

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

DOCS="README.md"

RDEPEND=">=dev-python/aiohttp-3.9.5[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
)"

distutils_enable_tests pytest

0 comments on commit 1d31212

Please sign in to comment.