dev-python/pyvlx: remove olds, cleanup, enable pytest
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
DIST pyvlx-0.2.19.tar.gz 38172 BLAKE2B af193f98f096191e2fa57f57f2a051a9371213faf10514aeca0c33e3bfb52db2e3ad0958eac6f6a12ee7645346de63a695d4b164c8c6bebd9205377d16c0be5a SHA512 6acb8d5f2a8d18c8263a8d56f126c2cc47245e8e9cb9f61334047598fd80dc292f7d7f27fa722142cfd2836e5f7d2cc5d9c0d73975918154ef091585f57fe5b4
|
||||
DIST pyvlx-0.2.20.tar.gz 42781 BLAKE2B 2f989cd8524329b4a79f34c687511a4a2771969c377d20336ff0fe41fb8b3c0b17a2de8bb5ae13971bf4a6916e7eb899ea09f51e0b95c920489e1c6c91b7a346 SHA512 5c07c274749b5dbfa21f03e60da615fba8e03ef2c529b9c9b6f41a83a572d3fdcdb865c751aa89e0f1154a059cfe797f4fb9f3072221db3b61880f8e01e108c3
|
||||
EBUILD pyvlx-0.2.19.ebuild 798 BLAKE2B 429dcccd76d0f371ab01db6bb5ee174a8b88f239fe3eaeac0282214e4b89bc2347afaa340bf88815f9eb6a7cc5a0b5c74b0c96d00686260f569fd2d4431b5b53 SHA512 8a7197213721546c151fb85a6dc9a7b5fd2924ab40806eb925ed5c9fffad124b52622ecbcafc8cafb7284cbc34ee2730a7469d609cd29b1d042136aa2027b91c
|
||||
EBUILD pyvlx-0.2.20.ebuild 798 BLAKE2B 429dcccd76d0f371ab01db6bb5ee174a8b88f239fe3eaeac0282214e4b89bc2347afaa340bf88815f9eb6a7cc5a0b5c74b0c96d00686260f569fd2d4431b5b53 SHA512 8a7197213721546c151fb85a6dc9a7b5fd2924ab40806eb925ed5c9fffad124b52622ecbcafc8cafb7284cbc34ee2730a7469d609cd29b1d042136aa2027b91c
|
||||
EBUILD pyvlx-0.2.20.ebuild 765 BLAKE2B 87a3395cf3f802d08197f1ac602c101c048898ad00b0f3e295ba1d6aae8f018de1b13e15ae6d421631d66bae25e4a9eb6bea49505158075a64b5cae1cef0beb1 SHA512 d7611fdbae5456c2e9451386e326646e7b0c4fea7aa1087c2978537f50bddbad75bf3f46d102c7a7f154ec657fc860251ee0823de7af99536445069fe0fbe025
|
||||
MISC metadata.xml 456 BLAKE2B 138cb62d0d857cd17ee09ba0f7f9b862b8d2d82dd00f4ed5e87d3f92658dfd9f18093d1fa02c5001bb75c04956256e3f29cdc02f89af5e59e6055609526a2e8f SHA512 36d31ad02111a7b572dfeec91780cbe92307b6143761c80d679dca92face8d01fa7dca109f51b449ba571d3b97944680edda32dcf4a23ee66d11b2f0e5e32743
|
||||
|
||||
@@ -1,33 +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="PyVLX is a wrapper for the Velux KLF 200 API. PyVLX enables you to run scenes and or open and close velux windows."
|
||||
HOMEPAGE="https://github.com/Julius2342/pyvlx https://pypi.org/project/pyvlx/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND="dev-python/pyyaml[${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
|
||||
}
|
||||
@@ -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=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -23,11 +23,11 @@ RDEPEND="dev-python/pyyaml[${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
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Reference in New Issue
Block a user