dev-python/iotawattpy: remove olds, cleanup, enable pytest
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
DIST iotawattpy-0.0.8.tar.gz 16930 BLAKE2B 6cea7bef1251cf28f521abb10752aee1ce69bf68a9b07821c0855919a0cee323a3947200282c6636364ceee892d63001a4445f793827f12000202c48f1e5da12 SHA512 5bdf090aee63fb2a52347aac1e1b047e9fcab773cf375d9ad5ab0ada3d9862d633a1663d2f2357ac286c6301c869756d4c6c33589b071ea36ba1e24c0155eafe
|
||||
DIST iotawattpy-0.1.0.tar.gz 17845 BLAKE2B 08c221d66a83d3c187524625a625ac3a058c167656b95371d380b9f493eec26f44e0ba122c6b03640e13abcbca772675fc55e978dc8e17f10e2ede1c015bd855 SHA512 c13a7875a77c2aded4a1baa192b03afed55c2608b4c4d24876fbd7733c00333584370eede644d06e65ca6930ca3143617077e5d41b5d25f95918a8cf2fadb06f
|
||||
EBUILD iotawattpy-0.0.8.ebuild 773 BLAKE2B ff16ea59f6c888d7e9b3c44ecfdd7add399ccb6948ffb4732c10de1d1d193858bff39b4820ca1a7342a3fcb721d6076d013e4cef11a4c8d84dfedba0aede7da4 SHA512 cf31672f5d278b5a3050947109b751d887510df6c6b44de6bbf42c5aa8b79e63e806c11404083b585d1ae4538ed70daaafb2ed004c7a859813f42541c9f49438
|
||||
EBUILD iotawattpy-0.1.0.ebuild 773 BLAKE2B ff16ea59f6c888d7e9b3c44ecfdd7add399ccb6948ffb4732c10de1d1d193858bff39b4820ca1a7342a3fcb721d6076d013e4cef11a4c8d84dfedba0aede7da4 SHA512 cf31672f5d278b5a3050947109b751d887510df6c6b44de6bbf42c5aa8b79e63e806c11404083b585d1ae4538ed70daaafb2ed004c7a859813f42541c9f49438
|
||||
EBUILD iotawattpy-0.1.0.ebuild 774 BLAKE2B 1af9f582ae6eaf42937dc3d44cc22577935f94fa24ee2d629bd7edf6554f8485987883b220fd2a49f6f839694724fbc5ed896267bc9e7aa953cbef0550ec68fc SHA512 ffec8e2193531837bc23cab49d7ad4ce90776125b69b82d0970533cd8788ad98095403e5b64f2e601c991ecdcd451fba5a281d7747edfc98e67ef8f0c1c66721
|
||||
MISC metadata.xml 457 BLAKE2B 7cad4f4065f0b57c45f644bd79275ce38f74c95a71f8a40e42ed7a87ca38a399ec33b2e77fefd0de5da02625230e7231270cec83c3b23d77aec5653f51e4ba43 SHA512 a18985c09fbbcec09dc4981e27091a44c5fe098453d3fc1c4cb98e151d6e6a8d0c38d9adbc06b5f20333c976da5e5a08dbf0ec5a7f715f03c381648eadac0543
|
||||
|
||||
@@ -1,33 +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="Python library for the IoTaWatt Energy device"
|
||||
HOMEPAGE="https://github.com/gtdiehl/iotawattpy https://pypi.org/project/iotawattpy/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND=">=dev-python/httpx-0.16.1[${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="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="GPL-3"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user