From ec318d59962e4ebb8bfa98291fca5d2cc44658d0 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sun, 10 Dec 2023 13:28:28 +0100 Subject: [PATCH] dev-python/vacuum-map-parser-roborock: new package, add 0.1.1 Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/2487 Signed-off-by: Andreas Billmeier --- README.md | 4 +- .../vacuum-map-parser-roborock/Manifest | 3 ++ .../vacuum-map-parser-roborock/metadata.xml | 16 ++++++++ .../vacuum-map-parser-roborock-0.1.1.ebuild | 37 +++++++++++++++++++ 4 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 dev-python/vacuum-map-parser-roborock/Manifest create mode 100644 dev-python/vacuum-map-parser-roborock/metadata.xml create mode 100644 dev-python/vacuum-map-parser-roborock/vacuum-map-parser-roborock-0.1.1.ebuild diff --git a/README.md b/README.md index d0b20557f..9b8cc0d03 100644 --- a/README.md +++ b/README.md @@ -612,12 +612,12 @@ 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 1707 Ebuilds in total, 1696 of them have in total 1716 (43 different) licenses assigned. +There are 1708 Ebuilds in total, 1697 of them have in total 1717 (43 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|995| -|Apache-2.0|362| +|Apache-2.0|363| |GPL-3|97| |BSD|96| |GPL-2|24| diff --git a/dev-python/vacuum-map-parser-roborock/Manifest b/dev-python/vacuum-map-parser-roborock/Manifest new file mode 100644 index 000000000..2e9b0c704 --- /dev/null +++ b/dev-python/vacuum-map-parser-roborock/Manifest @@ -0,0 +1,3 @@ +DIST vacuum_map_parser_roborock-0.1.1.tar.gz 14786 BLAKE2B 7c273a9d837a4449de2bc61c534c975234f614ea935f179c4e3cf50051f81288944fc0cd4c8787717c2aea5b9e66ae182472eea29470930f4a696eae1e3330fc SHA512 0e829b0309cdf5116860dec7c196f712b864a57707a524beb18d515e6509f463d68504ea1d7cb3bb330f0ccff1dfc71b1510c13ef5f9a9c2142477c21129e618 +EBUILD vacuum-map-parser-roborock-0.1.1.ebuild 832 BLAKE2B 9fc9288b472c9e64caa3e6b207a208ce80f433457004202527a4fc4637f4284226d7a35c5cf3a2b1285a108cc94c85cefc743a1acd11265eac7e983ab97bb39b SHA512 13b9617ecee41c6992abfeb2b1824ebbfbea1323d54ec57bb99278f62e36cf15c4a9112eaaa68f0a33831b64cc147a19a6e6886fc40f8be577d3e3c3903b784c +MISC metadata.xml 581 BLAKE2B 7601e8d34215bca1daeb2c64162e62678ff3d7188abc2a51e23fabfed8fcf761d20fd21aafc227668ee1ee35f4e1c646732860eddaaab03b3513b6763212e8fa SHA512 5121d24d715692026413f5d5397c1b396149a4b1ec864549f4bdc003bad7b254df5bda3baee5d31e275ccacc32e99cfa71c01033dd7a14c46679b5e717afac77 diff --git a/dev-python/vacuum-map-parser-roborock/metadata.xml b/dev-python/vacuum-map-parser-roborock/metadata.xml new file mode 100644 index 000000000..62b2d4799 --- /dev/null +++ b/dev-python/vacuum-map-parser-roborock/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + + vacuum-map-parser-roborock + PiotrMachowski/Python-package-vacuum-map-parser-roborock + + piotr.machowski.dev@gmail.com + Piotr Machowski + + + diff --git a/dev-python/vacuum-map-parser-roborock/vacuum-map-parser-roborock-0.1.1.ebuild b/dev-python/vacuum-map-parser-roborock/vacuum-map-parser-roborock-0.1.1.ebuild new file mode 100644 index 000000000..c73fc9a99 --- /dev/null +++ b/dev-python/vacuum-map-parser-roborock/vacuum-map-parser-roborock-0.1.1.ebuild @@ -0,0 +1,37 @@ +# 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="Functionalities for Roborock vacuum map parsing" +HOMEPAGE="https://github.com/PiotrMachowski/Python-package-vacuum-map-parser-roborock https://pypi.org/project/vacuum-map-parser-roborock/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest + +src_prepare() { + # remove unsupported dynamic-versioning plugin + sed 's/0.0.0/${PV}/g' -i pyproject.toml || die + eapply_user +}