dev-python/teslajsonpy: remove olds, cleanup, enable pytest
This commit is contained in:
parent
5e8c9c1ad0
commit
35be1aa025
@ -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 1472 Ebuilds in total, 1465 of them have in total 1475 (34 different) licenses assigned.
|
||||
There are 1471 Ebuilds in total, 1464 of them have in total 1474 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|856|
|
||||
|Apache-2.0|300|
|
||||
|Apache-2.0|299|
|
||||
|GPL-3|91|
|
||||
|BSD|89|
|
||||
|LGPL-3|22|
|
||||
|
@ -1,5 +1,3 @@
|
||||
DIST teslajsonpy-0.11.5.tar.gz 54658 BLAKE2B d5ae97d389e1afd797cc323b04e2280c628b54081a55309c726c8554b659c9436b953d3aca1d3ea3266677d70585ded009d37b39d8e534f914c20a9c461332a5 SHA512 2e4b7033fcf31f2aca59b5e8aa9db5a1d58ab4df7fee90d1c74a72b764e4780379a0de7371229f96992ed0e2937a726500b961ffe8de7d387cb95fa83da120b6
|
||||
DIST teslajsonpy-0.18.3.tar.gz 33504 BLAKE2B 6e68ca5040e79bf912e879c5c2c6b4ea63d8c2362bee5a728fe175dcac7e7c1ca04c0f07d08c5f0d0e5736a7a2ed7aeed408e8e0dcc8e7f1a8977c29c1ad270c SHA512 93839159c48f0cc9c61d441aeb709f5056af7b96695733fe48cb7fbf0ac43dda5f8ab77f7314f9563467ff12c33c4a1684610eafa11568f1cf4d530a751bee7e
|
||||
EBUILD teslajsonpy-0.11.5.ebuild 881 BLAKE2B 3b24cb61e7442d610a14cc3b5e1a9cd9213fc325f710a8e3eac2b430f2f4e07018793fee56578954d6d8e08213b716d86849952a496f4ff351c8d7f88e4206e0 SHA512 b857bdf1b2531e44efdb1bb14d0be1b28c9f510a165455fb83d447e89bcea30a390e97146d2477a839cd33311c8ff2fb39c418777a6b63429bc4ace3edec2868
|
||||
EBUILD teslajsonpy-0.18.3.ebuild 913 BLAKE2B 973325f9b978e53eec5f8633e0135ba53ef3722ec67db0c1017661f5c690bcbe34e14437d4a925f69c8e19124c2152801ea10f5daba308e0897a32a28632c2a3 SHA512 e7872353fe48ac30b67d15e36916cc32c1506d3ce2179c5cdc5c31855b8fc1f44a7103375447c63fea0d0bed63365638f0b909005d5cf574fb437b00613d451c
|
||||
EBUILD teslajsonpy-0.18.3.ebuild 854 BLAKE2B accb3386d19aa87b57fe5ac9cfa22290dcc83b17c002564baa21768dba6ccffdf32afef08ea00e79992ff5d092b935daf8f98dabe67aaa300f9feb1f4fabdc70 SHA512 2febb5136cea897974eeeec951340922ea4f541d27f1511b31c732f5854691d4d5ff21817ee19b7378e0171ad8290c822961c3fa00c94b74cace3bcd6164f93e
|
||||
MISC metadata.xml 465 BLAKE2B a1aeac68044959e7caf0604b7e62aa5e392457b39837f3b11d3216998afc1080401f52e53ac4c8343ce8f6252572c79f3c3a754bc5a9f95db514e958c92ab6b4 SHA512 a53cc9d47775c4eb2b9888b90ce8bac7861e2002ba90ea5f6e0131fa3e122fa57d1523c471dd0d8b5b0a29e52f0b0caf6721705fef12e680ef11d5acc4ca58a5
|
||||
|
@ -1,36 +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="A library to work with Tesla API."
|
||||
HOMEPAGE="https://github.com/zabuldon/teslajsonpy https://pypi.org/project/teslajsonpy/"
|
||||
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.md"
|
||||
|
||||
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/backoff[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/wrapt[${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 )"
|
||||
|
||||
@ -27,11 +27,11 @@ RDEPEND="dev-python/aiohttp[${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