dev-python/digitalocean: add py3.11, PEP517, drop 1.16

Signed-off-by: Joe Kappus <joe@wt.gd>
This commit is contained in:
Joe Kappus
2023-02-14 04:46:54 -05:00
parent 8a177748dd
commit 912dbb8d4b
4 changed files with 14 additions and 8 deletions

View File

@@ -0,0 +1,27 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Digitalocean API access library"
HOMEPAGE="https://github.com/koalalorenzo/python-digitalocean"
SRC_URI="https://github.com/koalalorenzo/python-${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/python-${P}"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
dev-python/jsonpickle[${PYTHON_USEDEP}]
"
BDEPEND="test? ( dev-python/responses[${PYTHON_USEDEP}] )"
distutils_enable_sphinx docs dev-python/alabaster
distutils_enable_tests pytest