dev-python/python-mystrom: add 2.2.0, update SRC_URI

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2023-10-22 09:46:33 +02:00
committed by Andreas Billmeier
parent 4be27dc941
commit 3dc05e085c
3 changed files with 42 additions and 7 deletions

View File

@@ -1,3 +1,5 @@
DIST python-mystrom-1.1.2.tar.gz 12692 BLAKE2B c3cd913dc600d691cf23ef1dc45eeefe7128a95e3559b8c138c2938987e8c173a5f32cd31f6101e81a81b3ff7f111786bb685ec7ded8b58b0d645c504ee39084 SHA512 54efa91fe8a81edde283387576dcb0c4fb8656dad4ef820d4b2371b956f881972dec08ba20efc1b09e8014003bd7d3f9471e5b2fb8092c5857604630131c3aa2
EBUILD python-mystrom-1.1.2.ebuild 786 BLAKE2B 5ba29a9a46821312f18c6edae11a26191ee9ab332080d8af24f88abd0aa97f9441f5e006f603fe11f90467fc54c91e80a41049ba60bf6268b9f3908c523da3ad SHA512 24bc198e2ab91b74072006ad7f74a47ffb49b651f0b1e008fb0194b3ddf3b4c4f4d4c785e2800468b2b4f055e65b0737568236b5d37af8cdba28c5f43b77b02b
DIST python-mystrom-2.2.0.tar.gz 16427 BLAKE2B 8b2237cd9f4a762d61d6a6dc4de71045bc89b259fd5ad9681fd52148e4d55bbadb62732115aebecc22f9841a00662a3ffdafb65d2d927df8a7cc26b84c7cef12 SHA512 ffe3f54b29cbc5c254b3a470e857dc408b514ff466df6228acddc1c455eb0b2a7ee285eb18a65740b8586bccf1109223f89d9b0fffd811ae17df6317ff396f6a
EBUILD python-mystrom-1.1.2.ebuild 751 BLAKE2B 48590085b275ba0767bf2ee05edca9f37f6e8acf7c9d48956d5f0839151ac66a475400581e2408bfad51330123a99b593d00b3d14b34e300692e2dba0e902f03 SHA512 9db4f8e13a6a404c66a5ad74bac59647fa7403d144457b5e5dae8c299ffc9247575e49ba53b3c422dd9e73be7c14dc4f909c2ad29af9ce5b071d12dd1dd46532
EBUILD python-mystrom-2.2.0.ebuild 751 BLAKE2B 48590085b275ba0767bf2ee05edca9f37f6e8acf7c9d48956d5f0839151ac66a475400581e2408bfad51330123a99b593d00b3d14b34e300692e2dba0e902f03 SHA512 9db4f8e13a6a404c66a5ad74bac59647fa7403d144457b5e5dae8c299ffc9247575e49ba53b3c422dd9e73be7c14dc4f909c2ad29af9ce5b071d12dd1dd46532
MISC metadata.xml 553 BLAKE2B c34553458b6af3931a5754fa5d85c730f0ef6cb3e747db016cdd096ae461241ceceed94606fae9faa0b618df5a41c08437ed24ec59c62456701d51f1078d81fd SHA512 c26a47b6f74ccfb41fbfe6b142b1efc566628686db23e8abe230599cd76b1e7b42b55ad39c4f2090211900e2b706a4600dcd1f94a007c39f9a5c4b2dced1e30d

View File

@@ -1,15 +1,15 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="Python API for interacting with myStrom devices"
HOMEPAGE="https://github.com/fabaff/python-mystrom https://pypi.org/project/python-mystrom/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
@@ -23,7 +23,6 @@ RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="Python API for interacting with myStrom devices"
HOMEPAGE="https://github.com/fabaff/python-mystrom https://pypi.org/project/python-mystrom/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest