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

This commit is contained in:
Andreas Billmeier 2022-10-16 10:09:52 +02:00 committed by Andreas Billmeier
parent 342acb1c04
commit b844073e66
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 8 additions and 44 deletions

View File

@ -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 1613 Ebuilds in total, 1606 of them have in total 1618 (35 different) licenses assigned.
There are 1612 Ebuilds in total, 1605 of them have in total 1617 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|956|
|MIT|955|
|Apache-2.0|316|
|GPL-3|96|
|BSD|93|

View File

@ -1,5 +1,3 @@
DIST ismartgate-4.0.0.tar.gz 20526 BLAKE2B 249b5695678a4e27a0ff056afc8eed75024f9f02c5ea8f3bb42d2c6ccb8030cca925f67dc073cb5d1e53437b1279b9ad5e10ee1ee26638c622221f64b574c5b6 SHA512 416bc066d457381b87ed7b09876230bee8dd43b9bf3ad3b4851327a251ec37588cc28c678cf39a32b2b14264736fab7f93675dffe5f921a19a1c5deec3cfe1de
DIST ismartgate-4.0.4.tar.gz 20517 BLAKE2B 621c4deee22e3f6d56ab952e5438356cbd0d88d8e411eb79f3cd16438ca38ddd47c92bae7e6e2d51df04f7471ca027fca09147a9da68bc0024415110f5e418ee SHA512 0cfeb7988690aa664150b3408a0bfd22663a7d0a0a553e07d2db49b4e9c89e4b4d0faba5ceba14f15554dbc3ec0f21fda0a3ef899d4314285446d0f0ab524617
EBUILD ismartgate-4.0.0.ebuild 901 BLAKE2B 4e48ae387c8d69562afdc4d40e00f1c4d04f849f962c362937b4f5b4546dca7e5597739517f58c864b76d76fc6b3e851f54fd8fec7506787b601ba5b9ff52dd7 SHA512 5a54a3fe1fbd192fb743965bdc93bf7d8c983f6906cb49a564996cd1711365d51389a70e5311d885daba95474dc2b93343264dc28b4ccd1189c94664ddd429d6
EBUILD ismartgate-4.0.4.ebuild 895 BLAKE2B 2e9853cc75a121a08cf9f9d3ccf6dd3eb7adcda8b9629c64714744955cd3256225466bfbdd88a2b6f84f1db47773c20eb16561afaa5b0071fdd00d15f0e1f813 SHA512 56daed6278b4ddbad01c5539d74a01fcc4d0bc73ed6bb65588750c17e8bc93fbf7b3b9f1047bfe2d9acba6669f757d6dae507ea3c6d64879350049d30c3c0cc6
EBUILD ismartgate-4.0.4.ebuild 902 BLAKE2B 4121d22eb12ba90f75e11f37db6c036661f0bacba668d8919969a78429e64a5b81eb58114094ccf78e5859c2242948d3fdf3e97c97053eec5f4a6a1118caf3be SHA512 6835f156c3ec45195040fea14a0b4eb903a1e52bfb4fb9d6e210ee7687f89ef39ab36896d132511aab324f5e4020cf3a151472987e39a882829306fce6c0bd83
MISC metadata.xml 471 BLAKE2B 8fe9181b496829abed13b288978ce528f99806e09fa49f6387aaa8d86ac2171ccc24d71afa9a159913b9b8c4bccb843102d6f5bb3736b28d99e05c19311f40f3 SHA512 01b3f46d1a6b6f20b3be79023505c9e5c4968f7c070ef003e5b3745e09293dd53432cb697e4a8199aa597a8fe03bec0df69684a7163629bf57355fffc28a0693

View File

@ -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="iSmartGate and GogoGate2 API"
HOMEPAGE="https://github.com/bdraco/ismartgate https://pypi.org/project/ismartgate/"
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/dicttoxml-1.7.4[${PYTHON_USEDEP}]
>=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.9.8[${PYTHON_USEDEP}]
>=dev-python/httpx-0.18.0[${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
}

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=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 )"
@ -34,3 +34,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest