dev-python/apple_weatherkit: new package, add 1.0.4

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-10-11 20:00:14 +02:00 committed by Andreas Billmeier
parent 4b9253d5b0
commit 604bb43cf0
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST apple_weatherkit-1.0.4.tar.gz 3048 BLAKE2B 245f97bdfb3d8de3355a0a71228bf298d1c47de579fd941b1b2e83e7b0e15467b34dc49f449e3651d6332db8ca10149dd32b9e6141cdf22b26eb8b4d0cd33815 SHA512 7e907ee56d23020b0439424f9d60ca76a9aff2662d6b99ed162ff3481b2045e66e02323662069f5d123aee6b0d1ef5c05ee53df33e4eeaf786359dfb69afdb6b
EBUILD apple_weatherkit-1.0.4.ebuild 794 BLAKE2B a29dd551a139a52f356d958843569e49db245a4fab3b631942e9a4da43781a1c8c4bf42214ca7bf1c4d2e596a48ed56f02e3ddbbfe290b105447e9926bc628f4 SHA512 a53fc96b51e8488f7dff26f23bae0031397e1447f0b0c36d51a19580cb653b433389a40299f6b08d64f4bdfb5d18c84e88ff179a65a3dbdefd0e9219cf53bc9a
MISC metadata.xml 521 BLAKE2B 1a6df805792383b9009c07de3d9f187e9aec8cd1496b4e2815fc315b114a234bd07b595e3db3bdc183c0c95f5eace33efcccfae6d564d0cbe4d7ee26964d9a2d SHA512 2327f0aaa6f41c9c7be3a345b4899d4425fa183ad179c3753d1ffbd27f4ba83ef89dbba1a658e38a10a582809e593010561783746063ea6fdbbda077feb775a0

View File

@ -0,0 +1,34 @@
# Copyright 1999-2023 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="Python client for Apple WeatherKit API"
HOMEPAGE="https://github.com/tjhorner/python-weatherkit https://pypi.org/project/apple_weatherkit/"
#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.5[${PYTHON_USEDEP}]
>=dev-python/idna-2.0[${PYTHON_USEDEP}]
dev-python/multidict-4.0[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
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">apple_weatherkit</remote-id>
<remote-id type="github">tjhorner/python-weatherkit</remote-id>
<maintainer status="unknown">
<email>me@tjhorner.com</email>
<name>TJ Horner</name>
</maintainer>
</upstream>
</pkgmetadata>