add open-meteo-0.2.1
This commit is contained in:
3
dev-python/open-meteo/Manifest
Normal file
3
dev-python/open-meteo/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST open-meteo-0.2.1.tar.gz 13336 BLAKE2B c6787171fdaf4d8c4f742cf9c25fcb4a38ec4ea85b0f3b2c00820113380445ca3d15167a440463fcd4c014a2cb9391718bc49f802b92ec82784c1063f46aac39 SHA512 c957fff8225d7449fc672a982bcaf63a918570661547319a5c1aa7c619696ecb6371246e94a4e919dd3e95bb1ece2324f3bb097a0b3a2626312937fa6f4ba009
|
||||
EBUILD open-meteo-0.2.1.ebuild 908 BLAKE2B 0bf6a6f0c588ce794174d6bc44c09b35399c5da3b4ca525d7980e882a7b956aeabca7234babdc85e2e737da1a6cae2daf82273dc7846c2c1e87e81eb07ee84e1 SHA512 743abccb48d1f5849c32742db802e77c8bf0980630c2fdacbd7e29647544b5c2fc4aba939e72f6762d46a7a2b832d3d6de9a871e6e700d7a06f11b75af6072dc
|
||||
MISC metadata.xml 457 BLAKE2B 94f6f277883a998ab1d6c3374427ad4bef04ad4eda5d63c37657c26be22a5d7a87d79d37b48435c83e00a39911da60549dfd2ac9f804d288c99e929d00180189 SHA512 86dd9482368126b365cd722c708e1b54a64105218d7c8ec2d4335a78bd6d7e35490d692f70c357ae636b5e4ad162432231a2abff604709c61df1fe3c8625a8b2
|
||||
15
dev-python/open-meteo/metadata.xml
Normal file
15
dev-python/open-meteo/metadata.xml
Normal 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">open-meteo</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>opensource@frenck.dev</email>
|
||||
<name>Franck Nijhof</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
36
dev-python/open-meteo/open-meteo-0.2.1.ebuild
Normal file
36
dev-python/open-meteo/open-meteo-0.2.1.ebuild
Normal 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..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Asynchronous client for the Open-Meteo API."
|
||||
HOMEPAGE="https://github.com/frenck/python-open-meteo https://pypi.org/project/open-meteo/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/pydantic[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/aresponses[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
Reference in New Issue
Block a user