dev-python/dropbox - 12.2.1 (benzene-overlay)

Search

Install

Install this version:

emerge -a =dev-python/dropbox-12.2.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/dropbox-12.2.1

Or alternatively:

emerge --autounmask-write -a =dev-python/dropbox-12.2.1

Package Information

Description:
The Official Dropbox API V2 SDK for Python
Homepage:
https://www.dropbox.com/developers https://github.com/dropbox/dropbox-sdk-python
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
12.2.1 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{{11..15},{13..15}t} )
#PYTHON_COMPAT=( python3_{{11..12},{13..15}{,t}} )

inherit distutils-r1 pypi

DESCRIPTION="The Official Dropbox API V2 SDK for Python"
HOMEPAGE="https://www.dropbox.com/developers https://github.com/dropbox/dropbox-sdk-python"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND=">=dev-python/requests-2.16.2[${PYTHON_USEDEP}]
	>=dev-python/stone-3.5.3[${PYTHON_USEDEP}]
"
BDEPEND=">=dev-python/setuptools-scm-8[${PYTHON_USEDEP}]"

EPYTEST_PLUGINS=( pytest-mock )
distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme

EPYTEST_IGNORE=( test/integration )

python_prepare_all() {
	use test && { sed -i 's/import mock/from unittest import mock/' test/unit/test_dropbox_unit.py || die ; }

	distutils-r1_python_prepare_all
}

Inherited Eclasses

Dependencies

RDEPEND

>=dev-python/requests-2.16.2[]
	>=dev-python/stone-3.5.3[]

BDEPEND

>=dev-python/setuptools-scm-8[]