dev-python/axis: remove olds, cleanup, 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 1669 Ebuilds in total, 1662 of them have in total 1674 (35 different) licenses assigned.
|
||||
There are 1668 Ebuilds in total, 1661 of them have in total 1673 (35 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|997|
|
||||
|MIT|996|
|
||||
|Apache-2.0|322|
|
||||
|GPL-3|100|
|
||||
|BSD|95|
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
DIST axis-43.tar.gz 31465 BLAKE2B afd3447fad5d71c79129fbacb80e97ece95f4ce03482fec7a9b049577912baae98ec1fdd236a6a5bda889264de153b390b256b60ce6d56cb37295032611fb987 SHA512 c63a21fcc4f2ca2086246d792d193c0714790848f77da3c749ba20bc7a144a89da49194ece8e325fbb97292744597192a8dffc44ddd325e6d2b808aa1d134100
|
||||
DIST axis-44.tar.gz 33307 BLAKE2B de56d60c2373e654330bcf28be39c2ea24e61d906d4b88c83790372e42352a8c3c19d44b3be944e5baaa04ada41996d71bf14dd7a9ddaf2646f14c48e20c3723 SHA512 09caeb4ff4ccd3b289eab3c297327154c2c153e1893b3a7de75f4e305c9a9207de48c3fada8372e35a033e627c53f58fd4f424945f14f75ac063f8b0c8d5b8a0
|
||||
EBUILD axis-43.ebuild 875 BLAKE2B 0ab43ddba7d0e6651bd57c16b870450f1cf186cd8acafa060d61fb135f6708414a4c993bd19d0b68295be43f0c2b70723ffcb37d8299469eec138a7148f799df SHA512 3885885e83a188074bc68df40771d4d8c245719650a300068e371a7c036157aa5715e3c9c170e4a182ecd9903fbae7699c3f883d29ed5a400ec16514808c257c
|
||||
EBUILD axis-44.ebuild 887 BLAKE2B 7591dc366fa31f5d88b7789621ec72e0c83b863c077a4fd8db6f0eaf0c40f7353b8f19999fa33237ab78d210f36b459be818678e82d77c67dd6c07fdce1b5e9a SHA512 cbea5f267525c78236e02143e55093ff9cce761c6b0a466ac758a2dc8fc9cc7f35b32149cebd90404b648424c19d0deedd157027d27b8c0255f25a22c66833da
|
||||
EBUILD axis-44.ebuild 894 BLAKE2B 2766fedfe906500341b7a75a14c0ce0b287a025445e4db06545ad2abf95f02d4f70b22c39fb6ebff3de727ed718cd5aa0ae9cbe29b6c522fa490363075d4a505 SHA512 97caa068d8d873e75ae8bc4395bd024a4f461ffeae95d0f47c2c0dca2972e3c365bfa8ff6c64e080f4a7aec169fc2b2802f5bc9ecff07deab26722eaa7d8b464
|
||||
MISC metadata.xml 464 BLAKE2B f280a794872370884f82ebf249fb13151ecbc3d87a3f7d15984b845cea1ab862d3e1df5298422a63708670c0881d2241c277eda508ed5e7071bab45dcc60c04c SHA512 0d74816d88359a4ef6991f1331b3b50fe2742c383fbd9a496bab14d7cd597cc50c5c8b4c730ed80e28207043bfabb80901b6f02fb20d4b50a1c31bf9287c34c3
|
||||
|
||||
@@ -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 Python library for communicating with devices from Axis Communications"
|
||||
HOMEPAGE="https://github.com/Kane610/axis https://pypi.org/project/axis/"
|
||||
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 )"
|
||||
|
||||
RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/httpx[${PYTHON_USEDEP}]
|
||||
dev-python/xmltodict[${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 )"
|
||||
|
||||
@@ -34,3 +34,5 @@ python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Reference in New Issue
Block a user