dev-python/dropbox-sdk-python: drop 11.28.0

Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2023-01-29 11:27:23 +02:00
parent c723616234
commit 448e22a3b8
2 changed files with 0 additions and 39 deletions

View File

@@ -1,2 +1 @@
DIST dropbox-sdk-python-11.28.0.gh.tar.gz 1155409 BLAKE2B b4b664b0f3c0ebaef23a4878d5331293f015b23fd8c5ed4f691dd309a98a21b82f67bc4f7cd0eced446d055808d17d6871088b1126499e340f34b15e7d6a013f SHA512 9776a75962d7370ea38b50d05801b662884086ccf865288f00cb0941143f41f8d9ab0947676cd403acdc92cd08fce519bf9f1471da9ccc64f0dd7278487be174
DIST dropbox-sdk-python-11.36.0.gh.tar.gz 1166682 BLAKE2B 46864c7d4143272a81a6e14c7430c153dc93dd0a82d8e78ef8bcf3c1a64919e2cccf725832fb794179f6eef953f172bc1dd579447ee2e8c36a141f9402807b3d SHA512 5dc30fabd0abe52de68d152300a5dbfc9e5fb55ed5799a3ceba5e0782914944d1ed915761f4ca3993913250608e3152234495abefff6f2b548cd11b7f2fe0e23

View File

@@ -1,38 +0,0 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="The offical Dropbox SDK for Python"
HOMEPAGE="https://www.dropbox.com/developers"
SRC_URI="https://github.com/dropbox/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
>=dev-python/requests-2.16.2[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]
>=dev-python/stone-2.0.0[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
python_prepare_all() {
# Don't run tests via setup.py pytest
sed -i -e "/'pytest-runner.*',/d" setup.py || die
# this is wrong
sed -i -e "s/^import mock$/from unittest import mock/" test/unit/test_dropbox_unit.py || die
# disable tests that need SCOPED_USER_DROPBOX_TOKEN
mv test/integration/test_dropbox.py test/integration/_test_dropbox.py || die
sed -i -e "s/\(class\) \(TestClient\)/\\1 _\\2/
s/test_NoRedirect_whole_flow/_&/" test/unit/test_dropbox_unit.py || die
distutils-r1_python_prepare_all
}