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

This commit is contained in:
2022-10-16 15:53:34 +02:00
committed by Andreas Billmeier
parent 74a12e3714
commit 007597c2a2
4 changed files with 7 additions and 41 deletions

View File

@@ -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 1572 Ebuilds in total, 1565 of them have in total 1577 (34 different) licenses assigned.
There are 1571 Ebuilds in total, 1564 of them have in total 1576 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|930|
|Apache-2.0|311|
|Apache-2.0|310|
|GPL-3|95|
|BSD|90|
|LGPL-3|26|

View File

@@ -1,5 +1,3 @@
DIST proliphix-0.4.1.tar.gz 16971 BLAKE2B d6280fe2bfe11ce6fa01710d91e3dcd5b376cb0462292015c5766d4c6aaaf29ef8a2ad2918ec0af0b03f23889fd11488db544fe220efbfc3709ad716894ca137 SHA512 59f8a2c588d9a740aa73c1c4f6da3d02fff2e918c6aef2b4c4c2e4061b396e326cea849723ed90170286bdf7d73e6ec3f8c683e903ece2e662319a197058d25a
DIST proliphix-0.5.0.tar.gz 17274 BLAKE2B 316cc05cb5d63ae02a6e10db9bfd29e328d07ab8aa81b57d8ea4136369c92229cefe9faf0b1e0f8eca9cac63d95cffb88485d4eb03c181ec60b42d06f78eaae7 SHA512 a552cebd6b1f94484d3e480780c1c7d5d3fbcfae36d7f00a6f954c47f54f116e7e116bd9a0ac30faa9f9443e35a7362592d3974652f08396a8aac3308d5a0f41
EBUILD proliphix-0.4.1.ebuild 784 BLAKE2B 2756b404838eab3c7b9bc9675f5b21d8d1e5608df1aee8fa8df5c290dc4396ec56ca303e329085a35515cd6c04c35b16c0daba9c49b98870d2b0ed11ae36dd7c SHA512 47673fa672cff36ee9656db66613f3549290b4e73aee674b88e1936c4c54afb8dc98ef64d97bed5ebf43996b1c09403a3376657a4762172c58abf35f099aaded
EBUILD proliphix-0.5.0.ebuild 784 BLAKE2B 2756b404838eab3c7b9bc9675f5b21d8d1e5608df1aee8fa8df5c290dc4396ec56ca303e329085a35515cd6c04c35b16c0daba9c49b98870d2b0ed11ae36dd7c SHA512 47673fa672cff36ee9656db66613f3549290b4e73aee674b88e1936c4c54afb8dc98ef64d97bed5ebf43996b1c09403a3376657a4762172c58abf35f099aaded
EBUILD proliphix-0.4.1.ebuild 755 BLAKE2B 84f3113afc2b49868e36e3c0b1e40d00a40f064fd9836d81e1bf6e81fe1533321e12390986c297a22d1ee7814749911244547961dfb6f472c9e313c5539a8e8b SHA512 b1cbd7d3883b81d7611583f51d5e2c340cfefd2c03ca115572c0ecab0d20a4a5dcb05ff9e3109a8ddb5f6bbdad006edade60cee1ba318d94b16070c6f80a615a
MISC metadata.xml 446 BLAKE2B e044fe52e30a10df246694fc00000d35807a36ffb956f9cf67f76d14784ea94462d93d733bb983c8498df287efc53cce2db971d83a38f3309a0c20f701b4c353 SHA512 f9a37ae8f7527f5c7d6aef17487eb5193d28c1da52adc5fe62ad128cc297b9017aac033ceaccebc4bfd58b2643087e73dea203439259d495a3d5515f55ed93d3

View File

@@ -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..9} )
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 )"

View File

@@ -1,32 +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="API for Proliphix nt10e network thermostat."
HOMEPAGE="https://github.com/sdague/proliphix https://pypi.org/project/proliphix/"
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 )"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}