From 0dd025fae8f024937bc00adcc3f92a98f03acde7 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sun, 10 Dec 2023 13:46:16 +0100 Subject: [PATCH] dev-python/vehicle: add 2.2.1 Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/2481 Signed-off-by: Andreas Billmeier --- README.md | 4 +-- dev-python/vehicle/Manifest | 2 ++ dev-python/vehicle/vehicle-2.2.1.ebuild | 43 +++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 dev-python/vehicle/vehicle-2.2.1.ebuild diff --git a/README.md b/README.md index c357bc7bb..d2a1a6ce6 100644 --- a/README.md +++ b/README.md @@ -612,11 +612,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 1712 Ebuilds in total, 1701 of them have in total 1721 (43 different) licenses assigned. +There are 1713 Ebuilds in total, 1702 of them have in total 1722 (43 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|997| +|MIT|998| |Apache-2.0|363| |GPL-3|98| |BSD|96| diff --git a/dev-python/vehicle/Manifest b/dev-python/vehicle/Manifest index 9ea1c109a..f3e917158 100644 --- a/dev-python/vehicle/Manifest +++ b/dev-python/vehicle/Manifest @@ -1,5 +1,7 @@ DIST vehicle-1.0.1.tar.gz 10927 BLAKE2B 49932598fa32411e6ca9ccc31771c0239d30ad555bd7787aa5c2052f20b4447b753f65fa1566f471e6ff29c070c0e49d6e4fedb2cf116d1105774402b463cbbc SHA512 a878996dffaca0bf6d7a80eceab0c82f250b727980cd2cd8e9db699d1f9719b298a117b2a19cf7aa6442ac756d99e98fe8157f4c1ae4b8fbc34c4d5164dc42cb DIST vehicle-2.0.0.tar.gz 11033 BLAKE2B 41077f483368e19973115b48e98b2380a048635f387f0710d0f371b904e0814d5d7aed2f2d00452f0aae4e6ca9194eec0c32a4aba34e66ad5d202ddcfe37b03a SHA512 ebf3efdc3554376dfa6bfc4015c9ad765bc029112ed49b413e03da5aa229e6698350dead50b27df59c880db649746b6d29221cef0343f7a3c493360d4fedb8c5 +DIST vehicle-2.2.1.tar.gz 11326 BLAKE2B d56ef046a1f9ab183095d289ddbe22959a17a03e05aae402c4fdc6d720031950300069aa6c49208ecc21a1e71146b749be2980df77a5a6057d9beb5535b749f4 SHA512 0de627bfb08bcdba611def38b1826f3b6e2a938d7f4b4590f7239498ac0caf5351f73c7a929fb54847d7847381ed2e0149185cfbe03b4149e324cd5fc27e8b93 EBUILD vehicle-1.0.1.ebuild 930 BLAKE2B d20415016a0abed80235cc41d38709dc5124ce2b56338696fad40b92cce6bd919136ab9a4d6e26355dbef33f95a78c66e594d0aa9ee4f2d470e65f0c7adb0d3a SHA512 82b4f5464e3381a4350ec299d8d5995747fbab8adadf621d2c36482075c8cc56e057ed5af501014ab59138b50df7d07559fa39d624ef12e2f3fe6dda0b331a36 EBUILD vehicle-2.0.0.ebuild 930 BLAKE2B d20415016a0abed80235cc41d38709dc5124ce2b56338696fad40b92cce6bd919136ab9a4d6e26355dbef33f95a78c66e594d0aa9ee4f2d470e65f0c7adb0d3a SHA512 82b4f5464e3381a4350ec299d8d5995747fbab8adadf621d2c36482075c8cc56e057ed5af501014ab59138b50df7d07559fa39d624ef12e2f3fe6dda0b331a36 +EBUILD vehicle-2.2.1.ebuild 1097 BLAKE2B 01f721cfe8c37a3d12a41ff483724eb9c76d8317f566e7be701a25417992d2eb9256e007f0b3561434260fc799de8f31829859822bdf35d543d4ccde00c3f855 SHA512 6dc2d038ed772a5111259fff78313523a1e1d03a009cdd31157739facda24026707b8d478b46577ecbdee8eb4b6edde2d868ceae3380cdd02ab1908a69abf20c MISC metadata.xml 517 BLAKE2B bfe0fa304af55b10e6b2ad3b66b913c3d53b05bf967ff01488fe990c7a778fa4cd55e5cec30a981e9ba44b00547eaace83df3f4fd7f78368881034264422ac17 SHA512 a2f4941508982c6a63beac1e481de5e117684c7f223cb909fb6aa2ec8ce8ab13fa5cd49d721fc0de3216ef9707d727f1c4cbb2f007c15cb151c5ceb174ebabbc diff --git a/dev-python/vehicle/vehicle-2.2.1.ebuild b/dev-python/vehicle/vehicle-2.2.1.ebuild new file mode 100644 index 000000000..9324777cb --- /dev/null +++ b/dev-python/vehicle/vehicle-2.2.1.ebuild @@ -0,0 +1,43 @@ +# 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="Asynchronous Python client providing RDW vehicle information." +HOMEPAGE="https://github.com/frenck/python-vehicle https://pypi.org/project/vehicle/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/aiohttp-3.0.0[${PYTHON_USEDEP}] + >=dev-python/mashumaro-3.10[${PYTHON_USEDEP}] + >=dev-python/orjson-3.9.8[${PYTHON_USEDEP}] + >=dev-python/yarl-1.6.0[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/asynctest[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest + +src_prepare() { + # remove unsupported dynamic-versioning + sed 's/0.0.0/${PV}/g' -i pyproject.toml || die + eapply_user + }