diff --git a/README.md b/README.md index b1904fcb9..d89b33aa8 100644 --- a/README.md +++ b/README.md @@ -547,11 +547,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 1553 Ebuilds in total, 1546 of them have in total 1558 (34 different) licenses assigned. +There are 1552 Ebuilds in total, 1545 of them have in total 1557 (34 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|916| +|MIT|915| |Apache-2.0|308| |GPL-3|95| |BSD|89| diff --git a/dev-python/pyHik/Manifest b/dev-python/pyHik/Manifest index 03253db08..dd12c854c 100644 --- a/dev-python/pyHik/Manifest +++ b/dev-python/pyHik/Manifest @@ -1,5 +1,3 @@ -DIST pyHik-0.2.8.tar.gz 8602 BLAKE2B 4d74bc80dbaa10b2903e0483eeab745388c3d372a51de2c86a60e65a050c33cc6041861f903d82666d931a3679819a0d827a4fa5fa189797eafc1573f005cbcc SHA512 41cbd41e4c8c6fd3da7937e41c4f55a891e5e9564dd66b1874749b8d2e2aa96938918fc50469d5c5c72bd83117ae71182db5103760b4812cc2ccb0c9d038c3d5 -DIST pyHik-0.3.0.tar.gz 8771 BLAKE2B 34be471665d323a1f9e7c032915b84c86c92ed2b2823e7db22b48af87d064aed635e3a759486dca3001572fc60538d9ed0b1f3da0c6143066ec2de7fbea9490e SHA512 145f85f1cb59f6839a578e944ebed0523e50d0ad43615daebf52b732bd985e8cf99d81d2e33fd36ef7b38d7f0ac627ff53ead707d1450e20582f75096b352450 -EBUILD pyHik-0.2.8.ebuild 753 BLAKE2B a03b1cff984362b885af4353abf66170eccd56413c9f266ea50c943433cd3b0a9c8cf6a6a7566966879aa56de3c015c19ab165e4df2fbf437b3aa871619fe644 SHA512 fc0ef5cfe1701251b7e50120b27e42540cb920529ea3ab6375850b9d74a9548976d8643b3de0a50f06ac8bc18335230fa17073ee96f12410a0cbf828b7a3c94a -EBUILD pyHik-0.3.0.ebuild 760 BLAKE2B d25685db43da74659866c50df9b078ff9dd6ebcdda36cf214e8a21b92f1216e61262584f745c135d41be89df21e569538ad779072c0f89b4900cb82bf3c5820e SHA512 01ed1d76990d36ad6bdd094e41d32498a02bcc562a0d4bd33d55acc46b32736075c398ec5ac6a61e62b899ddf01df9810bb6f4c653e4ab7dab36d777defaa5e3 +DIST pyHik-0.3.0.gh.tar.gz 11425 BLAKE2B ca39771f3b4531d5904f803a1a96c113dc28b3534a66547840b2f0373bed03b60f4d7c4ac52025b4e310160440e40f48aab29b72b71dc67dcfd18d0fa5f31192 SHA512 594e89c2b0fb8b8f0308f33e957dd4dce185bc024c688da7b280ccec17587b43636030b0e7e5539c9406a8a6f2edab55d8b4823a5b7a9f6e734a499f6acf51ba +EBUILD pyHik-0.3.0.ebuild 801 BLAKE2B 53a2dcfb53d2aacf95db81066e44d8fceda05bbfe665013a805666e7e879d3a29055a8ab24b0746e71303b76149af8bdfc19ef27f330a4710ac88ec1452596b5 SHA512 1557d4cc32c2d5538e6c702412c28416131966c664705c3fa6e744ad11f6f9743a6ac385792bcb00ba41427ec25649281913f4998df5db2475aa67f52e476b50 MISC metadata.xml 461 BLAKE2B 0de060004376a8c94b7f17989fcd060f10ca17918c8f1dcff32c8b2af40a74aed2f4075f07ad91450915e4e45c0dcd38607f42a4af4032e476055fa5e5ee3a60 SHA512 bfea1d44cb0745d53e508b980261d5dcd63b9bb2cadb3d6a49c65216c730932d4568e8edb0a6cecd78e5c3f5c64751f8933b99cf387fe698856aa35df6b7fae3 diff --git a/dev-python/pyHik/pyHik-0.2.8.ebuild b/dev-python/pyHik/pyHik-0.2.8.ebuild deleted file mode 100644 index d2e97d03e..000000000 --- a/dev-python/pyHik/pyHik-0.2.8.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Provides a python api to interact with a Hikvision camera event stream and toggle motion detection." -HOMEPAGE="https://github.com/mezz64/pyhik https://pypi.org/project/pyHik/" -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 )" - -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 -} diff --git a/dev-python/pyHik/pyHik-0.3.0.ebuild b/dev-python/pyHik/pyHik-0.3.0.ebuild index 4005a357a..232d7426e 100644 --- a/dev-python/pyHik/pyHik-0.3.0.ebuild +++ b/dev-python/pyHik/pyHik-0.3.0.ebuild @@ -1,25 +1,24 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 DESCRIPTION="Provides a python api to interact with a Hikvision camera event stream and toggle motion detection." HOMEPAGE="https://github.com/mezz64/pyhik https://pypi.org/project/pyHik/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/mezz64/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 x86" IUSE="test" RESTRICT="!test? ( test )" -DOCS="" +DOCS="README.md" -RDEPEND="" BDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] test? ( @@ -31,3 +30,5 @@ python_test() { nosetests --verbose || die py.test -v -v || die } + +distutils_enable_tests pytest