diff --git a/dev-python/aioridwell/Manifest b/dev-python/aioridwell/Manifest index 69e2d8ef5..8796a7d38 100644 --- a/dev-python/aioridwell/Manifest +++ b/dev-python/aioridwell/Manifest @@ -1,3 +1,5 @@ DIST aioridwell-2023.1.0.tar.gz 12569 BLAKE2B 20a6c7b595cf9a2fca9adaa3c5cd12b0b5dc79644558a72915cb6f6cd25da994251b6996af62ab4a61e242baf6f24f886a8fbdd26b7528572c3ae0b4a22ef87a SHA512 f796611626e92dd4cf3e2c4520f1111391d6057b4c1bb79cdd1529de854a40e5af629f6286a9e0242aef13526e69a57f65749cbb23fadf475f48197f17257727 +DIST aioridwell-2023.7.0.tar.gz 11674 BLAKE2B 465c9db351224bd82758cd5e84ed846f0841b9d31b60f9c8b1f05ab14bc5816b9791c909d35683032d761dc6ddafa558b1d86551c56289e9573872ab555c1b64 SHA512 d1052c2277be542c3b6ca8115335c3e391824bfe03d73976c0b5e910fca0ee705b855d3b77d1cc8af9b201325a0ac6f2d336df039d06ad3a8c1200598ddbc0b9 EBUILD aioridwell-2023.1.0.ebuild 1027 BLAKE2B 07133e0ded33c2dbfd59c4a1c89e2bf9c4d6590ebdf5011142d052dcb46ad1f7487c07fddc23bb7e9ebc8c0c9fa183cf0d5d419468216d7b8edc072277ff67ff SHA512 09dc79c4e31ed31772b126d392a966918a6826a06bc7988a0743ca3d9757bab7c8e8b8c848d9233b04cba1e3330540dc2fc81e10a0153f5fece51c2d78701a9b +EBUILD aioridwell-2023.7.0.ebuild 1207 BLAKE2B 08e46b0c9f68f77a273df42f528b2778557c02a6fce064a5f1730b2b0f864c940b9ccbf115de63c395329b50dbdd002e71a1c4eddaf954404197d6851d5bf761 SHA512 4dee557ddfa246a845b541fa1f9c9dbfc260100b17f74899fffda5c8ee888773d70e8dd368f7aec9c2e542456c570f75e2dac7c4fec5e5501bcfc2f8f3430c8f MISC metadata.xml 512 BLAKE2B 9b74197b6684d13b83cab6083dac5e94d68345faa0e23dc31c414e3b37533a971f12506e1ce9a14a76869c3db2a21f1d661e9f24a2074b42ea33f1abdb5939d1 SHA512 2e7e2a545303a6044c0e4f6ac57a799c345af0e99b53d6284aac3742df22e5772abb157e390d1c09635a0057a3308fa2a5ae23ff6d34c4e035719852b74f7ba6 diff --git a/dev-python/aioridwell/aioridwell-2023.7.0.ebuild b/dev-python/aioridwell/aioridwell-2023.7.0.ebuild new file mode 100644 index 000000000..f49bd8bf7 --- /dev/null +++ b/dev-python/aioridwell/aioridwell-2023.7.0.ebuild @@ -0,0 +1,45 @@ +# 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="A Python3, asyncio-based API for interacting with Ridwell waste recycling" +HOMEPAGE="https://github.com/bachya/aioridwell https://pypi.org/project/aioridwell/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/pyjwt-2.4.0[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3.8.5[${PYTHON_USEDEP}] + >=dev-python/certifi-2023.7.22[${PYTHON_USEDEP}] + >=dev-python/titlecase-2.3[${PYTHON_USEDEP}] + >=dev-python/yarl-1.9.2[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/aresponses[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest + +src_prepare() { + # it will have to work with the current version + sed -i 's/3.9.0b0/3.8.5/g' pyproject.toml || die + eapply_user +}