dev-python/python-digitalocean - 1.13.2 (ha-bleeding-edge)

Search

Package Information

Description:
digitalocean.com API to manage Droplets and Images
Homepage:
https://github.com/koalalorenzo/python-digitalocean https://pypi.org/project/python-digitalocean/
License:
LGPL-3

Ebuild Details

Version EAPI Keywords Slot
1.13.2 8 amd64 arm arm64 x86 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi

DESCRIPTION="digitalocean.com API to manage Droplets and Images"
HOMEPAGE="https://github.com/koalalorenzo/python-digitalocean https://pypi.org/project/python-digitalocean/"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"

#DOCS="DESCRIPTION.rst"

RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
	dev-python/jsonpickle[${PYTHON_USEDEP}]"
BDEPEND="
	test? (
		dev-python/pytest[${PYTHON_USEDEP}]
	)"

python_test() {
	py.test -v -v || die
}

distutils_enable_tests pytest

USE Flags

Dependencies

RDEPEND

dev-python/requests[${PYTHON_USEDEP}]
	dev-python/jsonpickle[${PYTHON_USEDEP}]

BDEPEND

	test? (
		dev-python/pytest[${PYTHON_USEDEP}]
	)