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

This commit is contained in:
Andreas Billmeier 2022-10-17 22:16:36 +02:00 committed by Andreas Billmeier
parent 2a52b477f1
commit 251d6b2949
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 7 additions and 8 deletions

View File

@ -1,3 +1,3 @@
DIST pyW215-0.7.0.tar.gz 5629 BLAKE2B 78e211a4cc9082a3b8cf9a68d5e76401d27abae1e8f2b65c03b03604b77a94f9fc8470d48fe32069c171ebda5ea38729940495a92cdddc0f42fb1868ef6871a1 SHA512 21e8f1a569f58517951a035d0fc7256b8592285b6efae67cdc953d1946cb91e748eb9ce90fac122e4328c1e020411c7873530a802a4f8dd6d952c49e8686a072
EBUILD pyW215-0.7.0.ebuild 721 BLAKE2B 918e906349687eadb6d4a1cc903b10febbae45ef6c46ab4a259737b6c78533d7ee368b1560dbd4fa19e7b908a6c56361f014387b8eb07cdda4948f2cb99fcebf SHA512 8024f1428468b102b33522bdd40b77149f632f3f0b126954bb3df4a801169c03ee6e28369dd81ff59cd3524e13b00ccbd99c4bf0c5862e4000fa515d709d656b
EBUILD pyW215-0.7.0.ebuild 647 BLAKE2B c0c3b5e0c232408ce84502935e7b044ed7eac5c186144de0ff0ceeddfbe50392787e031b06e6896523e905ea1403505e7efdfcad50f158882168e9b5048e26de SHA512 0ff99849c61d1f39431059541f8e9aa117fce7d2a335751fc3577b56e3e8520dde9a9efbc33dcfd2a0ce09f72f6bedb9f8b90a6a0ead92380c87d4b8dcd5f7d8
MISC metadata.xml 477 BLAKE2B 03324f2d788115fbda8291da98fa616b0e3526369af36599c749967d88a1d2f44285c45d457bce17c3b9e5a43191dcb12e61cf50de402dbc03466401ba402fa5 SHA512 a576b4946ded2333ab4186fb766570a8ae2eca12eda6b19ad3e126d6d60bb10813ce57d0d38c6077d2a6f8aff1807011f9838b9cfb20c14d8d503937c0e3a749

View File

@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@ -13,21 +13,20 @@ 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 )"
DOCS="README.rst"
RDEPEND=""
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
}
distutils_enable_tests pytest