dev-python/pyzerproc: remove olds, cleanup, enable pytest
This commit is contained in:
parent
a868fe3546
commit
ae48af1620
@ -547,12 +547,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 1508 Ebuilds in total, 1501 of them have in total 1512 (34 different) licenses assigned.
|
||||
There are 1507 Ebuilds in total, 1500 of them have in total 1511 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|883|
|
||||
|Apache-2.0|307|
|
||||
|Apache-2.0|306|
|
||||
|GPL-3|91|
|
||||
|BSD|89|
|
||||
|LGPL-3|22|
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
DIST pyzerproc-0.4.7.tar.gz 13088 BLAKE2B 43dfeffed4529a011bb0b559c730191f55054b7658844c4d374c89328eee16e2d11d6849e01818849cea8aea2b87104a1d37c69ce50523b841d0d659736952bd SHA512 fe00ee0461e6e74f7ef544353cfae37eda22fbcd4592d526035e91321df7604e9ce9a0b1e5b8aa8721b9ff9f6105c5a66728a2bf5adfdb81fa8cbfce563d445e
|
||||
DIST pyzerproc-0.4.8.tar.gz 13239 BLAKE2B 50f0575168c74d500a7d44e7101e6d2a5cbecabbbaabdbff90ec2d130700eded9322076e285d28f4ff36724bac8a582add92bd382e6d4dd54145bb97803e9648 SHA512 5eddebd5e48226286b2fa360ede55f6688f594e4b9296e2cb53384ab17bed2d7e351109d3856e67055cda7932550905b7bb5394e5ea02068c512a299f4d08139
|
||||
EBUILD pyzerproc-0.4.7.ebuild 839 BLAKE2B df35852ef198f742333d6828e180af85e75bf230d93a571d4ebcb5927c7ed6adf40a01b9d6bbccb0af891e1de84968eca8fdeaac58f44d2d469c24645fc48126 SHA512 23a05b80decf1494a7d830f42ec7820ce55397d7d37475bce3674658296322ea4ce479ebadc8897ff8d68c64c38b3627e20e6429f28ce9f7de75f945eab0f5a7
|
||||
EBUILD pyzerproc-0.4.8.ebuild 835 BLAKE2B e60f1fe9a09b1eb72f8a738e692a1957ec7eb0def45b497477ede45073ee9c2c0b1c0e4d7523f2f12f1d8430c8e9d78c680d107158fe0b88bb10d6d9c6414925 SHA512 0153e58e3cb2b236b84d45ee471d31ca717470c05e155c525e014b5ab19ec7a06b7b2755fc86578eb9f399b0435b3d40491abe994bc2bf208580be81b7dd5c55
|
||||
EBUILD pyzerproc-0.4.8.ebuild 776 BLAKE2B 3e297050cc0963b4065d46dcc9858acc803dcf8897962a14dbca8074d5178f021249638e0c1c7616405396903840147df9f68d7895f0d1544018c1bd6773a7d3 SHA512 5f97019f163f65ada5e12fb7cbece1c63c97afb9073ed27df274ede2d262472d83c53738e69a98c9cc73cad0a375aa6701e7bf8154d95254f7f7047ccf091943
|
||||
MISC metadata.xml 448 BLAKE2B ae1a6d965d8e780477725d3c0a6f1b051bd39977c84684d5b9fc7b698d1b2eeecf761e9fe25c6cb1f365e09ea6ad55ee929a1fce2bdaaeb5cff0da9884418f47 SHA512 6bdd00efa1d50a3df2fe1d3df8cbb253e7724fb69691e290a708d724ccacccd8c36e7096b961878a4d5c0af007b188fa7bc167504272bcee84c07c937f99c9b0
|
||||
|
||||
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Async library to control Zerproc Bluetooth LED smart string lights"
|
||||
HOMEPAGE="https://github.com/emlove/pyzerproc https://pypi.org/project/pyzerproc/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.rst"
|
||||
|
||||
RDEPEND=">=dev-python/click-7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/bleak-0.10.0[${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
|
||||
}
|
||||
@ -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="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@ -24,11 +24,11 @@ RDEPEND=">=dev-python/click-7.0[${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
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user