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

@@ -1,2 +1 @@
DIST digitalocean-1.16.0.tar.gz 59077 BLAKE2B b44c045716967a192b4e79d562bd7af8af2ed3a0d6ea54490f2e15195c84476f25a661c80b5f1beda54e724a4177083a5d04682ca96855637cf626cd3397df17 SHA512 110614aeb33e2dab0564b4569058233916626d50da14d42f9702c9275f13442dccb7b77829b2dc8e97e8bbbd53d094116cebe9b3aedad920d2b0c156a5680bf7
DIST digitalocean-1.17.0.gh.tar.gz 60261 BLAKE2B 1a3b8ffe955fdea616420d67e9cd1b07d81d3395d673770333b150a8044f6f93d16ab6ec93d0d5efb7579a2bd7fde57c394bc3fc3e58ad02db230f5bd48006bb SHA512 3b5f5adb5fac9693450954e568433cecb43152d4cb2b5709126dc7c69c6b84f19428dcd3688718588a986d3ea9170a956387f3050cd10a69ba89d5dcdf8e100c

View File

@@ -1,17 +1,16 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_USE_SETUPTOOLS=rdepend
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-digitalocean/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S=${WORKDIR}/python-digitalocean-${PV}
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"
@@ -21,3 +20,8 @@ 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

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Digitalocean API access library"

View File

@@ -5,4 +5,7 @@
<email>egorr.berd@gmail.com</email>
<name>Yahor Berdnikau</name>
</maintainer>
<upstream>
<remote-id type="github">koalalorenzo/python-digitalocean</remote-id>
</upstream>
</pkgmetadata>