dev-python/dropbox-sdk-python: add new v11.25.0

dependency of net-misc/maestral

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
This commit is contained in:
Viorel Munteanu
2021-12-24 19:54:41 +02:00
parent cfc12348b7
commit c311fbf582
3 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST dropbox-sdk-python-11.25.0.tar.gz 1152439 BLAKE2B 71c0cff71c388681d7bd039a55a0f5e099af487b35d1c73abd560a6b5d3ad40438e66882f527bb90e48c1345564f5c1662c11a652ef82c96a53c4131c31adfc0 SHA512 4a418c3e70aba56c8a648bb60f9866594aadaf5b4630a1f96d86df3308c86db0d5058b5672a017a3d51cebbd316398b79a01187392ed7eb3fd55ecbdc4a86eb9

View File

@@ -0,0 +1,38 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
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}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
>=dev-python/requests-2.16.2[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]
>=dev-python/stone-2.0.0[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"
BDEPEND="
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
"
distutils_enable_tests pytest
# does not find module mock
RESTRICT="test"
python_prepare_all() {
# Don't run tests via setup.py pytest
sed -i "s/'pytest-runner == 5.2.0',//" setup.py || die
distutils-r1_python_prepare_all
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ceamac.paragon@gmail.com</email>
<description>Primary maintainer</description>
</maintainer>
<upstream>
<remote-id type="github">dropbox/dropbox-sdk-python</remote-id>
<remote-id type="pypi">dropbox</remote-id>
</upstream>
</pkgmetadata>