dev-python/zigpy-znp: update SRC_URI

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-03-04 08:58:45 +01:00 committed by Andreas Billmeier
parent 9b48980a69
commit 4cd54c39bc
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 13 additions and 17 deletions

View File

@ -338,13 +338,13 @@ I run Home Assistant on a virtual X64 box, 4GB RAM, 3 Cores of an older Xeon E5-
## My machines
Currently I have three VM's running:
### Production
Python 3.10.9
Python 3.10.10_p2
4 GB RAM, 3 cores of a Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
### Dev / Test
Python 3.10.9 / 3.11.1
Python 3.10.10_p2 / 3.11.2_p1
4 GB RAM, 3 cores of a Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
### Dev / Test2
Python 3.10.9 / 3.11.1
Python 3.10.10_p2 / 3.11.2_p1
4 GB RAM, 3 cores of a Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
## Hardware I use
@ -573,12 +573,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 1795 Ebuilds in total, 1784 of them have in total 1788 (34 different) licenses assigned.
There are 1796 Ebuilds in total, 1785 of them have in total 1789 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1044|
|Apache-2.0|389|
|Apache-2.0|390|
|GPL-3|112|
|BSD|94|
|LGPL-3|26|
@ -612,9 +612,9 @@ There are 1795 Ebuilds in total, 1784 of them have in total 1788 (34 different)
|CC0-1.0|1|
|GPL-2+|1|
(Last counted: 03/03/2023)
(Last counted: 04/03/2023)
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: 03/03/2023
Last updated: 04/03/2023

View File

@ -3,5 +3,5 @@ DIST zigpy-znp-0.9.2.tar.gz 107465 BLAKE2B 60b69a0f486016021e860247a45778600df3f
DIST zigpy-znp-0.9.3.tar.gz 118676 BLAKE2B df76812d42a0f33fb1c0acc608fda7437adea2f185f03ffcc40cdc899ebd5f3c0523dd1cabfe7511f2a9f6125df0642869bb1dc68ad1d157dca7c236eff2b9af SHA512 6dc2ec2d65ed37a5da725895cd29d534ec1e685e13ec7cb78ff0c0be29bc88a6fb5697bf87bf78034627e680eb4be66ed2fc26033afdca170b178382d93efb11
EBUILD zigpy-znp-0.9.1.ebuild 1095 BLAKE2B d2305dd4b9e196affb225e006c01bfb5c6f6c74524bf7b775c9c280d6a43efc12d5a0044c7d3cccd772baf9ad62167d531c369b4e55a1160b7bf06ec6e854f02 SHA512 637f7a829e886da0b40395d041c5dc7667c62d63f74eeaa6b465967372230e42df58ba6cc7d0e7840a9d67c035fe5c71c2b3a5316d5be221e79ef37d7e21e073
EBUILD zigpy-znp-0.9.2.ebuild 1095 BLAKE2B 46430bf28b009d123e804e5102f2cbfd5130e6f5d506a2160d5351a0f36e354bf887f9b75dc52c8b62e496a03e5093f50a3a33fa101d26266d085427de2fbc34 SHA512 6026ccfaade4346ee0b0e98aea3bd8b0fc35f6eecf923011552e829faf814cf8ea48174767f585d4fedb5fe93dd009700ad31dd6a02e4155851e944572094629
EBUILD zigpy-znp-0.9.3.ebuild 1095 BLAKE2B 46430bf28b009d123e804e5102f2cbfd5130e6f5d506a2160d5351a0f36e354bf887f9b75dc52c8b62e496a03e5093f50a3a33fa101d26266d085427de2fbc34 SHA512 6026ccfaade4346ee0b0e98aea3bd8b0fc35f6eecf923011552e829faf814cf8ea48174767f585d4fedb5fe93dd009700ad31dd6a02e4155851e944572094629
EBUILD zigpy-znp-0.9.3.ebuild 1059 BLAKE2B 384ed29453e1f09630f54c837320649dbca4ce3386867e9ff4db55dce34f45f8150605abb591fd8602e2be1eeae0e09a9c7c7cd78b8322b3e8c55bfe1c70d399 SHA512 cb288c3dd0db6372745aaebe3e0383ce5c45b9fc9991841be50fbda29c6591a9d458121a9e5451b3853387f3cbdf8b6878b9cbf21b6f2989a733a812b085b234
MISC metadata.xml 519 BLAKE2B d6c1f99a4aa6bab7bcf09908aecd3c0912693da76815801656edfa7d84f1d2202077450be9a31937ce62ecbe6371249f5d41441e3846819a9a158a3cd000c541 SHA512 bdfae4a2621cd7fe444c7ced55703ffd01f510aca43e4e38756fa8aa84cb44a5abf86d718ab2bc70c50973122cda4ab3b915e1d1bdfae01a265aa91cdb73cef7

View File

@ -1,16 +1,16 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
inherit distutils-r1 pypi
DESCRIPTION="A library for zigpy which communicates with TI ZNP radios"
HOMEPAGE="https://github.com/zigpy/zigpy-znp https://pypi.org/project/zigpy-znp/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
@ -26,17 +26,13 @@ RDEPEND=">=dev-python/zigpy-0.52.0[${PYTHON_USEDEP}]
dev-python/coloredlogs[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest
# TODO: Make symlinks for zigpy_znp/tools and add TOOLS.md and docs/*.pdf , but only it is in github package