dev-python/pymodbus: add 3.7.4

Closes: #4388
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2025-03-14 23:22:17 +01:00
parent 7d7e96b5c9
commit b3ac1445b4
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 55 additions and 6 deletions

View File

@ -606,14 +606,14 @@ 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 2386 Ebuilds in total, 2368 of them have in total 2412 (43 different) licenses assigned.
There are 2387 Ebuilds in total, 2369 of them have in total 2413 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1355|
|Apache-2.0|554|
|MIT|1356|
|Apache-2.0|553|
|GPL-3|149|
|BSD|127|
|BSD|128|
|GPL-2|30|
|LGPL-3|23|
|BSD-2|19|
@ -654,9 +654,9 @@ There are 2386 Ebuilds in total, 2368 of them have in total 2412 (43 different)
|GPL-2+|1|
|GPL-2-with-linking-exception|1|
(Last counted: 04/03/2025)
(Last counted: 14/03/2025)
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
A big thanks goes to Iris for reviewing this README.
Last updated: 04/03/2025
Last updated: 14/03/2025

View File

@ -1,5 +1,7 @@
DIST pymodbus-3.6.8.tar.gz 191916 BLAKE2B 83ad6251c001418543e72b121115d9f6a5f3a3948ef50c480947e4eb77be28c8f8be42e46d1b81bcb09c2e7da17c83eaf23baf6e65ddb34d8fbdea01dc6bdf01 SHA512 80a2f86836d3ea3cb3e5dc2f58f37a07d6350547754c715e0de5c390119e78d9296d74ba5eda26904ce78e5636bdf4ab9ec5b53801525da922916bd4b0ba80b0
DIST pymodbus-3.6.9.tar.gz 193922 BLAKE2B db47395187d94aa2f6ecd5d3b4bac2323f9fcc55aea3f97bf9720becf195afcf79a7bd91802fab81037d8f4b1c64174fc954dc8b26cc5d7b43408188ff3d0963 SHA512 a7060f0512a283c6320e45723313fc2623146a6f08618af63903f30e1c9bf706b6fa258210c58ce2eb0abb217f9ee580b5810f589554675af801637716ba0d88
DIST pymodbus-3.7.4.tar.gz 170675 BLAKE2B 2cf34c16ccec1a3446712d6363266d998436169746fd20a96c3f4fd2409335a3773c4c6247bd2213a0c6cb5072bcfc1f0f83bc176367bcfbdfbc12afefa2cccd SHA512 c8145755e67eb9c172ff905214a6c643135359bc8e3bb952496e9d07e8c5fc8bf422721f8715159885582c5e7cef0f532378db7388d24e5d7d917d318a05777f
EBUILD pymodbus-3.6.8.ebuild 1258 BLAKE2B 91ef8836fd18ca38b6cd782dcad287508293429a8841eb63bafb8e16e143f46a44791c819024788555360450cfa00a6d8a83e52e7e56e98e7b9825122f772970 SHA512 e85e24b020e6398e15780e41e0894190a8b6b4bdb946752ecc339f117a7336b028de039b6702c3a853b6cc3bb9726ecce30395023128657ae23dca795e9e1fab
EBUILD pymodbus-3.6.9.ebuild 1173 BLAKE2B e4bf85c93d6992df40ae35c6393ba20274724b1dce8810dd2719e20a9c721805140801d039e2660f59a1f4c5c74b8561c3d848f14f9cb3a19c213b476d49bd65 SHA512 dddf9e8b6e2120321e2e31ed3fd806d9eb8cf6db2b85c07da962e17b512ecd812bf4729fde106b78a0ff02a99e4e6b081a9b24f37daa20cc3e21c61584da033c
EBUILD pymodbus-3.7.4.ebuild 1173 BLAKE2B 6ebb4b496717ae74b9f0fd9359c8e4cd24c7a3077c7b80bb37ef0108715bf3442dd3a9f13036c58072f41999f9a6d39f889d2c636bb04dd11d2bef7119bd5fec SHA512 a32e80dd34d7ba002f80adeb95accea340d7ca6496f2a06636efb3cefbf14ea73716b8c15118ce7295b8c3ec382d4a81f65e4ea476b425f558010ef21f5fabd4
MISC metadata.xml 440 BLAKE2B bd8e0d1dbbe81b78c6f922a1791c495828ebd3e2b1d376eca6742bc3a05dd39ef7442caac210c3e68bfde5595dade63d16cd4fb681ffe7991eebc713e74fe058 SHA512 5bf125550828afd7eb7d378653cd86f7e548bf6f8eeca7f107ea2159412dd2275e63501bc684c85f55970b7cd9b613f824a174e5def5f8561bd173b269bb1e43

View File

@ -0,0 +1,47 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="A fully featured modbus protocol stack in python"
HOMEPAGE="https://github.com/riptideio/pymodbus/ https://pypi.org/project/pymodbus/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="serial test repl simulator"
RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND="
serial? (
>=dev-python/pyserial-3.5[${PYTHON_USEDEP}]
)
simulator? (
$(python_gen_cond_dep '>=dev-python/aiohttp-3.10.6[${PYTHON_USEDEP}]' python3_12)
)
repl? (
>=dev-python/pymodbus-repl-2.0.4[${PYTHON_USEDEP}]
)"
BDEPEND="
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
dev-pyhton/pytest[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
)"
src_prepare() {
# remove dynamic-versioning
sed 's/dynamic = \["version"\]/version = \"'${PV}'\"/g' -i pyproject.toml || die
eapply_user
}
distutils_enable_tests pytest