dev-python/solaredge-local: remove olds, cleanup, enable pytest
This commit is contained in:
parent
94dd06c873
commit
b8af35ef71
@ -1,3 +1,3 @@
|
||||
DIST solaredge-local-0.2.0.tar.gz 21602 BLAKE2B b52cb4772035ab4a45dff3259af1fd2625203030e024a098c8e037cdece8a525b2aa621054682860bc0e52d871bc1b3e1e457f6beec420cdf42b36578677eb8d SHA512 85bd5bcf439d9a8f84ec75b0ee33d32cb8915d3248d59c0a3b48200f6711c3d1a7759f0fa844aff4d873b9e34f3400ba619671890c769bb58a9d75c7b18b125e
|
||||
EBUILD solaredge-local-0.2.0.ebuild 881 BLAKE2B ed1f9886d4dcd78ea934d80f7ca0a52b5cf2c53696626ba005d46bcaeb61bfcba432b863b40644500566773fa44e797870ce644e5d2cc7150243b608ea7fe89b SHA512 abaa4a4c9389741ce44bbab81065aa20fd38a66c9ae1476cb81901d73c8e7dcfc7c1fe36f34ae0fa9374c576fb55494e3fc97912370b9e1375db9ea36e2c2317
|
||||
EBUILD solaredge-local-0.2.0.ebuild 817 BLAKE2B efa8481001059e99dd7bb909ca31c8cb85235f2814f89036d36d3131ecd7cfb41fb7aeeebfd24585286e96889934eb645015240ca4414840b3759b297db773cb SHA512 b5e3c5c77228d9b351d522e9b2175eae89c15f8a1d11d79a9f7a3004ce6e7a346c42c3713147bdb0567ff635de9822bd1946b004ee520990ffc2d390be961bbd
|
||||
MISC metadata.xml 334 BLAKE2B 4d9f5d8e812a634c5dbf4497763b415a98672acf03ed238b2cb280a7fd356af3aa26ba59935823317c728489d0dbe57bd34df6c78172a0bdea7b0d517d73578d SHA512 49566b4e311b01872bd885064f80564fe8fe3686be2e1887a5076c9765842925c22871eadea873f91e371d493fa843a04c77a5439ba949e93d5492ac207fbd5a
|
||||
|
||||
@ -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..9} )
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@ -14,23 +14,22 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${MY_P}.tar.gz -> ${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 )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
RDEPEND=""
|
||||
RDEPEND="dev-python/uplink[${PYTHON_USEDEP}]
|
||||
dev-python/uplink-protobuf[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/uplink[${PYTHON_USEDEP}]
|
||||
dev-python/uplink-protobuf[${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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user