public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joe Kappus" <joe@wt.gd>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/digitalocean/
Date: Tue, 14 Feb 2023 09:48:45 +0000 (UTC)	[thread overview]
Message-ID: <1676368113.912dbb8d4bf5cd924cae89c88c7c48aa5f8cc635.joe@gentoo> (raw)

commit:     912dbb8d4bf5cd924cae89c88c7c48aa5f8cc635
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Tue Feb 14 09:46:54 2023 +0000
Commit:     Joe Kappus <joe <AT> wt <DOT> gd>
CommitDate: Tue Feb 14 09:48:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=912dbb8d

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

Signed-off-by: Joe Kappus <joe <AT> wt.gd>

 dev-python/digitalocean/Manifest                         |  1 -
 ...ocean-1.16.0.ebuild => digitalocean-1.17.0-r1.ebuild} | 16 ++++++++++------
 dev-python/digitalocean/digitalocean-1.17.0.ebuild       |  2 +-
 dev-python/digitalocean/metadata.xml                     |  3 +++
 4 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/dev-python/digitalocean/Manifest b/dev-python/digitalocean/Manifest
index 717b20791..a3069385e 100644
--- a/dev-python/digitalocean/Manifest
+++ b/dev-python/digitalocean/Manifest
@@ -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

diff --git a/dev-python/digitalocean/digitalocean-1.16.0.ebuild b/dev-python/digitalocean/digitalocean-1.17.0-r1.ebuild
similarity index 52%
rename from dev-python/digitalocean/digitalocean-1.16.0.ebuild
rename to dev-python/digitalocean/digitalocean-1.17.0-r1.ebuild
index 813a208c7..ac7a7f6ad 100644
--- a/dev-python/digitalocean/digitalocean-1.16.0.ebuild
+++ b/dev-python/digitalocean/digitalocean-1.17.0-r1.ebuild
@@ -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

diff --git a/dev-python/digitalocean/digitalocean-1.17.0.ebuild b/dev-python/digitalocean/digitalocean-1.17.0.ebuild
index 79cdca88b..69b793aca 100644
--- a/dev-python/digitalocean/digitalocean-1.17.0.ebuild
+++ b/dev-python/digitalocean/digitalocean-1.17.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit distutils-r1
 
 DESCRIPTION="Digitalocean API access library"

diff --git a/dev-python/digitalocean/metadata.xml b/dev-python/digitalocean/metadata.xml
index f1206d1af..b6df9d379 100644
--- a/dev-python/digitalocean/metadata.xml
+++ b/dev-python/digitalocean/metadata.xml
@@ -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>


             reply	other threads:[~2023-02-14  9:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-14  9:48 Joe Kappus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-13 21:31 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/digitalocean/ Julien Roy
2024-04-08 22:49 Kyle Elbert
2022-06-02  4:55 Anna Vyalkova
2021-12-20  8:59 Anna Vyalkova
2021-12-15 10:57 Andrew Ammerlaan
2021-11-06 20:42 Yahor Berdnikau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1676368113.912dbb8d4bf5cd924cae89c88c7c48aa5f8cc635.joe@gentoo \
    --to=joe@wt.gd \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox