user adapt the ebuild to use PEP517

use pypi.eclass (I check download with ebuild pyinsteon fetch)
remove redundant and unnecessary dependencies
remove the test because it does not have in pyppi
Requiere voluptuous instead of pyyaml (commit f84674faa3)

Check with pkgcheck 0.10.22

Signed-off-by: INODE64 <ffelix@inode64.com>
This commit is contained in:
INODE64 2023-03-01 13:38:14 +01:00
parent 36f511feee
commit 7d111ef92b
2 changed files with 28 additions and 0 deletions

View File

@ -1,3 +1,5 @@
DIST pyinsteon-1.2.0.tar.gz 163381 BLAKE2B 59c8ee294a8a29d3e163c16da721d9a39839a89420b7993b81327240792e492ad76a6097289683f1fee9890958caf17f42c8227511f69dbb3b2948adf44f1558 SHA512 b3d955e7f3f65bf64da4e6b37426bdcd85cab78119415934e3abf522f0a57df7f6e1608681562eed29748615a38c2c465911f6f7bf17e95100a917c0139719e4
DIST pyinsteon-1.3.3.tar.gz 176705 BLAKE2B 7d603828edb94e646c548a17e8d473a05d8631a8e02dab34fac4a20eec0e6c485288bc044757458f061276a002542dfe44593c03a90dbb8c94d8d4ac4f48f6ff SHA512 e417d6f2328c493c592492b5c9f00b3977f81880061749daffa1611ff7f516fe1d321c48d236d0d1d118cadd6c968c9107dad14b7d8603ec60e34181bf006db2
EBUILD pyinsteon-1.2.0.ebuild 998 BLAKE2B 076fe2ec13ef195152da53d9696a397a54119d9f75b053dea6e1fd0b04ea7206fd65472a65c9a2c398bc86e61245d57495a771edf4cde0e930bf8d6dfc1f22fb SHA512 65db3368a4ee5c7c0f94d46fd2f5015b94050ad618913dc42fc5fb0a5bb213317c7985c8a541db10da76344a5e580c32fa570c96c3f74ab5f02d00cd76d02896
EBUILD pyinsteon-1.3.3.ebuild 745 BLAKE2B 9bc329bdb7c28a8b81999873e40b88758d001c156bca41a8ab6d4b4cfd6b544ba36d218a871f178242409958dcf0c64dc37504db6975540135f0fb4408230909 SHA512 d54f2978012242001176788d00562467a54035159d0d81f75cb43d7930e082ac097beaeb621704a5a00f6898fd969091629913c3fd3d7ae86fa36e66e7d524a8
MISC metadata.xml 535 BLAKE2B 577e044a35d5dc2acaac99a7f212d923f6c8dbcb7acf727b53888135a05cbcf893c2467644693504db36223bdc2d3d923a9cdabb07abae61333a49a84a19cc1c SHA512 5f87891e304869e79cbc9ed99d0730ddfd5a38ee38b517a37cc35fce2fd5627436cf50a6d767485e383a71015524bd456b8406745afc25dc35ddf7cff260f3a8

View File

@ -0,0 +1,26 @@
# 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 pypi
DESCRIPTION="Python API for controlling Insteon devices"
HOMEPAGE="https://github.com/pyinsteon/pyinsteon https://pypi.org/project/pyinsteon/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
DOCS="DESCRIPTION.rst"
RDEPEND="
dev-python/PyPubSub[${PYTHON_USEDEP}]
dev-python/aiofiles[${PYTHON_USEDEP}]
dev-python/aiohttp[${PYTHON_USEDEP}]
>=dev-python/pyserial-asyncio-0.5[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/voluptuous[${PYTHON_USEDEP}]
"