From 716a936bf8bab52db06d09390ced4878eb6cf609 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Thu, 6 Oct 2022 01:12:11 +0200 Subject: [PATCH] add uModbus-1.0.4 add nibe-0.5.0 add connio-0.2.0 add async-modbus-0.2.1 --- README.md | 10 ++--- dev-python/async-modbus/Manifest | 3 ++ .../async-modbus/async-modbus-0.2.1.ebuild | 42 +++++++++++++++++++ dev-python/async-modbus/metadata.xml | 15 +++++++ dev-python/connio/Manifest | 3 ++ dev-python/connio/connio-0.2.0.ebuild | 35 ++++++++++++++++ dev-python/connio/metadata.xml | 15 +++++++ dev-python/nibe/Manifest | 3 ++ dev-python/nibe/metadata.xml | 15 +++++++ dev-python/nibe/nibe-0.5.0.ebuild | 37 ++++++++++++++++ dev-python/uModbus/Manifest | 3 ++ dev-python/uModbus/metadata.xml | 15 +++++++ dev-python/uModbus/uModbus-1.0.4.ebuild | 35 ++++++++++++++++ 13 files changed, 226 insertions(+), 5 deletions(-) create mode 100644 dev-python/async-modbus/Manifest create mode 100644 dev-python/async-modbus/async-modbus-0.2.1.ebuild create mode 100644 dev-python/async-modbus/metadata.xml create mode 100644 dev-python/connio/Manifest create mode 100644 dev-python/connio/connio-0.2.0.ebuild create mode 100644 dev-python/connio/metadata.xml create mode 100644 dev-python/nibe/Manifest create mode 100644 dev-python/nibe/metadata.xml create mode 100644 dev-python/nibe/nibe-0.5.0.ebuild create mode 100644 dev-python/uModbus/Manifest create mode 100644 dev-python/uModbus/metadata.xml create mode 100644 dev-python/uModbus/uModbus-1.0.4.ebuild diff --git a/README.md b/README.md index 62eb05f69..38ed00121 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ These are the USE Flags I use in production myself. All will compile fine and ar [![emerge ha-med](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-med.yml/badge.svg?branch=master)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-med.yml) -The Ebuild we have since `0.97.0`, as soon as I know that at least one user is actively using a component, it will be added. These all compile fine, but some version conflicts could occure, a daily compilation test is run at Github, big thanks to @antonfischl1980, It currently holds **292** USE Flags. +The Ebuild we have since `0.97.0`, as soon as I know that at least one user is actively using a component, it will be added. These all compile fine, but some version conflicts could occure, a daily compilation test is run at Github, big thanks to @antonfischl1980, It currently holds **293** USE Flags. ### `app-misc/homeassistant-full` @@ -538,15 +538,15 @@ 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 1914 Ebuilds in total, 1907 of them have in total 1919 (35 different) licenses assigned. +There are 1918 Ebuilds in total, 1911 of them have in total 1923 (35 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|1154| |Apache-2.0|363| -|GPL-3|119| +|GPL-3|121| |BSD|106| -|LGPL-3|29| +|LGPL-3|30| |GPL-2|25| |LGPL-3+|17| |GPL-3+|16| @@ -557,6 +557,7 @@ There are 1914 Ebuilds in total, 1907 of them have in total 1919 (35 different) |EPL-1.0|5| |LGPL-2.1+|4| |public-domain|4| +|MPL-2.0|3| |LGPL-2+|3| |BSD-4|3| |GPL-2+|3| @@ -566,7 +567,6 @@ There are 1914 Ebuilds in total, 1907 of them have in total 1919 (35 different) |NEWLIB|2| |CC-BY-NC-SA-3.0|2| |PSF-2|2| -|MPL-2.0|2| |EPL-2.0|2| |ECL-2.0|1| |Boost-1.0|1| diff --git a/dev-python/async-modbus/Manifest b/dev-python/async-modbus/Manifest new file mode 100644 index 000000000..3711b86ba --- /dev/null +++ b/dev-python/async-modbus/Manifest @@ -0,0 +1,3 @@ +DIST async-modbus-0.2.1.gh.tar.gz 11475 BLAKE2B 85d9fa4840a6a07fbe483b2ada2135b5f1f1dffe439a9493297ee67eef718f5a412fbeebefd671a5c0a4349e61ba8f1c1bd515a1b7e1f9c3e4bb2841c89f0ed5 SHA512 06698a0e73a12a8747f8ee67d174ecbb97c830100bee6fb1e939fd63f76fd161b692e9baa7a56240b6d941c876478e5009f48dc5115656f4bff1f737885947d1 +EBUILD async-modbus-0.2.1.ebuild 1013 BLAKE2B 18c47746e1b2b964ebfacf2356f81643610c6a665f583cfa4d0e90c2aa42d8e24e887db6d0fc921956f7e05a64ef0ee155afcfeb113ac832d8d99522e6f48e4c SHA512 d706af6a403e9871f628d991e298bab10530ad4fbe4791a8c06d6de448e2ecbc8d95f74c1d20bbcb5e934de13c8d5dbb7625bb60b4ff410e9b869dd7c239b574 +MISC metadata.xml 462 BLAKE2B 0b2e439431d010b4dc4f3abbb300b74a43c6f17f9a2bb8955f7d86939a17484ca6cec9447e1e1eb1c9edef89cac62dedc1e7fe48771bcc982b9a933c450bab0c SHA512 858e289818da1b4528eb95af4c048e60d092d2ddfc009e653897c523c2454ae228927831a4776ee3fcd44043c525e3a546024db99f1d0ea6c34ca642d0052093 diff --git a/dev-python/async-modbus/async-modbus-0.2.1.ebuild b/dev-python/async-modbus/async-modbus-0.2.1.ebuild new file mode 100644 index 000000000..5af44b11b --- /dev/null +++ b/dev-python/async-modbus/async-modbus-0.2.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Async ModBus python library" +HOMEPAGE="https://github.com/tiagocoutinho/async_modbus https://pypi.org/project/async-modbus/" +MY_PN=${PN/-/_} +SRC_URI="https://github.com/tiagocoutinho/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S=${WORKDIR}/${MY_PN}-${PV} + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/connio-0.2.0[${PYTHON_USEDEP}] + >=dev-python/uModbus-1.0.4[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +} + +src_prepare() { + sed -i "s/packages = find:/packages = async_modbus/g" -i setup.cfg || die + eapply_user +} +distutils_enable_tests pytest diff --git a/dev-python/async-modbus/metadata.xml b/dev-python/async-modbus/metadata.xml new file mode 100644 index 000000000..965044acd --- /dev/null +++ b/dev-python/async-modbus/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + async-modbus + + coutinhotiago@gmail.com + Tiago Coutinho + + + diff --git a/dev-python/connio/Manifest b/dev-python/connio/Manifest new file mode 100644 index 000000000..fa0c8d0a4 --- /dev/null +++ b/dev-python/connio/Manifest @@ -0,0 +1,3 @@ +DIST connio-0.2.0.tar.gz 2821 BLAKE2B 1e806467c39a64b7387c568ee087a5128818b7903912772f7cbe9375084d15acdbcc25204c04d7b6507c8d5787f722b7fab6a44eadd1ed7f8dd91ad7e3728bbb SHA512 47e7f9e2f86cf05681173f16ca996f219c5295df948b93654d97898ab70b252b14b44f4323f67181c9b9b535e7fc99733f32e5c1a96c05e59f4bdddf8c4b6e63 +EBUILD connio-0.2.0.ebuild 716 BLAKE2B 00a830bc46a9a7c6f6943c648893f111543395b02c87ef92e21790695733a6650ee085469bd7c2785a0bab03210288913aeabe3e620f719240a258ac6d70b095 SHA512 1341cb62593a41aef9274e6b4f428606f9eae0d8e7c76152eba2def51e660680d7b69fa1f5655f69b58b446e682ab1195c588ef05d8e9d27afde1d6deb56a3ab +MISC metadata.xml 468 BLAKE2B f107d9fe5f78cbdec4573f7e309d1d34dc57814d0b1d4af1f9d6f307d32a3dc6e7a6340347c6317080b7a8dea636a6b50ef609c335a693493f9579c38f98c6d0 SHA512 fe2e259f1d859b7406fdc07d0ba0d606dac2c8bc374a286f1d536f16e885449bb162bcc5cf306ee4c9ddef548c8eba3d64fd4c5f1d3e952acc87c1bc7711afdd diff --git a/dev-python/connio/connio-0.2.0.ebuild b/dev-python/connio/connio-0.2.0.ebuild new file mode 100644 index 000000000..6562788c4 --- /dev/null +++ b/dev-python/connio/connio-0.2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Concurrency agnostic socket API" +HOMEPAGE="https://github.com/tiagocoutinho/connio/ https://pypi.org/project/connio/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND="" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +} + +distutils_enable_tests pytest diff --git a/dev-python/connio/metadata.xml b/dev-python/connio/metadata.xml new file mode 100644 index 000000000..fed1fedd8 --- /dev/null +++ b/dev-python/connio/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + connio + + coutinhotiago@gmail.com + Jose Tiago Macara Coutinho + + + diff --git a/dev-python/nibe/Manifest b/dev-python/nibe/Manifest new file mode 100644 index 000000000..b1fc3b7e1 --- /dev/null +++ b/dev-python/nibe/Manifest @@ -0,0 +1,3 @@ +DIST nibe-0.5.0.tar.gz 314027 BLAKE2B bbe89eebf03f9ad4063dd85688ee9088f5c71f4b2d51b97d39a8445b9481aa75b758b49ec0f64f3fbd9ff1de68ed91a0fc6c7cb2c5bde58ce63dcb80c9e6948c SHA512 3bb8bb2cf59bfd1a8dcab9821a7d5471abeff8a3dbd7ebace0eef309027ff157b64b32c8e75be185275fa3e81bcca7d2e482b7030c9639c4d65f74ba2d0ae492 +EBUILD nibe-0.5.0.ebuild 840 BLAKE2B eb20f339300bb001bf00c670d15a5a59022d5abd621074211091e337c6fbdb7c8279c15a7a4b0325b819bbd19ed3686ff6bbea4b8acded574ede0aa1ec2d342b SHA512 8059b7ffeb030ff8e07b5a865277ffa220cda85d9584152b1b86c73937ae44db83ee30bfa401f6ffdd774f9747037b684a14a9bbc5341875faf46778280c407d +MISC metadata.xml 447 BLAKE2B b2bcb9e7db21d52536643db33e5ba76b6b1ded87939f6ec55b6331d48e55a1f51522db79de02536f280e1bcc215047ae7fde1630d0bd39cce8012d734b068d24 SHA512 b450e62e02c8e1c6e1c9f878848943a5e90ebb876143598753f8cd3264779ab01a2239aaca162ba1e8cfebc67efcedaad7540c6b7b6f929385dd1bb088827bef diff --git a/dev-python/nibe/metadata.xml b/dev-python/nibe/metadata.xml new file mode 100644 index 000000000..85b94b61f --- /dev/null +++ b/dev-python/nibe/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + nibe + + yozik04@gmail.com + Jevgeni Kiski + + + diff --git a/dev-python/nibe/nibe-0.5.0.ebuild b/dev-python/nibe/nibe-0.5.0.ebuild new file mode 100644 index 000000000..25f8189ed --- /dev/null +++ b/dev-python/nibe/nibe-0.5.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Nibe heatpump communication library" +HOMEPAGE="https://github.com/yozik04/nibe https://pypi.org/project/nibe/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/async-modbus-0.2.0[${PYTHON_USEDEP}] + >=dev-python/construct-2.10.0[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +} + +distutils_enable_tests pytest diff --git a/dev-python/uModbus/Manifest b/dev-python/uModbus/Manifest new file mode 100644 index 000000000..4df2d280f --- /dev/null +++ b/dev-python/uModbus/Manifest @@ -0,0 +1,3 @@ +DIST uModbus-1.0.4.tar.gz 19423 BLAKE2B f469e4d202b3aa21a35f5f854e760f83b501781b341b28732a122426f31f6c2051be62eae1e55b2070fe6c4e7729912161822f0005b5d1e0959b17d5d1214366 SHA512 0e601d22374b8936d9e6e9cfd8d05e405ebf96f6912420f3def2f6dcdabd22ed106e6cdc3b2196522675baf1f9e954f5aae043a316ba4d1d4c249a964a7127df +EBUILD uModbus-1.0.4.ebuild 795 BLAKE2B 4ea2d66d91e53bc8fd436e4da1173c5e39d0721840aec24aca0447d11c639b44a17dde6c636a6cfa402f9fe3240bfcae7ff6d8d92e76dc680b33f96b6de59115 SHA512 796908c46daa6aa681517b0443a1e28e17831e5b8519a8fd350c3bec62d13eb4850c92f20b745dabc64d9a2868df1d9d54f0bbc65cabbf7a573e7ebb3008b706 +MISC metadata.xml 468 BLAKE2B b970e5291603d5c3c3e760215fcb751a043c629358611977e3127bff807610a49a9877fe150cdcc5ed391ba35f75a90f432e6bb89231f4f40ff2b47de05918f7 SHA512 302cd56ca5346c2eee87a461d87874777b62a8c5b8dbd88f9af5e8371abdcee34a429bbce1aace0c9d08509a75ad6e38fb97444e095f26b649e1534551d823f2 diff --git a/dev-python/uModbus/metadata.xml b/dev-python/uModbus/metadata.xml new file mode 100644 index 000000000..5147a5630 --- /dev/null +++ b/dev-python/uModbus/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + uModbus + + a.oosterhoff@climotion.com + Auke Willem Oosterhoff + + + diff --git a/dev-python/uModbus/uModbus-1.0.4.ebuild b/dev-python/uModbus/uModbus-1.0.4.ebuild new file mode 100644 index 000000000..cb166e635 --- /dev/null +++ b/dev-python/uModbus/uModbus-1.0.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Implementation of the Modbus protocol in pure Python." +HOMEPAGE="https://github.com/AdvancedClimateSystems/umodbus/ https://pypi.org/project/uModbus/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.rst" + +RDEPEND=">=dev-python/pyserial-3.4[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +} + +distutils_enable_tests pytest