dev-python/flipr-api: remove olds, cleanup, enable pytest

This commit is contained in:
2022-10-16 08:22:53 +02:00
committed by Andreas Billmeier
parent d9c0d23c2c
commit 633614c04f
4 changed files with 7 additions and 41 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 1639 Ebuilds in total, 1632 of them have in total 1644 (35 different) licenses assigned.
There are 1638 Ebuilds in total, 1631 of them have in total 1643 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|973|
|MIT|972|
|Apache-2.0|320|
|GPL-3|99|
|BSD|94|

View File

@@ -1,5 +1,3 @@
DIST flipr-api-1.4.1.tar.gz 7126 BLAKE2B 6c1278646d6481939854c745c97b6721b825b69d5173fd36a28bbac8be408a66f67a61ff37b07f61895ba7dc3b341d3435485b57046768e2a0efad8f23eeacd2 SHA512 373901517c75a1a4b5bff3121e05d1cdf79a5e5e99b2c1f05dad65afd401d60f527e14d0bc22ab4de40a4143285dc9cd28379eb996cf849306e14e42a2bb850d
DIST flipr-api-1.4.2.tar.gz 7371 BLAKE2B dd45f734f0722eb04c770c63748a3d92c5cf48b76027fb8d9f174e3370427049e0c6fedbfccaf372d804aaf6e9d9c5c2d197559eda73a357eee420d73f653911 SHA512 a994da132b9604bcfb42242213760424d1c7f076bc802a94f7622a31eae194029aba5e06aeeac74a7267f776aba4e55d1411278c96b9b5270532747a9d80ffaf
EBUILD flipr-api-1.4.1.ebuild 806 BLAKE2B 931a0cc5ce92b822695e084a9f671de2a2d9cc7a695cb45023abe42834c7a9a7458c02a5dcd4dc9dd60f3d428fe6a9dc89ce8aa5cadad2fd39ed21467275a388 SHA512 f70ec561b99ab3a6d519bce31effc159218fa81d8aaecb0a35f705b8650b1403fc695533a3c6b30db1bdba03d6d2f6e0716589ecf7ebba875ebde537c464e75a
EBUILD flipr-api-1.4.2.ebuild 806 BLAKE2B 931a0cc5ce92b822695e084a9f671de2a2d9cc7a695cb45023abe42834c7a9a7458c02a5dcd4dc9dd60f3d428fe6a9dc89ce8aa5cadad2fd39ed21467275a388 SHA512 f70ec561b99ab3a6d519bce31effc159218fa81d8aaecb0a35f705b8650b1403fc695533a3c6b30db1bdba03d6d2f6e0716589ecf7ebba875ebde537c464e75a
EBUILD flipr-api-1.4.2.ebuild 809 BLAKE2B 931c8d13d6cceb7b6cecc676b75ce29de72e40be3d1ab47ac9fa3585da39d66b88c7aa81d288bfb9a94ea18160a4dfab93b969a73be227e16c94dfa9c15770e3 SHA512 dbff685acb7d53e60d5cb9ad8bdb883aca9ec532ab0c78afead17c2bc3b71a02c0c75a201e163b852b1accac85be6150c7bdd4db4c7565681c6cd993bc525c9b
MISC metadata.xml 328 BLAKE2B 27aa090359075ec2d3613b35fa147c90d7b08a0d231e8a58a35dd2f4a5b5cab8f2c35078daac30c6575b93572c38b5b586dc122a19839d9faf8931310d65a15a SHA512 9a8a93a565b1869156187da4e3d1e2de0e622d2bc4e1b681bc0b90d85bccd40a74e37729af015beee870da9317dfc2121d5c9deb3f9af0bdc4da7134b888a9b1

View File

@@ -1,34 +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 client for flipr API."
HOMEPAGE="https://github.com/cnico/flipr-api https://pypi.org/project/flipr-api/"
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.rst"
RDEPEND=">=dev-python/requests-2.25.0[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.7.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

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