dev-python/pylutron: remove olds, cleanup, enable pytest
This commit is contained in:
parent
6c3a5b30c5
commit
b7a5161450
@ -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 1546 Ebuilds in total, 1539 of them have in total 1551 (34 different) licenses assigned.
|
||||
There are 1545 Ebuilds in total, 1538 of them have in total 1550 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|909|
|
||||
|MIT|908|
|
||||
|Apache-2.0|308|
|
||||
|GPL-3|95|
|
||||
|BSD|89|
|
||||
|
@ -1,5 +1,3 @@
|
||||
DIST pylutron-0.2.7.tar.gz 12988 BLAKE2B 8c1fedcb38de86787e89b3c35e7150d1f4151d6cc2a3715ec92f7db969b2f26edbfd8d4854abdf2655f9ac71451f76ae63746ab8c979fabc646708c2f3e8b635 SHA512 ae2e65f537f639fee867df72ba04da75e7f151f8482aca7e770e9f9be26e47727107dd360ea17ac9c153efb99057f0daabf898139d5e31fb8c6dfe2ebcc27a03
|
||||
DIST pylutron-0.2.8.tar.gz 14213 BLAKE2B f2d57861d6085d98d2f187ea1293039662fee512a086fd87ffdcfdffc3eade00831269b7e3ffc47ef76f2615418358603b52543225ef135f9a6a08f5694a1768 SHA512 d53292a78d180fa8dcac613b07884c71ba700d106ab0d2f5f06bfcdbbff20cdce5d878feac6d8fe9f732c5a77ae8ebda97debbed6dad102031d8fc6c5ec6ae15
|
||||
EBUILD pylutron-0.2.7.ebuild 705 BLAKE2B 81cc874639cb8d09ac1a54cf960689ccae29301b55f75d7c7ce6a31ba4e5f7529acc51d3c70101c54ab40ef53014350695898470fdf4771e203beacc7b9a18b5 SHA512 5c14050886fb8dfb4d7762239f7b885efe9148b80ce5d99d46871d94b4e0ad15c425d1a4c3d6dda1c6b9c3ca491b34c2752fd9d8b20409ab3db9e57920ac24b6
|
||||
EBUILD pylutron-0.2.8.ebuild 706 BLAKE2B e45aec43467ec4262f1d12b6b25695b40814977c1bbb112cbf00360fe62a4e4c776cf49f5f1b3b19a1231929ef4812b2b5ba95151066c7757d8e04c8f5015bad SHA512 23fc389438734d672d02dba7dc16a4e6e71c645877c3cef9a67c14b65348a04334b0ee172c55d31334a97d54896a28267e99efe0004152411dd1979e9cad8715
|
||||
EBUILD pylutron-0.2.8.ebuild 705 BLAKE2B 2c6b71bf704ba309bd4c5b975bcc9d9dc3a9c5a7a0ed8e54a75074acc7dc922a13b15031f1eaba6a424bc2d89c6d4bbb8250882fdd8308436f885c6a0b0bb0e4 SHA512 284cd99c085baf464995030c0d43db8d04cfd35fb80e0ab59c21603e01f2cfad376fd53beb694fcd181c995ba5ddebfe2cce384580b6137e807a53ba77bb89b8
|
||||
MISC metadata.xml 449 BLAKE2B 1800005f0c715cafcd594bd9c77a426cd670771c4b986119ba50451cd905d6a48d5902c255ca14bc165c5f642bc5f7c1ed5e698fc58be38c1f3c03cb90c9d734 SHA512 0541fa6dd583f87fdbef4ee83bfb574733330f96514906938330283507e52c9505d8cbe531985a2281720ef51e80abdd99a16933ecb01b8557aecd7d6fa74665
|
||||
|
@ -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..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library for Lutron RadioRA 2"
|
||||
HOMEPAGE="https://github.com/thecynic/pylutron https://pypi.org/project/pylutron/"
|
||||
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=""
|
||||
|
||||
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
|
||||
}
|
@ -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,13 +13,12 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.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
|
||||
|
Loading…
x
Reference in New Issue
Block a user