openwrt-luci-rpc, unpin requests version
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
* correct velbus RDEPENDs
|
||||
* remove all old dev-python/asyncio RDEPENDs
|
||||
* remove all old dev-python/datetime RDEPENDs
|
||||
* openwrt-luci-rpc, unpin requests version
|
||||
|
||||
2020-08-26
|
||||
* fix https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/18#issuecomment-124
|
||||
|
||||
@@ -7,5 +7,6 @@ EBUILD openwrt-luci-rpc-1.0.5.ebuild 795 BLAKE2B 37d8797bfee5755a655db8267ea1132
|
||||
EBUILD openwrt-luci-rpc-1.1.0.ebuild 795 BLAKE2B 37d8797bfee5755a655db8267ea113296d563937d8953998ae82ba2faf6865da826d32b782fddfeb47638083552e25de12c53afe84e8a2c9091e8f617b1fc1c2 SHA512 c6a370216932d888ffea67132ada29d8704fa29bab18e377421a1f4348e5d0c477469b0d51f647494586a83c3d13c38c0b6ec6fb8e2e274bae1a7233c3668e7e
|
||||
EBUILD openwrt-luci-rpc-1.1.1.ebuild 795 BLAKE2B 37d8797bfee5755a655db8267ea113296d563937d8953998ae82ba2faf6865da826d32b782fddfeb47638083552e25de12c53afe84e8a2c9091e8f617b1fc1c2 SHA512 c6a370216932d888ffea67132ada29d8704fa29bab18e377421a1f4348e5d0c477469b0d51f647494586a83c3d13c38c0b6ec6fb8e2e274bae1a7233c3668e7e
|
||||
EBUILD openwrt-luci-rpc-1.1.2.ebuild 802 BLAKE2B 101d417d9972e54e7d14b3ec9a18e440ccec6ca58658e4b710da6e120c6e90f9f10b0d606b05299f8897e98147a4006ac8a599e4de1bc729b662c34b79cb9836 SHA512 f5c52d677c6a359796b953e06b7812491584d15951a583a086e430df5f89731808c3f47528f246b5e10523d44f753ea7017b53e61345e7752e14d2867ae01889
|
||||
EBUILD openwrt-luci-rpc-1.1.3-r1.ebuild 946 BLAKE2B e5151884ef93f145d7a7994ab60d4699881269b917ea0a70af651102c4fa02604db827244809fcb40d3efdc2592b75d51628d5797505963fa067b9fcb48be630 SHA512 eb9c4359699571c14d620569a11b0ed53a4ebacaf203c987acf4753e96148b8adb650f1836113859803fa32dc711ef1fe7e32e49eb8821212b4fe760ed9d996a
|
||||
EBUILD openwrt-luci-rpc-1.1.3.ebuild 850 BLAKE2B 75b6d42c50ccf6d406e92b434ce7fb74bbe8bca6532bc23fbe4391002554c966bf089c61582189770395607d827b0b99767379764234e3a7796e4e88ae812bc2 SHA512 d8f0649e2c4406bc8a4791b5db290e990e1b2957d7c356aee4ca4843c29d7b7094209229ee4de2946b8f4726d9e401be33c43dc0d30376e917a287d754d1a783
|
||||
MISC metadata.xml 348 BLAKE2B 9857cd4a0be8a1fbf85e65571c978b8663473f57466decf34e7a0ffe3933fd5aaf1be29527dcdc8ac786d1eb46807c18c962ea12de1c303bed2f631658797de6 SHA512 536052bfda5adacfdf85d590c64d0f289e9072ff0099bef64915c90b2f53646465f3c2166c84c1d5a452f1d55abcd0264cb417285ed0fd7c58740d0bc0e8dc4b
|
||||
|
||||
38
dev-python/openwrt-luci-rpc/openwrt-luci-rpc-1.1.3-r1.ebuild
Normal file
38
dev-python/openwrt-luci-rpc/openwrt-luci-rpc-1.1.3-r1.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Module for interacting with OpenWrt Luci RPC interface"
|
||||
HOMEPAGE="https://github.com/fbradyirl/openwrt-luci-rpc https://pypi.org/project/openwrt-luci-rpc/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/requests-2.21.0[${PYTHON_USEDEP}]
|
||||
>dev-python/click-6[${PYTHON_USEDEP}]
|
||||
~dev-python/packaging-19.1[${PYTHON_USEDEP}]"
|
||||
DEPEND="${REDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's;requests==2.21.0;requests>=2.21.0;' \
|
||||
-i setup.py
|
||||
eapply_user
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
Reference in New Issue
Block a user