diff --git a/README.md b/README.md index c4199c600..9d7c119af 100644 --- a/README.md +++ b/README.md @@ -521,12 +521,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 1737 Ebuilds in total, 1730 of them have in total 1737 (35 different) licenses assigned. +There are 1736 Ebuilds in total, 1729 of them have in total 1736 (35 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1058| -|Apache-2.0|317| +|MIT|1059| +|Apache-2.0|315| |GPL-3|106| |BSD|94| |LGPL-3|28| @@ -561,9 +561,9 @@ There are 1737 Ebuilds in total, 1730 of them have in total 1737 (35 different) |CC-BY-NC-SA-4.0|1| |CC0-1.0|1| -(Last counted: 17/05/2022) +(Last counted: 19/05/2022) 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: 17/05/2022 +Last updated: 19/05/2022 diff --git a/dev-python/pyunifiprotect/Manifest b/dev-python/pyunifiprotect/Manifest index 5013b50c5..5689e1eb0 100644 --- a/dev-python/pyunifiprotect/Manifest +++ b/dev-python/pyunifiprotect/Manifest @@ -1,7 +1,9 @@ DIST pyunifiprotect-3.2.0.tar.gz 56767 BLAKE2B 6328b5d64d9aad03c17aab2d16eb5d107bfc901b6b3fa33a120f6e040bc3663d890f9bf7959228e9a186c16c63005047815d4c8543e1f7aa1e8b0815112e7900 SHA512 64e49fae0171a4a0ff11a56a48c2f90f89f9d121861e93e4cbf398b41544b7d4e7909d564f9f6230eb2139f03d81d22df52a933926c4032db91eb10aca863854 DIST pyunifiprotect-3.4.0.tar.gz 57187 BLAKE2B e72e5e86e40ec33827b272cb3989a8e4cecac4976593d0ee690f25bcc9b974b1bd0ed06b94130519297334393bcaf55e98f3fa27870e4f2458893984c4424432 SHA512 48766b9cf68c4584580820627b1e9ac4086cb5a5113d482f05c0c48ecab64f9f8c1c6b3588efe533281fba91f163cb9e000e4562963935f32c13ef01bbce9fa8 DIST pyunifiprotect-3.4.1.tar.gz 57266 BLAKE2B 7521925e1a311734344700d8bf36bddfc1629437868ce3cdc5c0e93120a8a2fe5c9efc873c1688edf445378cb3af08ab6675410ce82ecb2ec3c728ef9d399f0b SHA512 3283fb49bc52271870bad562b20f222329f886a05f3cd8d7964492e402225aeb460ab5b5d16ce390a0a8b554ee604df72997f16f210c3d32d9e407dc40ce6de7 +DIST pyunifiprotect-3.5.1.tar.gz 57855 BLAKE2B 9435a5475b5c4d76c183adc21b843b5693a893051b45474efd8f8c897b589a9c66e1408dc1b8acf6f9a0a78bcfcda7e941735b46318d3d68db3a5e75d81dc8cb SHA512 dcc773e5d07f69ea9dd57214c5a588055680c5c2f1d338eb1f868472ba8f312a6b56dc41f0462618f2b4cd680fb2b941417507caa087b423687b2529db3c4b2c EBUILD pyunifiprotect-3.2.0.ebuild 1029 BLAKE2B 5ed3ec9ea1104077a1ae92818bba050e9675be16f533a20118dccd07a0c968110b0f4f3dd3ae9ba03b0ac6b51b0814804bba5703a38177c62f708f26293448d3 SHA512 0261f223a99712d1079817e40088deabb72daf7a66bb952d5e8a315d2f25f119843d44e79f5e7c9f9dd385d2b41089dbdca4be94d94a4b58d1b71bf2f9257ac1 EBUILD pyunifiprotect-3.4.0.ebuild 1117 BLAKE2B 51670a86651a568b117610e7444a7cbdd2d8f27b49461ece5d8f995d233ba33e24c9e6a9a4be333c9ff3aa243b945200a4626de88a6a74dce6392693d11a8561 SHA512 5726596dfd5b1d8c03756e28a213c2e2de14b28f66f0db70acebd7d5a07218a9205858d9afa381fe2d3aa46b47883932b08bc83ca406454285305716b5ccdf48 EBUILD pyunifiprotect-3.4.1.ebuild 1148 BLAKE2B 0f9c11d639dcfd22c01fa16f5b85de7ba115d42ca633f77261170ea671841d9aada5d746d49c8c6ee230953c58912c24c567d578989325473de6ceabf78c7fe1 SHA512 facffa34342d7299c13df858b8b5564d69e0691901c1355c4679ad0a59e93e1f068c0cc134ebba6b07106fa13248c4a9a18410f905adfb22c4157327d3685adc +EBUILD pyunifiprotect-3.5.1.ebuild 1148 BLAKE2B 0f9c11d639dcfd22c01fa16f5b85de7ba115d42ca633f77261170ea671841d9aada5d746d49c8c6ee230953c58912c24c567d578989325473de6ceabf78c7fe1 SHA512 facffa34342d7299c13df858b8b5564d69e0691901c1355c4679ad0a59e93e1f068c0cc134ebba6b07106fa13248c4a9a18410f905adfb22c4157327d3685adc MISC metadata.xml 454 BLAKE2B 8766ab596f5d82c4d90b7e9d9f28aa260b1e3596fe4dd914b2fc01249f9c754527485e20523f639b1fac2421a9d98d240f12c76ea7b63f15ccfc78ae73c0cbec SHA512 2f3105663b8423662dc13ea77b326dba51a9857f338c0d3425ef54ab87f823416c9f81e91a20bd4190cbee4b3d21077c57a733744e7345901ef113d345fc8bb2 diff --git a/dev-python/pyunifiprotect/pyunifiprotect-3.5.1.ebuild b/dev-python/pyunifiprotect/pyunifiprotect-3.5.1.ebuild new file mode 100644 index 000000000..006f31b68 --- /dev/null +++ b/dev-python/pyunifiprotect/pyunifiprotect-3.5.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_SETUPTOOLS=pyproject.toml + +inherit distutils-r1 + +DESCRIPTION="Python Wrapper for Unifi Protect API" +HOMEPAGE="https://github.com/briis/pyunifiprotect https://pypi.org/project/pyunifiprotect/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/aioshutil[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/pyjwt[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +} + +distutils_enable_tests pytest