From e441e7b6e05ebe79d332fc31e0dd161ecc5bdf1c Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 15 Oct 2022 07:00:04 +0200 Subject: [PATCH] dev-python/BlinkStick: rework, remove olds --- README.md | 4 +-- dev-python/BlinkStick/BlinkStick-1.1.8.ebuild | 33 ------------------- dev-python/BlinkStick/BlinkStick-1.2.0.ebuild | 10 +++--- dev-python/BlinkStick/Manifest | 4 +-- 4 files changed, 9 insertions(+), 42 deletions(-) delete mode 100644 dev-python/BlinkStick/BlinkStick-1.1.8.ebuild diff --git a/README.md b/README.md index 46e23b1b7..1e6545602 100644 --- a/README.md +++ b/README.md @@ -538,7 +538,7 @@ 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 1940 Ebuilds in total, 1933 of them have in total 1945 (35 different) licenses assigned. +There are 1939 Ebuilds in total, 1932 of them have in total 1944 (35 different) licenses assigned. |License| Ebuilds using it| |-------|-----| @@ -565,7 +565,6 @@ There are 1940 Ebuilds in total, 1933 of them have in total 1945 (35 different) |AGPL-3+|2| |ZPL|2| |ISC|2| -|NEWLIB|2| |CC-BY-NC-SA-3.0|2| |EPL-2.0|2| |ECL-2.0|1| @@ -573,6 +572,7 @@ There are 1940 Ebuilds in total, 1933 of them have in total 1945 (35 different) |AGPL-3|1| |PSF-2.3|1| |PSFL|1| +|NEWLIB|1| |HPND|1| |LGPL-2|1| |CC-BY-NC-SA-4.0|1| diff --git a/dev-python/BlinkStick/BlinkStick-1.1.8.ebuild b/dev-python/BlinkStick/BlinkStick-1.1.8.ebuild deleted file mode 100644 index 7257b2017..000000000 --- a/dev-python/BlinkStick/BlinkStick-1.1.8.ebuild +++ /dev/null @@ -1,33 +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="Python package to control BlinkStick USB devices." -HOMEPAGE="https://pypi.python.org/pypi/BlinkStick/ https://pypi.org/project/BlinkStick/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="NEWLIB" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -DOCS="README.rst" - -RDEPEND=">=dev-python/pyusb-1.0.0_beta1[${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/BlinkStick/BlinkStick-1.2.0.ebuild b/dev-python/BlinkStick/BlinkStick-1.2.0.ebuild index 75a26c6d6..99e46d0d2 100644 --- a/dev-python/BlinkStick/BlinkStick-1.2.0.ebuild +++ b/dev-python/BlinkStick/BlinkStick-1.2.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="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="NEWLIB" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86 amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 x86" IUSE="test" RESTRICT="!test? ( test )" @@ -31,3 +31,5 @@ python_test() { nosetests --verbose || die py.test -v -v || die } + +distutils_enable_tests pytest diff --git a/dev-python/BlinkStick/Manifest b/dev-python/BlinkStick/Manifest index 2e50acc1e..5926e151f 100644 --- a/dev-python/BlinkStick/Manifest +++ b/dev-python/BlinkStick/Manifest @@ -1,5 +1,3 @@ -DIST BlinkStick-1.1.8.tar.gz 18704 BLAKE2B e7ad39f5ea8b8469162561c194d4c42eb3cb3afa25977de0e884fa5bfeb930a3cc8f9cfe750bdaa7613a49ae3b460d85547277ddec59cd0d5e52c97b7e227a93 SHA512 1cafe770e8039ea11c34ad707d5b860d43c628d51c6a967ebf605d05f6f86f14828263b0089eab9362f0a92ac966d12ed7ad0208abea9984b97bfa501c10e262 DIST BlinkStick-1.2.0.tar.gz 19706 BLAKE2B a8e0d0df597a6fdee46ae21607a61e013b5be1ea5f3e0df1bd2133362b35b8e1f601ca565fce63b01e771462468e3d9ae075a3dc5816918c0e62db552106dfc3 SHA512 8847891049176089b7b5248c7a6df48d5f7948120b855aa7ac9b8a7caf815a6396ab94cbaf0430913f0b70bedb90361aea24efd72062f573a9bdedc6b7882c73 -EBUILD BlinkStick-1.1.8.ebuild 787 BLAKE2B fcbd775c0ee2da4e54d6a447f13151ec6112c069fc6983789fc03fecb8fe414ae6571b654c11f57cdaf24d675da4c346fc59e307cbfcb96e5bddfa902a82acd6 SHA512 540efc67b1e1a0918c28d6daf811d9ddcc3633ca3db574bedba7a2f32a58ffd32d89d232ad665509074b301b9abb9ea767d074eff236966b86d81f21c8bc887e -EBUILD BlinkStick-1.2.0.ebuild 784 BLAKE2B 70265af206004ae46a454ca4306cc3394eb847b4f26f471a77918d25eebc6b60bb0e4ebead8a155600a1d44889ccf41570ce2268f0bd1609e4884bfd79776c67 SHA512 0c7cf10f65fa2a595d226535b6cf08e0632686a9e61215ddf87f0631031ee0018a984cc2ad46faff66240c5546c2a1f07d96eb879cfa2b69c9f7fd6e93912bfa +EBUILD BlinkStick-1.2.0.ebuild 788 BLAKE2B df709fc1b2179073b9c0e9c8a2e629f0315fd1d0434c0fbddd2b2156dd4da2e66b7d292b4ab8e0d4eed8075e56281e9fcf79bcb62ba74ab1be8db7257f202e13 SHA512 8b4fe3e0e8032a3d71a7def4bd79281d025b1839bfca30a4f4d015460cf72d54dcfe7232783b42d351d6d21ac47f1757a84db50d21ba11ba085141417ae6071c MISC metadata.xml 463 BLAKE2B 5421a121da01649995ff97fe062b0951f017318faaf837ce562dc96deb7401d5d39ea9e4f62b824345706d56d86f68dc95aed165dcd174cb6af52a9041652fba SHA512 32b194ebf096ece52662337fada246f994e2e31f7b377ac26e648a9e2a6e5fda2aed8ca3c281d55c6e6ef548b09a14742fd3bcf506ec0a22f0c53a3dbcdd8ad8