dev-python/lightwave: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-16 10:50:56 +02:00 committed by Andreas Billmeier
parent f21cb001b8
commit cc1153c10b
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 41 deletions

View File

@ -546,11 +546,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 1605 Ebuilds in total, 1598 of them have in total 1610 (34 different) licenses assigned.
There are 1604 Ebuilds in total, 1597 of them have in total 1609 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|953|
|MIT|952|
|Apache-2.0|316|
|GPL-3|96|
|BSD|90|

View File

@ -1,5 +1,3 @@
DIST lightwave-0.19.tar.gz 4368 BLAKE2B 62a03816bfaae069655d3301d9de8d1e9a3d4fbd693780b33256045ee5f73108270bcfa3bc6f60d3925c0da23b9352a88fb6a2f7c727d539dc300fb778e3aa19 SHA512 1092ecb016b6beff78808c83d1df82cd69c3ea6f914a18957af1d2c430971d66a137fe3513d969a2b8c323ab493c6c57736a164d1a490028f6b1632a601c0b61
DIST lightwave-0.20.tar.gz 5099 BLAKE2B 054f9517d3e5d7b9ccd4d0203e1c56413a9936466ab231b2ff84c0ef314c5dfe7e8e442eaecd92e1552c09d80243af1d9ea3ee817e91f4fa56ed8396af7a7ea0 SHA512 e7efadd7bc3e0d157167fa897cb7629c2a2762eaddc969617a48699a0b6cd51980eec1e106073fdba3a91d28aa68d32529142568d3befd2c6fc52590b5626936
EBUILD lightwave-0.19.ebuild 782 BLAKE2B 48e885ee3c7e1f4550cf5bf4c6182ae4ce6ffc764607608cdc9cc4763f70d04048ea10b23961db096e2730a0269df6b68128c27d62b6f219695c3e8d76d797f8 SHA512 ab245c54081765366b4ed7170addfbdcd6965c1f731f3255a0d80318462d4d7c0f79c7d63826fdd7ef7e999ca3db1757057716db25decaaca89d9c3819509488
EBUILD lightwave-0.20.ebuild 782 BLAKE2B 48e885ee3c7e1f4550cf5bf4c6182ae4ce6ffc764607608cdc9cc4763f70d04048ea10b23961db096e2730a0269df6b68128c27d62b6f219695c3e8d76d797f8 SHA512 ab245c54081765366b4ed7170addfbdcd6965c1f731f3255a0d80318462d4d7c0f79c7d63826fdd7ef7e999ca3db1757057716db25decaaca89d9c3819509488
EBUILD lightwave-0.20.ebuild 774 BLAKE2B 9ee6fea6ce8c600e46fc844a7bf58f665eb4fa145fe1b4506f864c453585b806bedb0a7ef70a89196ea110031a77805c85c259975e4544eac248ec25cf6f186b SHA512 d8985a20f6c3f2a44809a2209d1ccee9cdc63a84e54b8056b882c83dcfdfe81fccc6bcdb9322fc1eb056174af8bbe288eadfe7d7d415021a2891f40179662a8b
MISC metadata.xml 451 BLAKE2B 95670c1ffb9850a39b3ebcfa4697abe87868baa42a79fcd6e259a83cc2843c0cd2cdc3e1f5c9740c880426a79d0275c1eb02db31b5fec4df1df7c499927084c5 SHA512 bf282c9b632401f4f224172152af70465b70266c8bf6e09060cd68cc9891e88ae2eebeb8f3a7650938fbf48783465580c7723b7c02713d270121c3bd2975bc16

View File

@ -1,33 +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="Python library to provide a reliable communication link with LightWaveRF lights, switches and TRVs."
HOMEPAGE="https://github.com/GeoffAtHome/lightwave https://pypi.org/project/lightwave/"
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="README.md"
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
}

View File

@ -3,7 +3,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="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