dev-python/pyefergy: add 22.5.0

Closes: #3404
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-06-23 23:03:01 +02:00
parent 96f47f3355
commit 59e9ef38ad
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 40 additions and 5 deletions

View File

@ -606,11 +606,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 1918 Ebuilds in total, 1907 of them have in total 1930 (42 different) licenses assigned.
There are 1919 Ebuilds in total, 1908 of them have in total 1931 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1100|
|MIT|1101|
|Apache-2.0|431|
|GPL-3|112|
|BSD|109|

View File

@ -1,3 +1,5 @@
DIST pyefergy-22.1.1.tar.gz 8770 BLAKE2B 1d1c8a137ec3dd30d7f1b217c1081a7950624b25468fb0c50cc1e87d34ced50f279d2cf0da9889f3630204b28f384614c231c2889e1aa0bc0c97e40adb73ea8e SHA512 94f7acd496780de1f5fd95b3d0563ff27b75b8e071f93161adbc6b63db1a94abb897dc22c9bd1cedd78645e684d8bcd2b7ca334cfe8689bc0d0a6f4f329d6a55
EBUILD pyefergy-22.1.1.ebuild 671 BLAKE2B c9014887e916b85888903c4153bdc3a9f9236faea385e40e468067259f4fbce5f0d5ca58cfccc2e25889068800bae4e9399034f5c45ad071ca897ede2573e0e2 SHA512 92562bfdfcf947a15d203e435da3fdc6faa763c6cf85646d44d98471e19dfa96e3a33193bf9b0ddfc27a7d441fe39f3f0479e508be77a1d4eb1c7e36b0333ff9
DIST pyefergy-22.5.0.tar.gz 8442 BLAKE2B 9dfe0d0847722e58f37febf2f49691c5e32323dc5b065ee26107e258fd0cdc35f8ef78e72663542da1ced407b94e4d1427bd4ed247a0f09846ef39cfb2837fbe SHA512 78b05c37331f6b70ede8836353224b3f9854c3bfe73dda04f8dc5555bf27d9981aadf48387737df9e560b1e1d2d4be3254781de981fd4bcb798940a11f1a9712
EBUILD pyefergy-22.1.1.ebuild 671 BLAKE2B 418d3cb8cc5936b7b1b49b19c92d0998ecd0e080c21f9b736d6450adeca042b1faf8cbd3a8b40c99bad1e8bafdbcf583bdf4f012a2a981ff50f9daef5e87e7c5 SHA512 a7bd7ab934cf9d3c22952ebbc8a2a14fcb76cf30376000152b54440cd6886dd9dba8dd4ddd3563303426968c38a4d382e93e22f92c81b0b84234b3c9b56d4f79
EBUILD pyefergy-22.5.0.ebuild 929 BLAKE2B f57732b675048bd673ae454fdf96f4b9e4ee2be1512aceb4c1dfdffcb983e486a1a26b2fb1659fd0dbecddd96a2726d48467e160cdae7167a62ca3a20867ef7b SHA512 6e385ae98aad479f110a82fec8dd0f3a794df4caff938ef8461d82c9934cf2c61bca731687c8645de08a30e6e885b9c1e1fe8e668e04b43c92b161c3c82f9e67
MISC metadata.xml 511 BLAKE2B f006604391f8c768cd5e8ab69828e010c2f0e04ae281ec36f0d2b44e5b930aee7009f5ec4bf90f1f6e09e9c50aeaec44c6499b91eea1fa3f5a7356e8a3105198 SHA512 1be1c5bd59f09d5dd2dedcee33ebdfb1c385b04c3412be4748beeccf02a32caf86ef7276351c49b1b7b7d84870fa86bc10a18e7295fa421a1f69604aa48efd6b

View File

@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi

View File

@ -0,0 +1,33 @@
# 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=poetry
inherit distutils-r1 pypi
DESCRIPTION="An API library for Efergy energy meters."
HOMEPAGE="https://github.com/tkdrob/pyefergy https://pypi.org/project/pyefergy/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
>=dev-python/iso4217-1.2.20150619[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]"
src_prepare() {
# remove unsupported dynamic-versioning plugin
sed 's/0.0.0/${PV}/g' -i pyproject.toml || die
sed 's/, "poetry-dynamic-versioning>=1.0.0,<2.0.0"//g' -i pyproject.toml || die
sed 's/poetry_dynamic_versioning.backend/poetry.core.masonry.api/g' -i pyproject.toml || die
eapply_user
}
distutils_enable_tests pytest