python-synology-0.8.2-r1, remove urllib3 version limit

This commit is contained in:
Andreas Billmeier 2020-08-30 19:12:06 +02:00 committed by Andreas Billmeier
parent 405c09a001
commit 65ca4a0add
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 45 additions and 0 deletions

View File

@ -62,6 +62,7 @@
-> requirements.txt is not read by setup.py
* unpin click-log from bellows-18.1-r1
* unpin some versions in openwrt-luci-rpc-1.1.3-r2
* python-synology-0.8.2-r1, remove urllib3 version limit
2020-08-26
* fix https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/18#issuecomment-124

View File

@ -13,5 +13,6 @@ EBUILD python-synology-0.7.3.ebuild 1033 BLAKE2B e68195400c7846f9e14c299f2bec39b
EBUILD python-synology-0.7.4.ebuild 1033 BLAKE2B e68195400c7846f9e14c299f2bec39b11d72c14b77202328710df2bd3a4aa41f6a2df5c0aed9ec04b4b77cf4b322900ec13bb5183f843bc4c3c5b9782dc9860f SHA512 e3d262e4c16e1b6199868b084464eb2dff5f3d1fb725d28e299de63fee5cea6f760e2f7af11062231d75b941ebc8026802ded2b75a0a1a9ae127aa14485327fd
EBUILD python-synology-0.8.0.ebuild 1033 BLAKE2B e68195400c7846f9e14c299f2bec39b11d72c14b77202328710df2bd3a4aa41f6a2df5c0aed9ec04b4b77cf4b322900ec13bb5183f843bc4c3c5b9782dc9860f SHA512 e3d262e4c16e1b6199868b084464eb2dff5f3d1fb725d28e299de63fee5cea6f760e2f7af11062231d75b941ebc8026802ded2b75a0a1a9ae127aa14485327fd
EBUILD python-synology-0.8.1.ebuild 1033 BLAKE2B e68195400c7846f9e14c299f2bec39b11d72c14b77202328710df2bd3a4aa41f6a2df5c0aed9ec04b4b77cf4b322900ec13bb5183f843bc4c3c5b9782dc9860f SHA512 e3d262e4c16e1b6199868b084464eb2dff5f3d1fb725d28e299de63fee5cea6f760e2f7af11062231d75b941ebc8026802ded2b75a0a1a9ae127aa14485327fd
EBUILD python-synology-0.8.2-r1.ebuild 1150 BLAKE2B e976ccc5538ba02410f54a5d455b93b3264ce0886aba0a0b0730b5ff1deebe944b0fa63149a8bfbc3c7810da8c0d555cde19f05519f24f73481d9138b0292372 SHA512 1661d58b8ad366834c413cb53dd03742eee08a20a905d14ab704fdad07f53698e2d80837d06cc64fd8f33447b4da884214e6038df48aabd2d8a1c8b2f5f97d37
EBUILD python-synology-0.8.2.ebuild 1033 BLAKE2B e68195400c7846f9e14c299f2bec39b11d72c14b77202328710df2bd3a4aa41f6a2df5c0aed9ec04b4b77cf4b322900ec13bb5183f843bc4c3c5b9782dc9860f SHA512 e3d262e4c16e1b6199868b084464eb2dff5f3d1fb725d28e299de63fee5cea6f760e2f7af11062231d75b941ebc8026802ded2b75a0a1a9ae127aa14485327fd
MISC metadata.xml 475 BLAKE2B 96ad1f68d85d68e523e4e5b0bc9297f4601249d2d16bbb446bd9978b035b46be2542878184e7f83f59096444eca57d8a4aaa81388d7e879e5a359023bd4e0d67 SHA512 305e2f3aefce0a0a7ae541e91b673644758b5b3899b7c6e6be52d29796fc61a4396d770d09aa31cd9d01fa5f8b3438320174bb57add9e4eb195b7696bc2c649a

View File

@ -0,0 +1,43 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6..8} )
inherit distutils-r1
DESCRIPTION="Python API for communication with Synology DSM"
HOMEPAGE="https://github.com/StaticCube/python-synology/ https://pypi.org/project/python-synology/"
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
#Pypi SDIST Source is incomplete
SRC_URI="https://github.com/ProtoThis/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND=">=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24.3[${PYTHON_USEDEP}]
>=dev-python/future-0.18.2[${PYTHON_USEDEP}]
>=dev-python/simplejson-3.16.0"
# <dev-python/urllib3-1.25[${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;urllib3>=1.24.3,<1.25;urllib3>=1.24.3;' \
-i requirements.txt || die
eapply_user
}
python_test() {
nosetests --verbose || die
py.test -v -v || die
}