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

This commit is contained in:
2022-10-16 17:49:39 +02:00
committed by Andreas Billmeier
parent 7a0de2ea4e
commit 3e85ec01b6
4 changed files with 7 additions and 41 deletions

View File

@@ -547,11 +547,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 1551 Ebuilds in total, 1544 of them have in total 1556 (34 different) licenses assigned.
There are 1550 Ebuilds in total, 1543 of them have in total 1555 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|914|
|MIT|913|
|Apache-2.0|308|
|GPL-3|95|
|BSD|89|

View File

@@ -1,5 +1,3 @@
DIST pyiqvia-2021.11.0.tar.gz 6512 BLAKE2B 1314a0f067b77e1999e7880f26bca74a415c9378e4946795c56a3de2c9d8f43da4e611111b8a88c1057873c5012b73ed42a16efd4aeca95a3f3625b9c522cab0 SHA512 6aeae5dd9fae5814e6ca1e81818331c86e2609acdbfe5799a0ddbc7f66013a6967f0f1948b83608e5e35aaa47d85dae195f581ede16c9b59d3667f8be63c391d
DIST pyiqvia-2022.4.0.tar.gz 6491 BLAKE2B 40c818853882e2516ae63e327500b6652935d84252c40fb08116430bd5e4f364d26f57b673595a3118b62b93ee3f12f9bbaaadeff6c3bc0f3eba714fb47d2d0b SHA512 0dc4e50c920b2ebb11a345f773fd73552c981ee45989c9f50cda3135e0cff0eec3434b90f83f984c279f14ff4e8fc1836a45c4642ef1aa9a3b39d8e182f97ea6
EBUILD pyiqvia-2021.11.0.ebuild 809 BLAKE2B 4e5a94b4a0e24d3f7ab3b84cf0ac1975b824f2b29c3c41d0731fa5a4552386b3b045659f0050eb32018cf5946fe1c7bc141b0aadea6d2ea8581ab5e8030ab4b2 SHA512 8aae573c0b7e2e42dbada6e988cac9946cebc14f6929380fd0eb45d2d2567f859eb88ad8d5fb60c5173d0939ac71ff946ffb83084c8c1824cbf64b21206aacb4
EBUILD pyiqvia-2022.4.0.ebuild 856 BLAKE2B 8b8a4f411e3c001cf10a2b42eb4785dc62d8333201fb66ecd79c487a9db4f21f609cac9df9247bcbb8e3e5e1d2a90b7f9984bdee96d176414667aebf41f57730 SHA512 8cbb304548c1d4df3fdb3b3e74c33dea1842333bcb83bba1842d71db34940dd955f92c0fc8f2815ac072b320c6fb02557470d9056af9aeecd9dcdf02190bd158
EBUILD pyiqvia-2022.4.0.ebuild 863 BLAKE2B 869838d0dc8653956c86cb59070870dcd0b6cc297376b1fdc8a5cab7c23e92230e6605e875d830ee824f8860e3b5912c149300ae74a267de194a3ceb68b7cedd SHA512 32de3894ae71fae072d804324ac23438dd78a6aa05439206832dd7125b1e2aa4a23e2caea9ac6c5577cd076cc0e0e0749967223c446211507f0d7354dffe277c
MISC metadata.xml 450 BLAKE2B e58794bddcb73aa71d683d8588322d0aac85fe704d50076ad06b1d9956267142331722c8d0236037a10096f8ae59272b5c006f19d90bad967b68b275a30712e8 SHA512 15ef2ed2134e7940dee94413ef70c88cf869ad6238c287c2664e47d816222ffbbccac4f01d7f05d5b3f70c9e93696f1ce987108e21f3e49ff90825b33a9aa220

View File

@@ -1,34 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="A clean, async-focused Python3 API for IQVIA data"
HOMEPAGE="https://github.com/bachya/pyiqvia https://pypi.org/project/pyiqvia/"
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-3.8.0[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-aiohttp[${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 )"
@@ -33,3 +33,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest