dev-python/ambee: remove olds, cleanup, enable pytest
This commit is contained in:
parent
346dc9b510
commit
8b8eeafb26
@ -538,11 +538,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 1674 Ebuilds in total, 1667 of them have in total 1679 (35 different) licenses assigned.
|
||||
There are 1673 Ebuilds in total, 1666 of them have in total 1678 (35 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1000|
|
||||
|MIT|999|
|
||||
|Apache-2.0|323|
|
||||
|GPL-3|100|
|
||||
|BSD|96|
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
DIST ambee-0.3.0.tar.gz 11119 BLAKE2B 9bc0032cdf9584ce3cf03925cbfa8ea3bb16962451287546c7868a1ddfcd4ae6735a1ab39364353e7f11d462bdf2dd4b30d7b547e3738f868cdf8dc068d20db6 SHA512 3702181d561c89808902e66db9c15498d4bcbbefe8895554ab3dc301d1ed1500ce7631fd1a3b0d26fa3e0985ec764a5d8e3111df4f3e276864c95d5e2f97c899
|
||||
DIST ambee-0.4.0.tar.gz 11158 BLAKE2B 091eab6e9287db054b96564c37841751b1564f4f8ef514f7d30456a124bb1e1430c63ecbc703d094c60df1fd4fb2b3de411de6b6e6dbc318fa14e209e65c7a5b SHA512 5b6ef035db1376dbe10aa2041ff093813c3f2c12726c15d8018e972fede3c4e6ac1f26d6b794f22f7277d24a4b5254b376d1836a9c8287b3faeb7c8efee17594
|
||||
EBUILD ambee-0.3.0.ebuild 795 BLAKE2B 0d0dd425fceaa2c9f5597003ce284f3ebd541bc5daef898a29747b1b8e59a413e04a3427cab94ba58a5566e5252e9490cc2c43021d90244ae9e8e6efe1384c69 SHA512 de8149e057be79820c9e1f56635d9e86b615310c9e6868b98e8a35999079299c5c49b3b49371e1db87cca0947057fa0b3c37ed68eccc8d241071f4d8c20134fb
|
||||
EBUILD ambee-0.4.0.ebuild 793 BLAKE2B e80f17021de381932a128d2c09b02e962d796b518901fe5bc56c6f568af21af2e31eb48ed388c6676fcae70fec64bdbccdbe7921fbbd9ade0e91c2e24696c015 SHA512 f52a3d0a7325d410365c489400562440ca86e118ab0517a31c55e81878b0df676aaa3165f3f7c7d524fa2a11ba1c76e4e4d3140645e13e956618ff1b4f95d403
|
||||
EBUILD ambee-0.4.0.ebuild 796 BLAKE2B 1bc7298c6238d944d47bef448b9947a1faf6a5c370b0784e8470ecb963a2793c8ab63b70c3dfc20e7d62079e63c208c1e15e3f1cb08b58cbf8dd047c17dbd961 SHA512 ab4eae356fe0c1e2956c492f700f0bc4125b3bc74226a82af2984d66f374d0faf158c4d8081442a355695f99fe2353acd16273361ddc7227ad39c0b20c4ae913
|
||||
MISC metadata.xml 452 BLAKE2B bda28169d3eea5ad55b6d2adc8409141e729f95e537eb1af01ade8ab357ef3ed62c8af1d21bb48c113c02e95d9c35039402463179f494564d0abeccccae1fa7b SHA512 5b30404850fc8a4b77870ab222d70aa70daa826c86be237c11f52446c3b2a8730e921f2a5212140f5c04a45a7b71a92cee349da05f7f0db111f49cc475b9c49a
|
||||
|
||||
@ -1,34 +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="Asynchronous Python client for the Ambee API."
|
||||
HOMEPAGE="https://github.com/frenck/python-ambee https://pypi.org/project/ambee/"
|
||||
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="dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/yarl[${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=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="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@ -32,3 +32,5 @@ python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user