dev-python/elmax-api: fix 0.0.2, add 0.0.4
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
35f3f7d5a1
commit
a244217353
@ -1,3 +1,5 @@
|
||||
DIST elmax-api-0.0.2.tar.gz 11638 BLAKE2B fbde4a818599c2f1d6535c356dd3421bcdd09ead54e0d0a12b90a4666ca4fd51ea1dcfc6cfdd35f5f15e7823e86b208b253b12c1df88a80af0bc80f5f983a429 SHA512 4025970d2b95f30bfa583a00ddfbaa4c402db1e82a45407cad7758a4566f36554f099937a9ca98626783a4d66adc11dc1927c1f3c0eeea63f207e1d1033e9040
|
||||
EBUILD elmax-api-0.0.2.ebuild 1075 BLAKE2B c676414c432b160c727ee79c6991cd11680c457bf65d26701afd0b28aefcf8648174855a5d0db4b542754bee28c81886c95d8f8d39236161daaf3bab6a6a2174 SHA512 dfc1be86da8f15ee3ddca03d8231cc7e39c9b157959c328428a968cb953ca39bf7ad236350e38a9d5cc38e014928995987e75932d715614862ac5b15c176eb75
|
||||
DIST elmax_api-0.0.2.tar.gz 11638 BLAKE2B fbde4a818599c2f1d6535c356dd3421bcdd09ead54e0d0a12b90a4666ca4fd51ea1dcfc6cfdd35f5f15e7823e86b208b253b12c1df88a80af0bc80f5f983a429 SHA512 4025970d2b95f30bfa583a00ddfbaa4c402db1e82a45407cad7758a4566f36554f099937a9ca98626783a4d66adc11dc1927c1f3c0eeea63f207e1d1033e9040
|
||||
DIST elmax_api-0.0.4.tar.gz 15871 BLAKE2B 3ceff565d445191bf86b03e1a67b4c603cb7d14b269e76050e73376871cb56d2621d2c958f0ff436af1e2abffc79b0720e6df43808fd52c8fb97a8f3bb75ed57 SHA512 4794ed618612a180032c7bd42838cf7f96687d3636e23f1d879367faf8bd97089f3bc42e3419808b51553a1f9d8bf79e0a7d54cf55dd3f7e7a75bcdc7b06c243
|
||||
EBUILD elmax-api-0.0.2.ebuild 989 BLAKE2B 49846a402e29da07007bdb9ccdc6f2246c1720b92c8528aefddd1b6895843ede4fac119ff0a0abec95d7d66403e957bacc61d745635946bca1e7d040ad4ff9dc SHA512 a86807094197313c5d7b6e899847b435060e6c7e4e108aad7425aa353a4d31e4df2a0cadccfde213a0d90074b145701306b490da2a67b3f15cf18dba2304dcec
|
||||
EBUILD elmax-api-0.0.4.ebuild 989 BLAKE2B 49846a402e29da07007bdb9ccdc6f2246c1720b92c8528aefddd1b6895843ede4fac119ff0a0abec95d7d66403e957bacc61d745635946bca1e7d040ad4ff9dc SHA512 a86807094197313c5d7b6e899847b435060e6c7e4e108aad7425aa353a4d31e4df2a0cadccfde213a0d90074b145701306b490da2a67b3f15cf18dba2304dcec
|
||||
MISC metadata.xml 527 BLAKE2B 8d9e8704401ef1febe5b0e2ced252026672a3705591e93e4afeb493323ae0f7f2b2473f81d3fb9993aee79e7d779593fe3a46b00da73b10fe366d89b4384c4f9 SHA512 09238ac2ed59ef98a20683394bb24c2d348228941c8015836070f929ec137e015e97841d04fc10f12c1a15d268d9a469540944fd6080501525d42bdc17144352
|
||||
|
||||
@ -1,17 +1,14 @@
|
||||
# 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
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Asynchronous API Library to work with Elmax devices"
|
||||
HOMEPAGE="https://github.com/albertogeniola/elmax-api https://pypi.org/project/elmax-api/"
|
||||
MY_PN=${PN/-/_}
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
40
dev-python/elmax-api/elmax-api-0.0.4.ebuild
Normal file
40
dev-python/elmax-api/elmax-api-0.0.4.ebuild
Normal file
@ -0,0 +1,40 @@
|
||||
# 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
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Asynchronous API Library to work with Elmax devices"
|
||||
HOMEPAGE="https://github.com/albertogeniola/elmax-api https://pypi.org/project/elmax-api/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND=">=dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/httpx-0.18.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/yarl-1.6.3[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
# prevent writing a useless file to /usr
|
||||
src_prepare() {
|
||||
sed "s/data_files=\[('.', \['requirements.txt'\])\],/# data_files=\[('.', \['requirements.txt'\])\],/g" -i setup.py || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
Loading…
x
Reference in New Issue
Block a user