dev-python/teslajsonpy: update SRC_URI

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2023-11-02 23:24:20 +01:00
committed by Andreas Billmeier
parent 189f7e7c64
commit 3902153930
2 changed files with 11 additions and 8 deletions

View File

@@ -1,3 +1,3 @@
DIST teslajsonpy-0.18.3.tar.gz 33504 BLAKE2B 6e68ca5040e79bf912e879c5c2c6b4ea63d8c2362bee5a728fe175dcac7e7c1ca04c0f07d08c5f0d0e5736a7a2ed7aeed408e8e0dcc8e7f1a8977c29c1ad270c SHA512 93839159c48f0cc9c61d441aeb709f5056af7b96695733fe48cb7fbf0ac43dda5f8ab77f7314f9563467ff12c33c4a1684610eafa11568f1cf4d530a751bee7e
EBUILD teslajsonpy-0.18.3.ebuild 854 BLAKE2B acd045a08aafb994de5b89466d844ba67ff515f3b3719b5ae4096ea5d92f86d480f9448b795cb0ee6e89acc2b23dacf0cd04fa0a88461ceb923d31777a1086eb SHA512 719455a0ac19187a6adad796e006967929fddd97ad17414fb997039d79da7d57344232560b2698250e0a5497cbb52de08383c3fcf1951321883297fb5f483eea
EBUILD teslajsonpy-0.18.3.ebuild 910 BLAKE2B df26f6601077e51b6cd3f8d1556da7b3a3e3dd2c24f03793135f2e900f2d25256b383d7b88b23088b1ddb5f70061c214d852360493ccee3846bddad959ea7bdd SHA512 b563723faa0441ea837dbd0ca9b973966cc707120b443972ee9462cbbe30d593bafa9d361f0bdcaf2e9d249e9b77e30ec70f1d7327e8781c38eaef4843f266f9
MISC metadata.xml 527 BLAKE2B 2f218f94ee01403c3717188873adb60dcdeb4fa8b693015837a0f7bc4ab868d555dc987139a71b739271f2e7977b3e9bee984ee37a642ec21d192dd76782ebd9 SHA512 2d324ad303ffc3bb1cb20651929e92a948474e7167fb6fb3fcc37cf60e34b321fa47790c46f72457982c0f9e43f3b42c12633ffa1cde3d4572377a1db5fa19ab

View File

@@ -1,15 +1,13 @@
# 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=poetry
inherit distutils-r1 pypi
DESCRIPTION="A library to work with Tesla API."
HOMEPAGE="https://github.com/zabuldon/teslajsonpy https://pypi.org/project/teslajsonpy/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
@@ -25,7 +23,6 @@ RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/wrapt[${PYTHON_USEDEP}]
dev-python/httpx[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
@@ -34,4 +31,10 @@ python_test() {
py.test -v -v || die
}
# remove include
src_prepare() {
sed -i -e '/include = \[/,+4d' pyproject.toml || die
distutils-r1_src_prepare
}
distutils_enable_tests pytest