dev-python/adax: enable pytest
This commit is contained in:
@@ -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 1692 Ebuilds in total, 1685 of them have in total 1697 (35 different) licenses assigned.
|
||||
There are 1691 Ebuilds in total, 1684 of them have in total 1696 (35 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1015|
|
||||
|MIT|1014|
|
||||
|Apache-2.0|326|
|
||||
|GPL-3|100|
|
||||
|BSD|96|
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
DIST adax-0.1.1.tar.gz 3867 BLAKE2B d19d15fa8e8f935e816a514e14ff7ca4a03198440d3a2f9b07ddf44bcbdc15d098eecd53e5dc335a4bf78ae9568fa14f6d8509a7dcc5fa9eb32f4ff629e70828 SHA512 9691c82695ca6cc45ceadb28052f93ce69eebb66ac1c861be6662f355496c9cce485b9e5d2ce9505be72f31750aed0db078233205fd3a80ca20ddf93a97fa095
|
||||
DIST adax-0.2.0.tar.gz 3840 BLAKE2B 03b1e26912f1ae32e585b594e6022375f617d3fe60790eeda62892ad7a89c641bb2371097101dd86ea82c06064f46d8137750e54a00673e0a04551f3f4af35e6 SHA512 0e59ea80972926022afec42d9fb7ee69b89f89fe6b5a914cbde4bc910670e04d0a8b280cfa50dbe1b2b16b3d03ea19af2f8ab5f415d1402781cf9517a23d5665
|
||||
EBUILD adax-0.1.1.ebuild 809 BLAKE2B 0f27e9c1ec0c1f5e92d2df960ee071bccc01eee95743bf4c53f6956becffedc8e23ba3ef693e92a9f4df05d9666b7f11f83aae5e3d16e95c6d681b49f570e5a6 SHA512 e027d38626de7962395273c895aa89fec228a771f41bf16dc69603c6436ac43871fb1ff38a01d320d32d291d1a9803ec94806b83dfc0636463340867efe10ced
|
||||
EBUILD adax-0.2.0.ebuild 807 BLAKE2B 06fcf532dfaa175d465b5139013ca9bc9a4fa67095c0acaa95744aeacdee8e4c253d483bce8cabea348ce36bdb2a41dce1502ad451802340107f2657cc09a896 SHA512 74c51db80d06b37a33ca5763cd6318bf9185ed53f17aa76186d801d1aac176a558094a58da855574377c65e6e263b3751fa984dac5431d07e84085f59f0cde80
|
||||
EBUILD adax-0.2.0.ebuild 810 BLAKE2B 736ba56756eac2b3b1b737ae4cdc343fd8fefa89e626f81ee49ce47d2080af67988f99c54f60f2e07bb600f2eb37bb63a883c92f43695257ef3da8933a6750df SHA512 90aaa62d75a55a10aafb7f88f1af0ba67ac62833f9201f68b7af1134531a9e9aaa012f51b2d533674c2de0417eb5de485a92b9bb51cb9c0efaaf2564c91327ec
|
||||
MISC metadata.xml 453 BLAKE2B 9b6876762bdd83808ced26b24461437fdf1f71b27fb60d650a1ab83a0761e6a69e581873748012a2de275eada8942a9361dd2632efdc42fa09bcb104e44d0889 SHA512 677432cc4268a37e531c12bcc6abb6ecdabd3b2fcb34a942c1e6b63f7d0a6f58de484759e7332db4977179129d292c4caab8bf5c77e1ea54411331b3f0e7a0d9
|
||||
|
||||
@@ -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="A python3 library to communicate with Adax"
|
||||
HOMEPAGE="https://github.com/Danielhiversen/pyAdax https://pypi.org/project/adax/"
|
||||
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=""
|
||||
|
||||
RDEPEND=">=dev-python/aiohttp-3.0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/async-timeout-1.4.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
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user