From 0a7415472274650287dedc66bdcb88897129e8e2 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 15 Oct 2022 09:20:59 +0200 Subject: [PATCH] dev-python/yeelight: rework, remove olds --- README.md | 4 +-- dev-python/yeelight/Manifest | 6 +--- dev-python/yeelight/yeelight-0.7.10.ebuild | 6 ++-- dev-python/yeelight/yeelight-0.7.8.ebuild | 34 ---------------------- dev-python/yeelight/yeelight-0.7.9.ebuild | 34 ---------------------- 5 files changed, 7 insertions(+), 77 deletions(-) delete mode 100644 dev-python/yeelight/yeelight-0.7.8.ebuild delete mode 100644 dev-python/yeelight/yeelight-0.7.9.ebuild diff --git a/README.md b/README.md index b433da580..128cd8021 100644 --- a/README.md +++ b/README.md @@ -538,14 +538,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 1873 Ebuilds in total, 1866 of them have in total 1878 (35 different) licenses assigned. +There are 1871 Ebuilds in total, 1864 of them have in total 1876 (35 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|1125| |Apache-2.0|351| |GPL-3|121| -|BSD|106| +|BSD|104| |LGPL-3|30| |GPL-2|23| |GPL-3+|17| diff --git a/dev-python/yeelight/Manifest b/dev-python/yeelight/Manifest index c19e7cb5d..809faa1fe 100644 --- a/dev-python/yeelight/Manifest +++ b/dev-python/yeelight/Manifest @@ -1,7 +1,3 @@ DIST yeelight-0.7.10.tar.gz 55748 BLAKE2B a11f484ed13db5099acb2306ef8d14c85a14fab61ca73d93df1e854b21947128fe86874483d2a90a3532a5382da4d1f3bd6e7b6d36fc73fb6899e57baad51c8a SHA512 26ba562f852057c08eaa35c25b8b29d937627d29782bb0c57301fe31142c36d9ee3262ba790eee90fb911f4b86c1498e54f5f95294ea54f7b42f06f59d94370c -DIST yeelight-0.7.8.tar.gz 52764 BLAKE2B bfbbb4f2aa173fc991e4a62b3da0c0c7a616f584d8a6a27ea62bcc7a18f0a0675d28d613b7b368cd5965f55e42d23e20c37569947907650709615ac9cb22918b SHA512 6fbcd6ac1824256859470358a81657cb6a39c285a32cd2a36808946871c11494561430a85698c5c532eb7b00a79c3330ace6d5cc52cdd81dc4420e675c17dc80 -DIST yeelight-0.7.9.tar.gz 54055 BLAKE2B b72a38be025d2dfde85ae2e18e85b29893c056cf59ae4af16f1177052d0169b86eda39d091765055fb769ac34eca8808612866990e2692053d7d27f9de5107db SHA512 b29fd2b6c5ff5870a67a31c1233c726aed01adfea4f0e70cfab446789f8004fe9b21c51706eba76df292563d45014fef49d9182bc930fc1bbe267b49bb33d1d3 -EBUILD yeelight-0.7.10.ebuild 831 BLAKE2B 4dcfb2a3c811897379ac812b555534753968ed64b81ec4d4f8e7bacd29bd9b9eb79c07f03a6dd782c5609527f4b41408ac8304af604c920c9d71c0e2c78b03c4 SHA512 f8f689c4b83c13910358482cac03b746090106f7c11aa0418b8a0256185252647538c5afa8248f16b68733b09b7ae395fb17865f8bb36decb3fc7ac2053ea0ae -EBUILD yeelight-0.7.8.ebuild 811 BLAKE2B 3833640a4f27515f2ee8ce8cbf647e01b15656980c52212043f4d9a577a3b3331097f282a018cd06a446e85e8ffdd6de865c945f5ec66915e5aea6dd9c072717 SHA512 1c915f4f55731e3dd797d73c8fb07324cef664eafaac72ba3df25dcb3c9cc273471c96d8f2fb2f0a1d40a4c4fd3e586aa6e937bcd26fdf69af25f7043553bcd2 -EBUILD yeelight-0.7.9.ebuild 805 BLAKE2B 42bb20f3fab747feb120cf9aa591d85d812609cfa3644d90ef3c17ed24d40ecbcd1cf3cc6cdc1eba5118d8eff5ab8fe50ca571570bb3f3ace13fbfa9fe9183f5 SHA512 d9573f5bf25dc875513ff1da8bc42302b292ee86df3e64c476149bc51d983da9c6767a1f543765400486f55d18f23457a73dab03c1adbc580c16dabfe964bfd2 +EBUILD yeelight-0.7.10.ebuild 838 BLAKE2B 260e740646ae841b6c5cbaeb4a2ad08d7b07a46152269129cf5a1de5d33c8e1b2ca33761c39a6b5c01a02312df17d1426a343d8ab76512df1637e7f41b5832f5 SHA512 8af502a78a9dfa4f13ae73b5979838228577db6dbb0bd6fbd3e149edd3e5421828a23af1abb893044b4a97f223049b4436a29252343af6d68c0224141cf35dbe MISC metadata.xml 454 BLAKE2B e9341d7a688a8e0fb98a214ae34b556aba26bb8fedce41959ed42a2ecbab32aea2a071ba0149bd89ed9e9de24ae760aaaa27f10b90cf1a2df3d925f28f881261 SHA512 7d30cd46b5b4fdf942234624a698738e2afdb1a719d1a7f591fad2ddf046def637a644f1603a62b5b5e21a1ae48a7248e28e24a71507b6eac8577d34452f0b74 diff --git a/dev-python/yeelight/yeelight-0.7.10.ebuild b/dev-python/yeelight/yeelight-0.7.10.ebuild index 122be2f7b..865e57ad1 100644 --- a/dev-python/yeelight/yeelight-0.7.10.ebuild +++ b/dev-python/yeelight/yeelight-0.7.10.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 x86" IUSE="test" RESTRICT="!test? ( test )" @@ -33,3 +33,5 @@ python_test() { py.test -v -v || die yeelight/tests.py || die } + +distutils_enable_tests pytest diff --git a/dev-python/yeelight/yeelight-0.7.8.ebuild b/dev-python/yeelight/yeelight-0.7.8.ebuild deleted file mode 100644 index e67d8fb88..000000000 --- a/dev-python/yeelight/yeelight-0.7.8.ebuild +++ /dev/null @@ -1,34 +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="A Python library for controlling YeeLight RGB bulbs." -HOMEPAGE="https://gitlab.com/stavros/python-yeelight/ https://pypi.org/project/yeelight/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -DOCS="README.md" - -RDEPEND="dev-python/future[${PYTHON_USEDEP}] - dev-python/ifaddr[${PYTHON_USEDEP}]" -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/yeelight/yeelight-0.7.9.ebuild b/dev-python/yeelight/yeelight-0.7.9.ebuild deleted file mode 100644 index be2c65c51..000000000 --- a/dev-python/yeelight/yeelight-0.7.9.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="A Python library for controlling YeeLight RGB bulbs." -HOMEPAGE="https://gitlab.com/stavros/python-yeelight/ https://pypi.org/project/yeelight/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -DOCS="README.md" - -RDEPEND="dev-python/future[${PYTHON_USEDEP}] - dev-python/ifaddr[${PYTHON_USEDEP}]" -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 -}