dev-python/pykoplenti: new package, add 1.0.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-02-05 10:28:32 +01:00 committed by Andreas Billmeier
parent 8b6cf06249
commit d13e4538f4
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST pykoplenti-1.0.0.tar.gz 17724 BLAKE2B 516cc243725d284cb8a32f67e94d8303938066ed875dac94027b6b088a937acf1be81d57e1bcf2effec88b03be2579d50da29f0107d60451de247595843b3dfc SHA512 62c41951a34404f0f9e1a8f22372e4921f6b4493d73a064088dadc8eddc525ab96583b1262265e2721ba7a440d5d989840af9334edb94dc2be63d48561eb8780
EBUILD pykoplenti-1.0.0.ebuild 810 BLAKE2B 01d15215c2ea73bb507ee78e793cd5923c8488fffed33acc583474204a7f6a178466f6f5a8c71fd96838bfbf3675b4d30fed5671dd4ebe698700b86c00f1496a SHA512 24b07d996b4cc6e4608c914dcefc239f480d5a0847666b00c216207b169f2d92b584b655b062f7f46d6de1d15080b84156db1404c2121555a0357ac85e987e2d
MISC metadata.xml 394 BLAKE2B 46f0721b26b52b0358cc44de1ec81eefc846afe4f491e1d19cefa23f38f8f25570daaf57515eb179a64a4678bbd811ee7c3f392ee5d573aaf6ab3afc076535fb SHA512 0b272ce33bc9f58506f13086a34b1126d7bb45c397d13c254f1fc13f4c7ae31081e6822c41483546d6e222eea732d913e48e01939092474e69d40618be81257f

View File

@ -0,0 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">pykoplenti</remote-id>
<remote-id type="github">stegm/pyclient_koplenti</remote-id>
</upstream>
</pkgmetadata>

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_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Python REST-Client for Kostal Plenticore Solar Inverters"
HOMEPAGE="https://github.com/stegm/pyclient_koplenti https://pypi.org/project/pykoplenti/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/aiohttp-3.6[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.9[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest