diff --git a/dev-python/apple_weatherkit/Manifest b/dev-python/apple_weatherkit/Manifest new file mode 100644 index 000000000..11055e16e --- /dev/null +++ b/dev-python/apple_weatherkit/Manifest @@ -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 diff --git a/dev-python/apple_weatherkit/apple_weatherkit-1.0.4.ebuild b/dev-python/apple_weatherkit/apple_weatherkit-1.0.4.ebuild new file mode 100644 index 000000000..8a8ece073 --- /dev/null +++ b/dev-python/apple_weatherkit/apple_weatherkit-1.0.4.ebuild @@ -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 diff --git a/dev-python/apple_weatherkit/metadata.xml b/dev-python/apple_weatherkit/metadata.xml new file mode 100644 index 000000000..12511248f --- /dev/null +++ b/dev-python/apple_weatherkit/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + + apple_weatherkit + tjhorner/python-weatherkit + + me@tjhorner.com + TJ Horner + + +