dev-python/pyobihai: remove olds, cleanup, enable pytest
This commit is contained in:
parent
ef9e525da6
commit
c2ddc02d3e
@ -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 1538 Ebuilds in total, 1531 of them have in total 1543 (34 different) licenses assigned.
|
||||
There are 1537 Ebuilds in total, 1530 of them have in total 1542 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|903|
|
||||
|MIT|902|
|
||||
|Apache-2.0|308|
|
||||
|GPL-3|93|
|
||||
|BSD|89|
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
DIST pyobihai-1.3.1.tar.gz 2883 BLAKE2B 8c76c8fa5227d032c359c2215b8c69386c267f501ada76122966fa658f58de316a71a6c8fe537bb4f8cbad78cdd54de1054fe00a9f1d5890348865a07e56c3ae SHA512 8d817a4c79cfd240c7e6b4f0378104459c58171ea5069e906289fe688b782969a5856f80fd92b09b9c1eba6bb364296fde883b6e87aa7908873866f75898fa07
|
||||
DIST pyobihai-1.3.2.tar.gz 2712 BLAKE2B 7262e1cb73ac95d9f78f1f24549116c43be9ca22ed71c2097fde81a8b4ed781c300d959420ae71e8e9e882bb6d7b92959800fb39bf847ecd7e771616cfb0ceb4 SHA512 c0cd6c1d2696d8ffd2e126322976cc41ef7e55ff092c24287694fbc4b519badf712244a23a18b3aa380a839e01f036519c56ffb9b9cd1566640e19156fc84f57
|
||||
EBUILD pyobihai-1.3.1.ebuild 743 BLAKE2B 2037fd685abdb620ccfbb5819621dcef3de5ebef97d50c35317f9a10c631ef340a1253e721d7e0a0733c6dfaf5dc01dead9c8e049947b3838b675f4bf1b2e5c7 SHA512 7ff90137cf9e63de9d526284d6334c89590d975ffc59e5901f52817bc6df290863996ab31b9c70ff3d564bdc1ce5bc60a813c4c56b58a89307f7290583068fc6
|
||||
EBUILD pyobihai-1.3.2.ebuild 743 BLAKE2B 2037fd685abdb620ccfbb5819621dcef3de5ebef97d50c35317f9a10c631ef340a1253e721d7e0a0733c6dfaf5dc01dead9c8e049947b3838b675f4bf1b2e5c7 SHA512 7ff90137cf9e63de9d526284d6334c89590d975ffc59e5901f52817bc6df290863996ab31b9c70ff3d564bdc1ce5bc60a813c4c56b58a89307f7290583068fc6
|
||||
EBUILD pyobihai-1.3.2.ebuild 746 BLAKE2B 2d152a82c4f82c0f358fd3fd6fe64c185bcecd45d1805d7667ba1265a4f19ff7e213282b55315716ac4a74bfe5557e69a8a259959787849f10795f581406338a SHA512 e782248d1dec5c3726e994bd95ffc2ec83404ad499eded15833e3c64ab6828201b14b9c007c74c2fb38317b74c56d43bf9440c935022a6c5087986ae805a6c22
|
||||
MISC metadata.xml 455 BLAKE2B f9cc6614d84a6c9f96cc2a473a07a7b4bc1759b9ce7885cd5c1e20419242372d0d02856ab98ee967f18aa1151698c7359c0aff0a0f1a2b8336c88f93eb22bec5 SHA512 f0624bb0ed73103451afb47f7ea7d9a07997d81ca5652d9640c8791cf889f6d395e28e9aae12795b58a15ac0e54d1c58c2d257515f47c6d2c928568cb90cce3a
|
||||
|
||||
@ -1,33 +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="A Python wrapper for Obihai"
|
||||
HOMEPAGE="https://github.com/dshokouhi/pyobihai https://pypi.org/project/pyobihai/"
|
||||
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/requests[${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 )"
|
||||
|
||||
@ -31,3 +31,5 @@ python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user